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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1bc
mov eax, dword [0x4ba700]
xor eax, esp
mov dword [esp + 0x1b8], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x40], eax
xor esi, esi
lea eax, [ebx + ecx]
cmp ebx, eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x58], eax
jge 0x431e18
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x1c]
add eax, edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x34], ecx
jmp 0x431ad3
mov edx, dword [ebp + 0x14]
cmp edx, dword [esp + 0x48]
mov dword [esp + 0x20], edx
jge 0x431dde
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x3c], eax
jmp 0x431af8
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
mov dword [esp + 0x28], 0x10
mov dword [esp + 0x2c], 0x10
jge 0x431b11
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
cmp eax, 0x10
jge 0x431b1e
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x2c]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x28]
add ecx, ebx
mov dword [esp + 0x68], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x7c], ecx
lea eax, [esp + 0x70]
push eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x74], edx
mov edx, dword [edi]
mov edx, dword [edx + 0x14]
lea ecx, [esp + 0xa4]
push ecx
push eax
mov ecx, edi
mov dword [esp + 0x80], ebx
call edx
mov eax, dword [esp + 0x10]
add eax, esi
mov dword [esp + 0x18], eax
mov byte [eax], 0
mov eax, dword [esp + 0x28]
imul eax, dword [esp + 0x2c]
lea ecx, [esp + 0x15]
push ecx
lea edx, [esp + 0x1b]
push edx
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x58]
lea ebx, [esi + 1]
mov dword [esp + 0x44], esi
push edx
lea ecx, [esp + 0xb0]
mov esi, ebx
mov dword [esp + 0x54], eax
call fcn.00432020
mov al, byte [esp + 0x27]
add esp, 0x10
cmp dword [esp + 0x30], 0
je 0x431bb8
cmp al, byte [esp + 0x50]
je 0x431bd5
mov ecx, dword [esp + 0x18]
or byte [ecx], 2
mov edx, dword [esp + 0x10]
mov byte [edx + esi], al
mov dword [esp + 0x30], 1
mov byte [esp + 0x50], al
inc esi
jmp 0x431bd9
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x5c], 0
jne 0x431dc0
or byte [ecx], 8
cmp dword [esp + 0x4c], 0
mov al, byte [ecx]
je 0x431c1b
cmp dword [esp + 0x24], 0
mov dl, byte [esp + 0x15]
je 0x431c01
cmp dl, byte [esp + 0x16]
je 0x431c27
or al, 4
mov byte [ecx], al
mov eax, dword [esp + 0x10]
mov byte [eax + esi], dl
mov dword [esp + 0x24], 1
mov byte [esp + 0x16], dl
inc esi
jmp 0x431c27
or al, 0x10
mov dword [esp + 0x24], 0
mov byte [ecx], al
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
add edx, esi
push edx
lea ecx, [esp + 0xb4]
call fcn.00431e40
xor ecx, ecx
add esp, 0x14
cmp eax, ecx
jne 0x431d4b
mov esi, dword [esp + 0x44]
cmp esi, 0x40
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x20]
jle 0x431cff
mov byte [eax], 0x20
mov eax, dword [esp + 0x68]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
lea eax, [esp + 0x90]
push eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x98], edx
mov edx, dword [edi]
mov edx, dword [edx + 0x14]
lea ecx, [esp + 0xa4]
push ecx
push eax
mov ecx, edi
call edx
mov eax, dword [edi]
lea ecx, [edi + 0x78]
push ecx
push esi
mov esi, dword [esp + 0x18]
lea edx, [esi + ebx + 2]
push edx
mov edx, dword [eax + 0x38]
lea ecx, [esp + 0xac]
push ecx
mov ecx, edi
call edx
mov ecx, eax
sar ecx, 8
mov edx, eax
and ecx, 0xff
shl edx, 8
or ecx, edx
mov word [esi + ebx], cx
lea esi, [ebx + eax + 2]
jmp 0x431dc0
mov byte [eax], 1
mov eax, dword [esp + 0x68]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x80]
push eax
mov eax, dword [esp + 0x44]
mov esi, ebx
add ecx, esi
mov dword [esp + 0x88], edx
mov edx, dword [edi]
mov edx, dword [edx + 0x14]
push ecx
push eax
mov ecx, edi
call edx
add esi, dword [esp + 0x44]
jmp 0x431dc0
cmp eax, 0x80
jle 0x431dbe
sub eax, dword [esp + 0x38]
lea ecx, [esp + 0xa0]
lea esi, [eax + esi - 1]
mov eax, dword [esp + 0x10]
add eax, ebx
push esi
push eax
push ecx
mov dword [esp + 0x44], eax
call fcn.00485490
mov eax, dword [esp + 0x24]
or byte [eax], 0x40
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi]
mov edx, dword [edx + 0x38]
add esp, 0xc
lea eax, [edi + 0xb0]
push eax
lea eax, [ecx + ebx + 2]
push esi
push eax
lea ecx, [esp + 0xac]
push ecx
mov ecx, edi
call edx
mov ecx, eax
sar ecx, 8
mov edx, eax
shl edx, 8
and ecx, 0xff
or ecx, edx
mov edx, dword [esp + 0x38]
mov word [edx], cx
lea esi, [ebx + eax + 2]
jmp 0x431dc0
add esi, eax
mov eax, dword [esp + 0x20]
sub dword [esp + 0x3c], 0x10
mov ebx, dword [esp + 0x1c]
add eax, 0x10
cmp eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
jl 0x431af0
cmp esi, 0x578
jle 0x431e02
mov ecx, dword [esp + 0x54]
mov eax, dword [edi]
mov edx, dword [esp + 0x10]
mov eax, dword [eax + 0x30]
push ecx
push esi
push edx
mov ecx, edi
call eax
add dword [edi + 0x58], esi
add dword [edi + 0x54], esi
xor esi, esi
sub dword [esp + 0x34], 0x10
add ebx, 0x10
cmp ebx, dword [esp + 0x58]
mov dword [esp + 0x1c], ebx
jl 0x431ad0
add dword [edi + 0x58], esi
add dword [edi + 0x54], esi
mov ecx, dword [esp + 0x1c4]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0047c3ff
mov esp, ebp
pop ebp
ret 0x1c