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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xbc]
cmp eax, dword [ecx + 8]
jbe 0x43fbbc
sub esp, 0x13c
mov ecx, dword [esp + 0x140]
mov ebx, dword [ecx]
cmp ebx, 1
je 0x43fba5
cmp ebx, 2
je 0x43f554
mov dword [ecx], 1
xor eax, eax
jmp 0x43f577
add esp, 0x13c
ret
mov dword [esp + 0x44], eax
mov edx, dword [ecx + eax*4 + 0xc]
mov dword [esp], edx
call fcn.0043f510
mov eax, dword [esp + 0x44]
inc eax
mov ecx, dword [esp + 0x140]
cmp dword [ecx + 4], eax
ja 0x43f55b
mov ebx, dword [ecx + 8]
test ebx, ebx
je 0x43f5ec
lea edi, [esp + 0x78]
xor eax, eax
call fcn.00456f09
movzx ecx, byte [0x57eb20]
test cl, cl
jne 0x43f59f
xor ecx, ecx
xor edx, edx
jmp 0x43f5c7
nop
call fcn.00457bb0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x34], ecx
lea edi, [esp + 0x78]
lea esi, [0x57eb20]
call fcn.004573da
mov ecx, dword [esp + 0x34]
mov edx, eax
xor eax, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x140]
mov ebp, dword [ebx + 4]
mov dword [esp + 0x5c], ebp
lea esi, [ebx + ebp*4 + 0xc]
mov dword [esp + 0x130], esi
xor edi, edi
jmp 0x43f629
mov dword [ecx], 2
add esp, 0x13c
ret
mov dword [esp + 0x40], edi
nop
mov eax, dword [esi + edi*4]
lea edx, [esi + edi*4]
call eax
mov eax, dword [esp + 0x40]
lea edi, [eax + 1]
xor eax, eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x140]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x130]
cmp dword [ebx + 8], edi
ja 0x43f5f9
movzx edi, byte [0x57eb20]
xchg edi, eax
test al, al
xchg edi, eax
je 0x43f884
nop
call fcn.00457bb0
mov eax, dword [esp]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x94]
lea esi, [0x57eb20]
call fcn.004573da
mov ecx, dword [esp + 0x130]
test byte [ecx], al
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x140]
mov ecx, dword [edx + ecx*4 + 0xc]
mov dword [esp], ecx
call fcn.00447130
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004477d0
mov eax, dword [esp + 8]
mov dword [esp + 0x134], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
lea edi, [esp + 0x60]
xor eax, eax
call fcn.00456f0a
call fcn.004323b0
lea eax, [0x4a02f7]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00432c90
mov eax, dword [esp + 0x134]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call fcn.00432c90
lea eax, [0x49ff42]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00432c90
call fcn.00432420
mov eax, dword [0x57ea38]
mov ecx, dword [esp + 0x30]
mov edx, ecx
sub ecx, eax
mov ebx, dword [esp + 0x20]
sub ebx, edx
mov dword [esp + 0x58], ebx
mov esi, dword [0x57ea3c]
lea edi, [esp + 0x60]
mov dword [esp], edi
mov dword [esp + 4], 0x18
mov dword [esp + 8], 0x18
sub edx, eax
mov eax, dword [esp + 0x34]
sbb eax, esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
call fcn.00416750
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x110]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00445eb0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x138], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x54], ecx
call fcn.004323b0
mov eax, dword [esp + 0x138]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
call fcn.00432c90
lea eax, [0x4a0211]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00432c90
call fcn.00432420
lea eax, [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], 0x18
mov dword [esp + 8], 0x18
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
sub eax, ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
sbb eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], eax
call fcn.00416750
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0xf0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00445eb0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x138], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x54], ecx
call fcn.004323b0
mov eax, dword [esp + 0x138]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
call fcn.00432c90
lea eax, [0x4a0e34]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00432c90
call fcn.00432420
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x8c]
sub eax, ecx
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x90]
sbb ecx, edx
mov edx, 0x17
jmp 0x43f89a
mov dword [ebx], 2
add esp, 0x13c
ret
mov byte [esp + ebx + 0x60], dl
lea edx, [ebx - 1]
mov ecx, ebp
test ecx, ecx
sete bl
xchg ebp, ebx
seta bl
xchg ebp, ebx
cmp eax, 0xa
xchg esi, ebx
setae bl
xchg esi, ebx
and esi, ebx
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
je 0x43f961
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], edx
mov ebx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 3
lea esi, [edx + edx*4]
shl esi, 1
sub ecx, esi
mov eax, 0x19999999
mov esi, edx
mul ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x50], eax
mov edi, eax
mov eax, 0xcccccccd
mul ebx
shr edx, 3
mov eax, edx
add edx, 0
add edi, edx
lea ebp, [eax + eax*4]
shl ebp, 1
sub ebx, ebp
lea ebp, [ecx + ecx*2]
lea ebx, [ebx + ebp*2]
mov ecx, eax
mov eax, 0xcccccccd
mov ebp, edx
mul ebx
shr edx, 3
mov dword [esp + 0x4c], edx
mov ebx, edi
add edi, edx
mov eax, edi
mov edx, 0xa
mul edx
mov edx, dword [esp + 0x2c]
sub edx, eax
add edx, 0x30
add ecx, 0
adc esi, 0
mov eax, edi
mov edi, dword [esp + 0x50]
add edi, ebp
mov ebp, dword [esp + 0x58]
adc ebp, esi
mov esi, dword [esp + 0x4c]
add ebx, esi
adc ebp, 0
mov ebx, dword [esp + 0x48]
cmp ebx, 0x18
jb 0x43f891
jmp 0x43fb99
add eax, 0x30
cmp edx, 0x18
jae 0x43fb8d
mov byte [esp + edx + 0x60], al
lea eax, [esp + 0xd0]
mov dword [esp], eax
lea eax, [edx - 0x18]
neg eax
mov ecx, eax
neg eax
sar eax, 0x1f
and edx, eax
lea eax, [esp + edx + 0x60]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00445eb0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x138], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x54], ecx
call fcn.004323b0
mov eax, dword [esp + 0x138]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
call fcn.00432c90
lea eax, [0x4a06b3]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00432c90
call fcn.00432420
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x84]
sub eax, ecx
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x88]
sbb ecx, edx
mov edx, 0x17
jmp 0x43fa14
mov byte [esp + edx + 0x60], al
dec edx
mov eax, ecx
mov ecx, ebp
cmp eax, 0xa
setae bl
test ecx, ecx
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg esi, ebx
seta bl
xchg esi, ebx
and ebp, ebx
or ebp, esi
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x43fad7
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], edx
mov ebx, eax
mov eax, 0xcccccccd
mul ebx
shr edx, 3
mov esi, edx
add edx, 0
mov eax, 0xcccccccd
mov edi, edx
mul ecx
shr edx, 3
mov dword [esp + 0x58], edx
lea ebp, [edx + edx*4]
shl ebp, 1
sub ecx, ebp
mov eax, 0x19999999
mul ecx
mov dword [esp + 0x50], eax
add eax, edi
lea ebp, [esi + esi*4]
shl ebp, 1
sub ebx, ebp
lea ebp, [ecx + ecx*2]
lea ebx, [ebx + ebp*2]
mov ecx, eax
mov eax, 0xcccccccd
mov ebp, edx
mul ebx
shr edx, 3
mov dword [esp + 0x4c], edx
mov ebx, ecx
add ecx, edx
mov eax, 0xa
mul ecx
mov edx, dword [esp + 0x28]
sub edx, eax
add edx, 0x30
add esi, 0
mov esi, dword [esp + 0x58]
adc esi, 0
mov eax, edx
mov edx, dword [esp + 0x50]
add edx, edi
adc ebp, esi
mov edx, dword [esp + 0x4c]
add ebx, edx
adc ebp, 0
mov edx, dword [esp + 0x3c]
cmp edx, 0x18
jb 0x43fa0b
jmp 0x43fb81
add eax, 0x30
cmp edx, 0x18
jae 0x43fb75
mov byte [esp + edx + 0x60], al
lea eax, [esp + 0xb0]
mov dword [esp], eax
lea eax, [edx - 0x18]
neg eax
mov ecx, eax
neg eax
sar eax, 0x1f
and edx, eax
lea eax, [esp + edx + 0x60]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00445eb0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x138], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x54], ecx
call fcn.004323b0
mov eax, dword [esp + 0x138]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
call fcn.00432c90
lea eax, [0x4a0516]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.00432c90
call fcn.00432420
call fcn.004323b0
call fcn.004325d0
call fcn.00432420
mov ebx, dword [esp + 0x140]
jmp 0x43f884
mov eax, edx
mov ecx, 0x18
call fcn.00456d90
mov eax, edx
mov ecx, 0x18
call fcn.00456d90
mov eax, edx
mov ecx, 0x18
call fcn.00456d90
mov eax, ebx
mov ecx, 0x18
call fcn.00456d90
lea eax, [0x4a8092]
mov dword [esp], eax
mov dword [esp + 4], 0x32
call fcn.00430cf0
nop
call fcn.004558c0
jmp fcn.0043f510