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

Disassembly:
sub esp, 0x700
mov eax, dword [0x302fd3d4]
xor eax, esp
mov dword [esp + 0x6fc], eax
mov eax, dword [esp + 0x704]
push ebx
push ebp
push esi
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x71c]
xor esi, esi
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
cmp eax, esi
jne 0x432084
or eax, 0xffffffff
jmp 0x432524
mov edx, dword [esp + 0x718]
mov ebp, dword [eax + edx*4]
cmp ebp, esi
je 0x43207c
mov ecx, dword [ebp + 0xbc]
mov eax, dword [ebp + 0xc0]
lea edx, [ecx - 1]
mov dword [esp + 0x20], esi
mov dword [ebp + 0xb8], esi
mov ebx, 1
cmp eax, edx
jne 0x4320b8
mov dword [esp + 0x20], ebx
cmp eax, esi
jne 0x4320c2
mov dword [ebp + 0xb8], ebx
cmp ecx, esi
jne 0x4320ce
mov dword [ebp + 0xc0], ebx
jmp 0x4320dc
cmp eax, esi
jl 0x4320dc
inc eax
cdq
idiv ecx
mov dword [ebp + 0xc0], edx
cmp dword [ebp + 0x12c], esi
je 0x4321d0
mov eax, dword [ebp + 0x144]
mov ecx, dword [ebp + 0x140]
mov edx, dword [ebp + 0x13c]
mov dword [ebp + 0x148], eax
mov eax, dword [ebp + 0x138]
mov dword [ebp + 0x144], ecx
mov dword [ebp + 0x140], edx
mov dword [ebp + 0x13c], eax
mov eax, dword [ebp + 0x140]
mov edi, dword [ebp + 0x13c]
cmp edi, eax
mov ecx, dword [ebp + 0x134]
mov dword [ebp + 0x138], ecx
jle 0x432136
mov edi, eax
cmp dword [ebp + 0x30], edi
je 0x4321d0
mov esi, dword [ebp + 0x34]
mov eax, esi
imul eax, edi
add eax, eax
add eax, eax
cdq
idiv dword [ebp + 0x24]
xor ecx, ecx
add eax, ebx
sar eax, 1
cmp dword [ebp + 0x20], ecx
jle 0x432172
lea ebx, [ebx]
mov edx, dword [ebp + 0x44]
movzx edx, byte [edx + ecx]
cmp eax, edx
je 0x432172
add ecx, ebx
cmp ecx, dword [ebp + 0x20]
jl 0x432160
mov dword [ebp + 0x30], edi
lea edi, [ebp + 0x10]
push esi
lea eax, [ebp + 0x64]
push edi
mov dword [ebp + 0x70], ecx
mov dword [ebp + 0xb8], ebx
mov dword [esp + 0x28], ebx
call fcn.00431e80
add esp, 8
test eax, eax
je 0x43219d
mov eax, ebx
jmp 0x432524
mov eax, dword [ebp + 0x14]
xor ebx, ebx
mov dword [esp + 0x1c], eax
test eax, eax
jle 0x4321cb
lea ebx, [ebx]
mov esi, dword [ebp + ebx*4]
lea eax, [ebp + 0x64]
call fcn.00431f40
test eax, eax
jne 0x4323a2
inc ebx
cmp ebx, dword [esp + 0x1c]
jl 0x4321b0
mov ebx, 1
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [edx + 0x240]
shl ecx, 8
lea edx, [ecx + ebp + 0x15c]
lea eax, [ebp + 0xc4]
push edx
lea edi, [esp + 0x80]
call fcn.00436220
xor esi, esi
push 0x224
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x2cc]
push esi
push eax
mov dword [esp + 0x30], esi
call 0x4799ec
push 0x224
lea ecx, [esp + 0x4fc]
push esi
push ecx
call 0x4799ec
push 0x2c
lea edx, [esp + 0x60]
push esi
push edx
call 0x4799ec
add esp, 0x2c
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
cmp dword [esp + 0x724], esi
jne 0x43238d
cmp dword [ebp + 0x14], esi
jle 0x43238d
lea eax, [esp + 0x2c0]
mov dword [esp + 0x24], eax
cmp byte [ebp + 0x158], 0
mov ebx, dword [ebp + esi*4]
lea edi, [ebx + 0x2f8]
jne 0x4322e6
mov edx, dword [esp + 0x71c]
movzx eax, byte [esi + ebp + 0x15a]
lea ecx, [esp + 0xc0]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
lea eax, [ecx + eax*2]
mov ecx, dword [ebp + esi*4 + 8]
lea edx, [edi + 0x80]
push edx
push ecx
lea edx, [esp + 0x78]
mov ecx, edi
call fcn.00446e30
mov edx, dword [esp + 0x78]
add edx, 7
add esp, 0x10
mov dword [ebx + 0x18c8], edx
cmp byte [ebp + 0x158], 0
je 0x432364
cmp dword [esp + 0x1c], 0
jne 0x432364
movzx ecx, byte [ebp + 0x15a]
mov eax, dword [esp + 0x18]
lea edx, [eax + ecx*2]
movzx ecx, byte [ebp + 0x15b]
mov dword [esp + 0x34], edx
lea edx, [eax + ecx*2]
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x17]
push edx
lea edx, [ecx + 0x258]
mov ecx, dword [ecx + 0x254]
push edx
movzx edx, byte [esi + ebp + 0x15a]
lea eax, [eax + edx*2]
push eax
lea edx, [edi + 0x80]
push edx
mov edx, dword [esp + 0x730]
push edi
push edx
lea edx, [esp + 0x50]
push edx
lea eax, [ebp + 8]
push ecx
call fcn.0043cf30
movsx edx, byte [esp + 0x37]
add esp, 0x24
mov dword [esp + 0x1c], eax
mov dword [ebx + 0x18c8], edx
mov eax, dword [esp + 0x24]
push eax
mov eax, ebx
lea ecx, [ebp + 0x10]
call fcn.00437e10
add dword [esp + 0x28], 0x224
inc esi
add esp, 4
cmp esi, dword [ebp + 0x14]
jl 0x432284
mov ebx, 1
cmp byte [ebp + 0x158], 0
je 0x4323ac
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x254]
jmp 0x4323ae
mov eax, 1
jmp 0x432524
xor edx, edx
mov eax, dword [esp + 0x724]
push eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x2c8]
push eax
mov eax, dword [ebp]
lea edi, [ebp + 0xc4]
push edi
push ecx
push eax
lea eax, [ebp + 0xac]
push eax
lea esi, [ebp + 0x10]
lea ecx, [ebp + 0x64]
push esi
call fcn.00437f10
mov ecx, dword [esi]
mov edx, dword [esp + 0x50]
push ecx
push edx
push edi
lea eax, [esp + 0xa4]
call fcn.00436320
mov eax, dword [ebp + 0xd4]
xor edi, edi
add esp, 0x2c
lea esi, [ebp + 0xd8]
cmp dword [ebp + 0xf8], edi
jne 0x432437
mov cl, byte [ebp + 0xf8]
sub dword [esi + 0xc], eax
test cl, cl
mov ecx, eax
je 0x432424
neg ecx
add dword [esi], ecx
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x1c]
sub ecx, eax
sub edx, ebx
and ecx, edx
mov dword [esi + 0x10], ecx
jmp 0x432449
mov ecx, dword [ebp + 0xd0]
push eax
push ecx
mov eax, esi
call fcn.00444700
add esp, 8
mov ebx, dword [esp + 0x14]
mov eax, dword [esi]
mov dword [ebp + 0xd4], edi
mov dword [ebp + 0xd0], edi
mov edx, dword [ebx + 0x240]
mov dword [ebp + edx*4 + 0x45c], eax
mov ecx, dword [ebx + 0x240]
cmp dword [ebp + ecx*4 + 0x45c], 0x800
jbe 0x432484
mov edx, ecx
mov dword [ebp + edx*4 + 0x45c], edi
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x4324b5
mov ecx, dword [ebp + 0x45c]
mov edx, dword [esp + 0x28]
mov dword [edx], ecx
mov ecx, dword [ebp + 0x45c]
add ecx, 7
shr ecx, 3
push ecx
lea edx, [ebp + 0x15c]
push edx
push eax
call 0x4799fe
add esp, 0xc
cmp dword [ebx + 0x23c], edi
je 0x432522
mov ebx, dword [ebp + 0x14]
cmp ebx, edi
jle 0x432522
lea esi, [ebp + 0x15a]
mov edi, ebp
lea esp, [esp]
movzx ecx, byte [esi]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
lea eax, [edx + ecx*2]
mov edx, dword [esp + 0x720]
push edx
mov edx, dword [ebp + 0x28]
push edx
mov edx, dword [esp + 0x20]
mov edx, dword [edx + 0x230]
add edx, ecx
mov ecx, dword [esp + 0x24]
lea edx, [ecx + edx*2]
mov ecx, dword [edi]
push edx
mov edx, dword [esp + 0x24]
mov edx, dword [edx + 0x228]
add ecx, 0x18d0
call fcn.00436720
add esp, 0x10
inc esi
add edi, 4
sub ebx, 1
jne 0x4324d0
xor eax, eax
mov ecx, dword [esp + 0x70c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call 0x479a10
add esp, 0x700
ret