Function at 0x433db0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x22c
push ebp
push esi
push edi
xor edi, edi
push 0x8001
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x473c88
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, eax
cmp ebp, edi
mov dword [esp + 0x2c], ebp
jne 0x433e1b
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
lea eax, [esp + 0x34]
push 0x476614
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
call esi
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.00446e00
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x22c
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
push 0x4765c4
push ebp
call esi
mov ebx, eax
cmp ebx, edi
jne 0x433e65
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
lea edx, [esp + 0x38]
push 0x4766f0
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
call esi
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00446e00
add esp, 8
mov dword [esp + 0x1c], edi
jmp 0x4340cc
push 0x4766d4
push ebp
call esi
cmp eax, edi
mov dword [esp + 0x2c], eax
jne 0x433eaa
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
lea ecx, [esp + 0x38]
push 0x4766ac
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
call esi
lea edx, [esp + 0x34]
push eax
push edx
call fcn.00446e00
add esp, 8
mov dword [esp + 0x1c], edi
jmp 0x4340cc
push 0x4765b4
push ebp
call esi
mov esi, eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
push 1
push edi
push edi
mov dword [esp + 0x3c], esi
call ebx
test eax, eax
jne 0x433f0a
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x6a6
je 0x433f01
call esi
push eax
lea edx, [esp + 0x38]
push 0x476cd4
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
call esi
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00446e00
add esp, 8
mov dword [esp + 0x1c], edi
jmp 0x4340cc
mov eax, dword [esp + 0x14]
cmp eax, 0x14
jbe 0x433f4f
push 0x14
push eax
lea ecx, [esp + 0x3c]
push 0x476ca0
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esp + 0x34]
push eax
push edx
call fcn.00446e00
mov eax, dword [esp + 0x1c]
add esp, 8
cmp eax, 0x14
jbe 0x433f4f
mov eax, 0x14
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x240]
mov edx, dword [esp + 0x10]
cmp edx, edi
mov dword [esp + 0x1c], 1
mov dword [ebx + 8], eax
je 0x4340c1
cmp eax, edi
je 0x4340c1
mov dword [esp + 0x20], edi
jbe 0x4340c1
xor esi, esi
lea ebp, [ebx + 0x5c]
add ebx, 0x131c
jmp 0x433f92
mov edx, dword [esp + 0x10]
xor edi, edi
mov al, byte [0x481910]
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edi
mov byte [esp + 0x138], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x139]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea ecx, [esp + 0x24]
lea eax, [esp + 0x18]
push ecx
mov ecx, dword [esi + edx]
push eax
push 5
push ecx
push 0
call dword [esp + 0x40]
test eax, eax
je 0x434010
mov eax, dword [esp + 0x24]
test eax, eax
jbe 0x433ff5
mov edx, dword [esp + 0x18]
push 0x104
lea eax, [esp + 0x13c]
push edx
push eax
call fcn.0042f1a0
add esp, 0xc
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x434010
mov eax, dword [esp + 0x18]
test eax, eax
je 0x434010
push eax
call ecx
mov dword [esp + 0x18], 0
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x138]
push ecx
call edi
test eax, eax
jle 0x434037
lea edx, [esp + 0x138]
push 0x78
push edx
push ebp
call fcn.0042f1a0
add esp, 0xc
mov eax, dword [esp + 0x10]
push 0x78
mov ecx, dword [esi + eax]
mov dword [ebx - 0x1310], ecx
mov edx, dword [esi + eax + 8]
mov dword [ebx], edx
mov eax, dword [esi + eax + 4]
lea ecx, [ebp + 0x960]
push eax
push ecx
call fcn.0042f1a0
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [esi + edx + 8]
test eax, eax
je 0x434071
cmp eax, 1
jne 0x434095
push ebp
call edi
test eax, eax
jle 0x434095
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + eax]
push ecx
call fcn.00430b10
mov edx, dword [esp + 0x244]
add esp, 4
mov dword [edx + 0x136c], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
inc eax
add ebx, 4
add ebp, 0x78
add esi, 0xc
cmp eax, ecx
mov dword [esp + 0x20], eax
jb 0x433f8c
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
xor edi, edi
cmp esi, edi
je 0x4340cc
cmp edx, edi
je 0x4340cc
push edx
call esi
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x1c]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x22c
ret