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

Disassembly:
sub esp, 0x108
mov eax, dword [0x4a1824]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push ebp
mov ebp, dword [0x4811c4]
push esi
push edi
mov edi, dword [esp + 0x11c]
push 0
push 0x8000080
push 3
push 0
push 1
push 0x80000000
push edi
mov esi, ecx
mov dword [esp + 0x30], edi
call ebp
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x10], ebx
jne 0x434faf
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push edi
call ebp
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x10], eax
je 0x4351b8
mov eax, dword [esp + 0x120]
push 0
push 0
push eax
push ebx
call dword [0x4811a8]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 8
lea edx, [esp + 0x60]
push edx
push ebx
call dword [0x4811c8]
test eax, eax
je 0x4351b1
mov eax, 4
mov ecx, str.fPX
lea edx, [esp + 0x54]
lea ecx, [ecx]
mov ebp, dword [edx]
cmp ebp, dword [ecx]
jne 0x435008
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x434ff0
test eax, eax
je 0x43506f
movzx edi, byte [edx]
movzx ebp, byte [ecx]
sub edi, ebp
jne 0x435057
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x43506b
movzx edi, byte [edx]
movzx ebp, byte [ecx]
sub edi, ebp
jne 0x435057
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x43506b
movzx edi, byte [edx]
movzx ebp, byte [ecx]
sub edi, ebp
jne 0x435057
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x43506b
movzx edi, byte [edx]
movzx eax, byte [ecx]
sub edi, eax
je 0x43506b
xor ebp, ebp
cmp edi, ebp
mov edi, dword [esp + 0x14]
mov eax, 1
jg 0x435073
or eax, 0xffffffff
jmp 0x435073
mov edi, dword [esp + 0x14]
xor eax, eax
xor ebp, ebp
cmp eax, ebp
jne 0x4351b1
mov eax, dword [esp + 0x58]
add eax, 0xfffffff8
cmp eax, ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x30], ebp
jle 0x43530a
push 0
lea ecx, [esp + 0x1c]
push ecx
push 8
lea edx, [esp + 0x58]
push edx
push ebx
call dword [0x4811c8]
test eax, eax
je 0x4351b1
mov eax, dword [esp + 0x50]
sub dword [esp + 0x1c], eax
push 1
push 0
push 0
push ebx
call dword [0x4811a8]
mov ebp, dword [esp + 0x50]
lea ecx, [eax + ebp - 8]
mov dword [esp + 0x20], ecx
mov eax, 4
mov ecx, 0x4861d0
lea edx, [esp + 0x4c]
mov edi, dword [edx]
cmp edi, dword [ecx]
jne 0x43510a
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x4350f2
test eax, eax
je 0x43516f
movzx edi, byte [edx]
movzx ebx, byte [ecx]
sub edi, ebx
jne 0x435159
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x43516b
movzx edi, byte [edx]
movzx ebx, byte [ecx]
sub edi, ebx
jne 0x435159
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x43516b
movzx edi, byte [edx]
movzx ebx, byte [ecx]
sub edi, ebx
jne 0x435159
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x43516b
movzx edi, byte [edx]
movzx edx, byte [ecx]
sub edi, edx
je 0x43516b
test edi, edi
mov ebx, dword [esp + 0x10]
mov eax, 1
jg 0x435171
or eax, 0xffffffff
jmp 0x435171
mov ebx, dword [esp + 0x10]
xor eax, eax
test eax, eax
jne 0x43522d
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0x1c
lea edx, [esp + 0x70]
mov dword [esi + 0x6c], eax
mov eax, dword [esp + 0x58]
push edx
push ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ebp
call dword [0x4811c8]
test eax, eax
je 0x4351b1
mov al, byte [esp + 0x7a]
test al, al
jne 0x4351d5
cmp word [esp + 0x78], 0x10
je 0x4351f5
push ebx
call dword [0x4811cc]
xor al, al
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00452be3
add esp, 0x108
ret 0x20
cmp al, 2
jne 0x4351ea
cmp byte [esp + 0x7b], 0
jne 0x4351b1
mov dword [esp + 0x38], 1
jmp 0x4351f5
cmp al, 3
jne 0x4351b1
mov dword [esi + 0x6c], 1
movzx eax, word [esp + 0x76]
cmp eax, dword [esi + 0x40]
jne 0x4351b1
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x60]
push 1
sub ecx, eax
push 0
add eax, 0xffffffdc
push eax
push ebx
mov dword [esp + 0x40], ecx
call dword [0x4811a8]
mov dword [esp + 0x40], eax
jmp 0x4352e7
mov eax, 4
mov ecx, 0x4861e8
lea edx, [esp + 0x4c]
jmp 0x435240
mov edi, dword [edx]
cmp edi, dword [ecx]
jne 0x435258
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x435240
test eax, eax
je 0x4352b5
movzx edi, byte [edx]
movzx ebp, byte [ecx]
sub edi, ebp
jne 0x4352a7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4352b5
movzx edi, byte [edx]
movzx ebp, byte [ecx]
sub edi, ebp
jne 0x4352a7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4352b5
movzx edi, byte [edx]
movzx ebp, byte [ecx]
sub edi, ebp
jne 0x4352a7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4352b5
movzx edi, byte [edx]
movzx edx, byte [ecx]
sub edi, edx
je 0x4352b5
test edi, edi
mov eax, 1
jg 0x4352b7
or eax, 0xffffffff
jmp 0x4352b7
xor eax, eax
test eax, eax
jne 0x4352e7
push eax
lea eax, [esp + 0x1c]
push eax
push 0x10
lea ecx, [esp + 0x70]
push ecx
push ebx
call dword [0x4811c8]
test eax, eax
je 0x4351b1
mov edx, dword [esp + 0x68]
mov dword [esp + 0x34], edx
mov dword [esp + 0x2c], 1
mov eax, dword [esp + 0x20]
push 0
push 0
push eax
push ebx
call dword [0x4811a8]
cmp dword [esp + 0x1c], 0
jg 0x4350a6
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x14]
push ebx
call dword [0x4811cc]
test ebp, ebp
je 0x4351b8
mov ecx, esi
call fcn.00433d40
mov ecx, dword [esi + 0xb0]
push ecx
call fcn.00452d18
mov eax, edi
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x435334
sub eax, edx
add eax, 1
push eax
call fcn.00452d7b
add esp, 4
mov dword [esi + 0xb0], eax
mov ecx, edi
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x435355
cmp byte [esi + 0xc0], al
fld dword [esp + 0x124]
mov edx, dword [esp + 0x120]
fstp dword [esi + 0xb8]
fld dword [esp + 0x128]
mov dword [esi + 0xb4], edx
fstp dword [esi + 0xbc]
jne 0x4351b8
xor ebx, ebx
cmp dword [esi + 0x6c], ebx
mov dword [esp + 0x80], 0x94
jne 0x4353d2
cmp byte [esp + 0x138], bl
jne 0x4353d2
lea eax, [esp + 0x80]
push eax
call dword [0x4810a8]
test eax, eax
je 0x4353d2
cmp dword [esp + 0x90], 2
jne 0x4353d2
lea ecx, [ebx + 1]
jmp 0x4353d4
xor ecx, ecx
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov dword [esi + 0x68], eax
mov eax, dword [esp + 0x12c]
cmp eax, 0xfffffffe
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], edx
mov dword [esi + 0x70], ebp
jne 0x4353fc
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
jmp 0x435402
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0x130]
cmp eax, 0xfffffffe
jne 0x435412
mov eax, dword [esp + 0x44]
mov dword [esi + 0x80], eax
mov eax, dword [esp + 0x134]
cmp eax, 0xfffffffe
jne 0x435428
mov eax, dword [esp + 0x34]
cmp edx, ebx
mov dword [esi + 0x7c], eax
je 0x435444
mov edx, dword [esi + 0x50]
shr edx, 4
lea eax, [edx*8]
sub eax, edx
add eax, eax
add eax, eax
jmp 0x435449
mov eax, dword [esi + 0x50]
shr eax, 1
xor edx, edx
div dword [esi + 0x40]
neg ecx
push ebx
sbb ecx, ecx
and ecx, 0x40000000
or ecx, 0x80
push ecx
push 3
push ebx
push 1
push 0x80000000
push edi
mov dword [esi + 0x84], eax
call dword [0x4811c4]
fld dword [esp + 0x128]
sub esp, 8
fstp dword [esp + 4]
mov ecx, esi
fld dword [esp + 0x12c]
mov dword [esi + 0x5c], eax
fstp dword [esp]
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
call fcn.004341f0
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x28]
push edx
mov edx, dword [esi + 0x44]
imul edx, dword [esi + 0x48]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esi + 0x20]
push edx
push ebx
call fcn.00436400
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x4354eb
mov ecx, dword [esp + 0x48]
cmp ecx, ebx
jbe 0x4354eb
push ecx
push ebx
push eax
call fcn.00453e90
add esp, 0xc
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x43550a
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
jbe 0x43550a
push ecx
push ebx
push eax
call fcn.00453e90
mov eax, dword [esp + 0x30]
add esp, 0xc
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x48]
push ecx
mov ecx, dword [esi + 0x20]
push eax
mov eax, dword [esp + 0x30]
push edx
push eax
call fcn.00436450
xor eax, eax
cmp dword [esi + 0x48], ebx
jle 0x435543
lea esp, [esp]
mov ecx, dword [esi + 0x4c]
lea ecx, [ecx + eax*2]
call fcn.004336a0
add eax, 1
cmp eax, dword [esi + 0x48]
jl 0x435530
xor edx, edx
cmp dword [esi + 0x54], ebx
jle 0x435565
xor edi, edi
lea esp, [esp]
mov ecx, dword [esi + 0x58]
add ecx, edi
call fcn.00433700
add edx, 1
add edi, 0x30
cmp edx, dword [esi + 0x54]
jl 0x435550
xor eax, eax
cmp dword [esi + 0x40], ebx
jle 0x43558a
lea esp, [esp]
mov edx, dword [esi + 0x90]
mov dword [edx + eax*4], ebx
mov ecx, dword [esi + 0x94]
mov dword [ecx + eax*4], ebx
add eax, 1
cmp eax, dword [esi + 0x40]
jl 0x435570
cmp dword [esi + 0xe4], ebx
mov dword [esi + 0xdc], ebx
je 0x4355b9
lea edx, [esi + 0xf0]
push edx
call fcn.004451a0
mov eax, dword [esi + 0xe4]
push eax
call fcn.00452d18
add esp, 8
mov dword [esi + 0xe4], ebx
cmp dword [esi + 0x6c], ebx
je 0x435654
mov edi, dword [esp + 0x30]
push edi
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], edi
call fcn.00452d7b
mov ecx, dword [esi + 0x70]
mov edx, dword [esi + 0x5c]
add esp, 4
push ebx
push ebx
push ecx
push edx
mov dword [esi + 0xe4], eax
mov dword [esp + 0x30], ebx
call dword [0x4811a8]
mov ecx, dword [esi + 0xe4]
mov edx, dword [esi + 0x5c]
push ebx
lea eax, [esp + 0x24]
push eax
push edi
push ecx
push edx
call dword [0x4811c8]
mov eax, dword [esi + 0x5c]
push eax
call dword [0x4811cc]
mov ecx, dword [0x4a170c]
mov edx, dword [0x4a1710]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x4a1714]
mov dword [eax + 4], edx
mov edx, dword [0x4a1718]
mov dword [eax + 8], ecx
push ebx
mov dword [eax + 0xc], edx
push ebx
lea eax, [esi + 0xf0]
push eax
push esi
mov dword [esi + 0x5c], ebx
call fcn.00446680
add esp, 0x20
push 1
mov ecx, esi
call fcn.00434790
mov al, 1
jmp 0x4351ba