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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1ec
push ebx
push esi
push edi
lea eax, [esp + 0x98]
xor ebx, ebx
mov edi, 0xfffffff6
or esi, 0xffffffff
push eax
mov dword [esp + 0x38], 6
mov dword [esp + 0x60], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 0x3ff00000
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 0x40040000
mov dword [esp + 0x34], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x64], 1
mov dword [esp + 0x70], esi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], 3
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], 0x3ff00000
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
call fcn.00476eb0
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x9c
call fcn.0040c0d0
lea edx, [esp + 0xa4]
push edx
push ebx
push 0x9d
call fcn.0040c0d0
lea eax, [esp + 0x7c]
push eax
push ebx
push 0xa4
call fcn.0040c0d0
lea ecx, [esp + 0x84]
push ecx
push ebx
push 0xca
call fcn.0040c0d0
lea edx, [esp + 0xa4]
push edx
push ebx
push 0xa9
call fcn.0040c0d0
add esp, 0x40
lea eax, [esp + 0x88]
push eax
push ebx
push 0x16
call fcn.0040c0d0
lea ecx, [esp + 0x60]
push ecx
push ebx
push 0xa8
call fcn.0040c0d0
lea edx, [esp + 0x190]
mov byte [esp + 0x190], bl
push edx
push 0x80
push 0xc6
mov byte [esp + 0xdc], bl
call fcn.0040c0d0
add esp, 0x24
test eax, eax
je 0x43f34c
lea eax, [esp + 0x178]
push eax
push 0x80
push 0x7a
call fcn.0040c0d0
add esp, 0xc
lea ecx, [esp + 0x6c]
push ebx
lea edx, [esp + 0x17c]
push ecx
push edx
lea eax, [esp + 0x30]
push ebx
push eax
mov dword [esp + 0x38], 0x3c
call fcn.00430de0
lea ecx, [esp + 0x80]
push ebx
lea edx, [esp + 0x3c]
push ecx
push edx
call fcn.00431b10
lea eax, [esp + 0x58]
push eax
push ebx
push 0x42
call fcn.0043ebc0
fld qword [0x5d5448]
fcomp qword [esp + 0x64]
add esp, 0x2c
fnstsw ax
test ah, 0x40
je 0x43f3b1
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0x3ff00000
lea ecx, [esp + 0x28]
push ecx
push ebx
push 0x43
call fcn.0043ebc0
fld qword [0x5d5448]
fcomp qword [esp + 0x34]
add esp, 0xc
fnstsw ax
test ah, 0x40
je 0x43f3e2
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0x3ff00000
lea edx, [esp + 0x48]
push edx
push ebx
push 0x46
call fcn.0043ebc0
lea eax, [esp + 0x64]
push eax
push ebx
push 0x59
call fcn.0043ebc0
lea ecx, [esp + 0xd0]
push ecx
push 0x80
push 0xc8
call fcn.0043ebc0
lea edx, [esp + 0x88]
push edx
push ebx
push 0x61
call fcn.0043ebc0
mov eax, dword [esp + 0x94]
add esp, 0x30
cmp eax, esi
jne 0x43f473
mov eax, dword [esp + 0x5c]
cmp eax, edi
je 0x43f473
push eax
lea eax, [esp + 0xa8]
push 0x5e78f0
push eax
mov dword [esp + 0x30], 2
call fcn.005bfd29
lea ecx, [esp + 0xa8]
push ebx
lea edx, [esp + 0xb4]
push ecx
push edx
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.004314f0
add esp, 0x20
fld qword [esp + 0x28]
fmul qword [esp + 0x38]
lea ecx, [esp + 0x30]
push ebx
push ecx
fstp qword [esp + 0x30]
fld qword [esp + 0x50]
fmul qword [esp + 0x40]
fadd qword [esp + 0x90]
fstp qword [esp + 0x50]
call fcn.00475390
mov eax, dword [esp + 0x38]
add esp, 8
cmp eax, ebx
je 0x43f8ca
lea edx, [eax + eax*2]
shl edx, 3
push edx
call fcn.005c0433
mov edi, eax
add esp, 4
cmp edi, ebx
mov dword [esp + 0x10], edi
jne 0x43f4cf
mov ebx, 0xc
jmp 0x43f892
lea eax, [edi + 0x10]
lea esi, [edi + 8]
push 0
push eax
push esi
lea eax, [esp + 0x40]
push edi
push eax
call fcn.00475190
add esp, 0x14
test eax, eax
jne 0x43f512
add esi, 0x18
push 0
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 7
lea ecx, [esi + 8]
lea edx, [esi - 8]
push ecx
push esi
push edx
push eax
call fcn.00475190
add esp, 0x14
test eax, eax
je 0x43f4eb
mov ecx, dword [ebp + 8]
push 0
add ecx, 4
push ecx
call fcn.00415300
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x43f892
mov al, byte [esp + 0xb8]
test al, al
jne 0x43f56c
mov eax, dword [esp + 0x60]
test eax, eax
je 0x43f5de
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x98]
push edx
lea ecx, [esp + 0xbc]
push eax
push ecx
call fcn.0043ef00
mov al, byte [esp + 0xc4]
add esp, 0xc
test al, al
je 0x43f5de
lea edx, [esp + 0xc]
push 0
push edx
mov dword [esp + 0x14], 0xa
call fcn.004137a0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x43f892
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x94]
lea ecx, [esp + 0x138]
push eax
push str._LEADER__d
push ecx
mov dword [esp + 0x5c], 1
call fcn.005bfd29
lea edx, [esp + 0x144]
push edx
push 1
call fcn.00413440
lea eax, [esp + 0x2c]
push ebx
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
call fcn.0043c520
add esp, 0x24
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esp + 0x14], 7
call fcn.004137a0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x43f8b6
lea ecx, [esp + 0x98]
push ecx
call fcn.00476f00
lea edx, [esp + 0x18]
push edx
push 0x9c
call fcn.00413440
lea eax, [edi + 0x10]
push ebx
push eax
lea eax, [edi + 8]
push eax
push edi
call fcn.0043c520
mov eax, dword [esp + 0x4c]
add esp, 0x1c
cmp eax, 1
mov dword [esp + 0xc], 2
mov dword [esp + 0x68], 1
jle 0x43f6b0
mov eax, dword [esp + 0x10]
lea esi, [eax + 8]
lea ecx, [esp + 0xc]
push 0
push ecx
call fcn.004137a0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x43f8a8
lea edx, [esp + 0x14]
push edx
push 0x9c
call fcn.00413440
lea eax, [esi + 8]
push ebx
push eax
push esi
push edi
call fcn.0043c520
add esi, 0x18
push ebx
add edi, 0x18
lea ecx, [esi + 8]
push ecx
push esi
push edi
call fcn.0043c520
push ebx
call fcn.00413680
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x5c]
add esp, 0x2c
inc eax
cmp eax, ecx
mov dword [esp + 0x68], eax
jl 0x43f64d
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x43f75b
mov eax, dword [esp + 0x58]
test eax, eax
je 0x43f75b
lea edx, [esp + 0xc]
push 0
push edx
call fcn.004137a0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x43f8a8
lea eax, [esp + 0x14]
push eax
push 0x9c
call fcn.00413440
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x78]
push ecx
push edx
lea ecx, [esp + 0x80]
push eax
push ecx
call fcn.0043cae3
lea edx, [esp + 0x88]
lea eax, [esp + 0x88]
push edx
push edi
push eax
call fcn.0043cb16
lea ecx, [edi + 0x10]
push ebx
lea edx, [edi + 8]
push ecx
push edx
push edi
call fcn.0043c520
lea eax, [esp + 0xb4]
push ebx
lea ecx, [esp + 0xb0]
push eax
lea edx, [esp + 0xac]
push ecx
push edx
call fcn.0043c520
add esp, 0x44
push ebx
call fcn.00413680
add esp, 4
push 0
call fcn.00413680
mov al, byte [esp + 0xbc]
add esp, 4
test al, al
je 0x43f8b2
mov eax, dword [esp + 0x10]
fld qword [eax + 0x20]
fsub qword [eax + 8]
fld qword [eax + 0x18]
fsub qword [eax]
lea esi, [eax + 8]
fpatan
fmul qword [0x5d57b0]
fsub qword [0x5d5778]
fstp qword [esp + 0x40]
fld qword [0x5d5448]
fcomp qword [esp + 0x40]
fnstsw ax
test ah, 0x41
jne 0x43f7b7
fld qword [esp + 0x40]
fadd qword [0x5d5790]
fstp qword [esp + 0x40]
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esp + 0x14], 0xc
call fcn.004137a0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x43f8b2
lea ecx, [esp + 0x98]
push ecx
call fcn.00476f00
lea edx, [esp + 0xbc]
push edx
push 0x23
call fcn.00413440
lea eax, [esp + 0x4c]
push eax
push 0x13
call fcn.00413440
lea ecx, [esp + 0x3c]
push ecx
push 0x20
call fcn.00413440
lea edx, [esp + 0x44]
push edx
push 0x21
call fcn.00413440
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
add eax, 0x10
push ebx
push eax
push esi
push ecx
call fcn.0043c520
push ebx
call fcn.00413680
push ebx
call fcn.00413680
lea edx, [esp + 0x48]
push ebx
push edx
call fcn.004137a0
mov ebx, eax
add esp, 0x44
test ebx, ebx
jne 0x43f88e
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x98]
push eax
call fcn.00476f00
lea ecx, [esp + 0x13c]
push ecx
push 0x23
call fcn.00413440
lea edx, [esp + 0x24]
push ebx
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.0043c520
push ebx
call fcn.00413680
add esp, 0x20
mov edi, dword [esp + 0x10]
test edi, edi
je 0x43f89f
push edi
call fcn.005bf4e7
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call fcn.00413680
add esp, 4
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
test eax, eax
je 0x43f892
push 0
call fcn.00413680
add esp, 4
jmp 0x43f892
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret