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

Disassembly:
sub esp, 0x5c
mov eax, dword [esp + 0x68]
xor edx, edx
cmp ax, dx
mov dword [esp + 4], edx
mov dword [esp + 8], edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], edx
jge 0x432f2c
neg eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x60]
push ebx
push ebp
push esi
cmp eax, edx
push edi
je 0x432f55
mov ecx, dword [eax]
mov ebp, dword [eax + 0x14]
movsx esi, word [eax + 0x1c]
mov dword [esp + 0x50], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x54], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x74], ebp
jmp 0x432f9c
mov eax, dword [esp + 0x74]
movsx ecx, word [eax + 0x12]
lea esi, [ecx*8]
sub esi, ecx
movsx ecx, word [esi*4 + 0x533290]
mov esi, dword [0x533950]
mov ecx, dword [esi + ecx*4]
movsx esi, word [eax + 0xc]
mov dword [esp + 0x74], ecx
mov ecx, dword [eax]
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x50], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x54], ecx
mov ecx, dword [eax + 8]
mov ax, word [eax + 0xe]
mov word [esp + 0x30], ax
mov dword [0x808e64], ebp
mov eax, dword [ebp + 0x1e]
push edx
lea edx, [esp + 0x38]
mov dword [esp + 0x5c], ecx
mov ecx, dword [eax]
push edx
push 0x10
push eax
call dword [ecx + 0xc]
movsx ebx, word [ebp + 0xa]
movsx eax, word [ebp + 0x14]
movsx ecx, word [ebp + 0xe]
cmp ebx, 0x100
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
mov edi, 0x804e60
jle 0x432fe8
mov dword [esp + 0x10], pe_nt_image_headers32
mov ebx, dword [esp + 0x10]
call fcn.0048df90
push esi
call fcn.0048e130
add esp, 4
xor esi, esi
test ebx, ebx
jle 0x4330f2
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
mov esi, dword [0x7e70c8]
mov dword [esp + 0x10], eax
lea ebx, [edx + 8]
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], ebx
fld dword [ebx - 8]
call fcn.0049da5c
fld dword [ebx - 4]
mov bp, ax
call fcn.0049da5c
fld dword [ebx]
mov word [esp + 0x46], ax
call fcn.0049da5c
movsx ebx, word [esp + 0x46]
movsx ecx, bp
movsx edx, ax
mov eax, dword [esi]
mov dword [esp + 0x38], ecx
imul eax, ecx
mov ecx, dword [esi + 4]
mov ebp, dword [esi + 0x18]
imul ecx, ebx
imul ebp, edx
add eax, ecx
mov ecx, dword [esi + 8]
imul ecx, edx
add eax, ecx
mov ecx, dword [esi + 0x14]
imul ecx, ebx
mov dword [esp + 0x3c], edx
mov edx, dword [esi + 0x10]
add ecx, ebp
mov ebp, dword [esp + 0x38]
imul edx, ebp
add ecx, edx
mov edx, dword [esi + 0x20]
imul edx, ebp
mov ebp, dword [esi + 0x24]
add edi, 2
imul ebp, ebx
mov ebx, dword [esi + 0x28]
add edx, ebp
imul ebx, dword [esp + 0x3c]
add edx, ebx
mov ebx, dword [esp + 0x14]
sar eax, 0xe
add ebx, eax
mov ebp, dword [esp + 0x18]
mov word [edi - 2], ax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x1c]
sar ecx, 0xe
sar edx, 0xe
mov word [edi], cx
add ebx, edx
add edi, 2
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x2c]
add ebp, ecx
mov word [edi], dx
add edi, 2
add ebx, 0x20
dec eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x10], eax
jne 0x43301d
mov esi, dword [esp + 0x40]
mov ebp, dword [esp + 0x74]
mov eax, dword [ebp + 0x1e]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [0x7e70c8]
cdq
idiv esi
sub ecx, 0x30
mov dword [0x7e70c8], ecx
mov ecx, dword [0x533934]
mov ebx, dword [ebp + 0x16]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x18]
cdq
idiv esi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x1c]
cdq
idiv esi
mov dword [esp + 0x4c], eax
mov ax, word [esp + 0x7c]
mov word [esp + 0x68], ax
movsx eax, ax
lea edx, [eax + eax*8]
lea eax, [eax + edx*4]
mov edx, dword [ecx + eax*4 + 0x2c]
mov eax, dword [esp + 0x20]
test eax, eax
mov dword [0x808e60], edx
je 0x43345d
cmp word [esp + 0x78], 0
je 0x43345d
mov bp, word [ebx]
mov ax, word [ebx + 2]
add ebx, 2
mov edx, ebp
add ebx, 2
and edx, 0xffff
lea esi, [eax + eax*2]
lea ebp, [ebp + ebp*2]
mov cx, word [ebx]
mov dword [0x80d684], edx
mov edx, eax
add ebx, 2
and edx, 0xffff
xor eax, eax
mov dword [0x80d680], edx
mov edx, ecx
and edx, 0xffff
add ebx, 2
mov dword [0x80d688], edx
mov ax, word [ebx - 2]
mov dword [esp + 0x7c], eax
xor eax, eax
mov ax, word [ebx]
add ebx, 2
cmp bp, 0x300
lea edi, [ecx + ecx*2]
mov dword [0x808e68], eax
jae 0x433442
cmp si, 0x300
jae 0x433442
cmp di, 0x300
jae 0x433442
mov eax, dword [esp + 0x24]
test ax, ax
je 0x43320b
cmp ax, 1
jne 0x433442
call fcn.0048eb50
test al, 1
je 0x433442
mov ecx, ebp
and esi, 0xffff
and ecx, 0xffff
and edi, 0xffff
mov bp, word [ecx*2 + 0x804e60]
mov word [0x80546c], bp
mov dx, word [ecx*2 + 0x804e62]
mov word [0x80546e], dx
mov ax, word [ecx*2 + 0x804e64]
mov word [0x805470], ax
mov dx, word [esi*2 + 0x804e60]
mov word [0x805472], dx
mov ax, word [esi*2 + 0x804e62]
mov word [0x805474], ax
mov dx, word [esi*2 + 0x804e64]
mov word [0x805476], dx
mov ax, word [edi*2 + 0x804e60]
mov word [0x805478], ax
mov dx, word [edi*2 + 0x804e62]
mov word [0x80547a], dx
mov ax, word [edi*2 + 0x804e64]
mov word [0x80547c], ax
movsx edx, word [ecx*2 + 0x804e60]
movsx eax, word [edi*2 + 0x804e60]
add edx, eax
movsx eax, word [esi*2 + 0x804e60]
add edx, eax
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, word [ecx*2 + 0x804e62]
mov dword [esp + 0x5c], edx
movsx edx, word [esi*2 + 0x804e62]
add edx, eax
movsx eax, word [edi*2 + 0x804e62]
add edx, eax
mov eax, 0x55555556
imul edx
mov eax, edx
movsx ecx, word [ecx*2 + 0x804e64]
shr eax, 0x1f
add edx, eax
movsx eax, word [esi*2 + 0x804e64]
mov dword [esp + 0x60], edx
xor esi, esi
movsx edx, word [edi*2 + 0x804e64]
add edx, eax
mov eax, 0x55555556
add edx, ecx
imul edx
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ax, word [esp + 0x5c]
sub word [0x805472], ax
sub word [0x805478], ax
sub bp, ax
mov ax, word [esp + 0x60]
sub word [0x80546e], ax
sub word [0x805474], ax
sub word [0x80547a], ax
mov ax, dx
sub word [0x805470], ax
sub word [0x805476], ax
sub word [0x80547c], ax
mov eax, dword [esp + 0x80]
cmp eax, esi
mov dword [esp + 0x64], edx
mov word [0x80546c], bp
jle 0x43339c
mov dword [0x805460], esi
mov dword [0x805464], esi
mov dword [0x805468], esi
jmp 0x4333ca
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
sub ecx, edi
mov edi, dword [esp + 0x4c]
mov dword [0x805460], ecx
mov ecx, dword [esp + 0x60]
sub ecx, ebp
mov dword [0x805464], ecx
mov ecx, edx
sub ecx, edi
mov dword [0x805468], ecx
cmp eax, esi
jge 0x4333d3
mov dword [0x805464], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x58]
add ecx, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x54]
add ebp, ecx
mov ecx, dword [esp + 0x70]
add edx, edi
cmp ecx, esi
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], edx
je 0x433416
mov dx, word [ecx + 0x1e]
and edx, 0x400
test dx, dx
je 0x433416
neg eax
push eax
mov eax, dword [esp + 0x80]
push 0x805460
push 0x80546c
lea ecx, [esp + 0x68]
push eax
push ecx
call fcn.00432bb0
mov eax, dword [esp + 0x8c]
add esp, 0x14
dec eax
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x74]
dec eax
mov dword [esp + 0x20], eax
je 0x43345d
cmp word [esp + 0x78], 0
jne 0x433169
mov eax, dword [esp + 0x28]
mov ebx, dword [ebp + 0x10]
test eax, eax
je 0x433768
cmp word [esp + 0x78], 0
je 0x433768
mov ax, word [ebx]
mov cx, word [ebx + 2]
add ebx, 2
mov esi, eax
add ebx, 4
and esi, 0xffff
lea ebp, [eax + eax*2]
xor eax, eax
mov dx, word [ebx]
mov dword [0x80d684], esi
mov esi, ecx
add ebx, 2
and esi, 0xffff
lea edi, [edx + edx*2]
mov dword [0x80d680], esi
mov esi, edx
and esi, 0xffff
add ebx, 2
mov dword [0x80d688], esi
mov ax, word [ebx - 2]
xor edx, edx
lea esi, [ecx + ecx*2]
mov dx, word [ebx]
add ebx, 2
cmp bp, 0x300
mov dword [esp + 0x7c], eax
mov dword [0x808e68], edx
jae 0x433751
cmp si, 0x300
jae 0x433751
cmp di, 0x300
jae 0x433751
mov eax, dword [esp + 0x24]
test ax, ax
je 0x43351a
cmp ax, 1
jne 0x433751
call fcn.0048eb50
test al, 1
je 0x433751
mov ecx, ebp
and esi, 0xffff
and ecx, 0xffff
and edi, 0xffff
mov bp, word [ecx*2 + 0x804e60]
mov word [0x80546c], bp
mov ax, word [ecx*2 + 0x804e62]
mov word [0x80546e], ax
mov dx, word [ecx*2 + 0x804e64]
mov word [0x805470], dx
mov ax, word [esi*2 + 0x804e60]
mov word [0x805472], ax
mov dx, word [esi*2 + 0x804e62]
mov word [0x805474], dx
mov ax, word [esi*2 + 0x804e64]
mov word [0x805476], ax
mov dx, word [edi*2 + 0x804e60]
mov word [0x805478], dx
mov ax, word [edi*2 + 0x804e62]
mov word [0x80547a], ax
mov dx, word [edi*2 + 0x804e64]
mov word [0x80547c], dx
movsx edx, word [edi*2 + 0x804e60]
movsx eax, word [ecx*2 + 0x804e60]
add edx, eax
movsx eax, word [esi*2 + 0x804e60]
add edx, eax
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, word [edi*2 + 0x804e62]
mov dword [esp + 0x5c], edx
movsx edx, word [esi*2 + 0x804e62]
add edx, eax
movsx eax, word [ecx*2 + 0x804e62]
add edx, eax
mov eax, 0x55555556
imul edx
movsx ecx, word [ecx*2 + 0x804e64]
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, word [esi*2 + 0x804e64]
mov dword [esp + 0x60], edx
xor esi, esi
movsx edx, word [edi*2 + 0x804e64]
add edx, ecx
add edx, eax
mov eax, 0x55555556
imul edx
mov ax, word [esp + 0x5c]
mov ecx, edx
sub word [0x805472], ax
sub word [0x805478], ax
shr ecx, 0x1f
sub bp, ax
mov ax, word [esp + 0x60]
sub word [0x80546e], ax
sub word [0x805474], ax
sub word [0x80547a], ax
add edx, ecx
mov ax, dx
mov dword [esp + 0x64], edx
sub word [0x805470], ax
sub word [0x805476], ax
sub word [0x80547c], ax
mov eax, dword [esp + 0x80]
cmp eax, esi
mov word [0x80546c], bp
jle 0x4336ab
mov dword [0x805460], esi
mov dword [0x805464], esi
mov dword [0x805468], esi
jmp 0x4336d9
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
sub ecx, edi
mov edi, dword [esp + 0x4c]
mov dword [0x805460], ecx
mov ecx, dword [esp + 0x60]
sub ecx, ebp
mov dword [0x805464], ecx
mov ecx, edx
sub ecx, edi
mov dword [0x805468], ecx
cmp eax, esi
jge 0x4336e2
mov dword [0x805464], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x58]
add ecx, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x54]
add ebp, ecx
mov ecx, dword [esp + 0x70]
add edx, edi
cmp ecx, esi
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], edx
je 0x433725
mov dx, word [ecx + 0x1e]
and edx, 0x400
test dx, dx
je 0x433725
neg eax
push eax
mov eax, dword [esp + 0x80]
push 0x805460
push 0x80546c
lea ecx, [esp + 0x68]
push eax
push ecx
call fcn.00432bb0
mov eax, dword [esp + 0x8c]
add esp, 0x14
dec eax
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x28]
dec eax
mov dword [esp + 0x28], eax
je 0x433768
cmp word [esp + 0x78], 0
jne 0x433478
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret