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

Disassembly:
sub esp, 0x33c
mov eax, dword [esp + 0x34c]
push ebx
push ebp
push esi
push edi
mov edi, dword [eax + 0x180]
xor esi, esi
cmp edi, esi
mov dword [esp + 0x68], ecx
mov dword [esp + 0x48], edi
mov dword [esp + 0x28], esi
jbe 0x43db9f
mov ebx, dword [esp + 0x350]
mov ebp, eax
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x358]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x34], edx
mov edx, dword [ebp + 0x14]
push ebp
push eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
call fcn.004424c0
add esp, 8
test eax, eax
je 0x43db89
mov ecx, dword [ebx + 0x7c]
lea edx, [esp + 0x1f4]
push edx
lea eax, [esp + 0xb0]
push eax
lea edx, [esp + 0x1ec]
push edx
lea eax, [esp + 0xc4]
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.00438970
test eax, eax
je 0x43dbb0
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0xbc]
push ecx
lea ecx, [esp + 0x168]
call fcn.004135b0
mov edx, dword [ebx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x1f]
push eax
lea ecx, [esp + 0x1d8]
push ecx
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x2e]
push eax
lea ecx, [esp + 0x218]
push ecx
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x68]
push ecx
lea eax, [esp + 0x180]
push eax
push 0
mov ecx, ebx
call edx
test eax, eax
je 0x43dbb0
cmp dword [esp + 0x4c], 0
jne 0x43d87d
cmp dword [esp + 0x20], 0
je 0x43dbb0
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x164]
push ecx
jmp 0x43d8a6
cmp dword [esp + 0x20], 0
jne 0x43d896
lea edx, [esp + 0x16c]
push edx
lea eax, [esp + 0xa4]
push eax
jmp 0x43d8a6
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0xa4]
push edx
lea ecx, [esp + 0x100]
call fcn.004135b0
mov ecx, dword [esp + 0x354]
mov edi, dword [esp + 0x358]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x1b8]
push edx
lea edx, [esp + 0x84]
push edx
lea edx, [esp + 0x30]
push edx
lea edx, [esp + 0x2d]
push edx
lea edx, [esp + 0x1d8]
push edx
lea edx, [esp + 0xa0]
push edx
lea edx, [esp + 0x60]
push edx
push edi
push 0
call eax
test eax, eax
je 0x43dbb0
cmp dword [esp + 0x44], 0
jne 0x43d920
cmp dword [esp + 0x24], 0
je 0x43dbb0
lea ecx, [esp + 0x7c]
push ecx
push edi
jmp 0x43d942
cmp dword [esp + 0x24], 0
jne 0x43d935
lea edx, [edi + 0xc]
push edx
lea eax, [esp + 0x8c]
push eax
jmp 0x43d942
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x8c]
push edx
lea ecx, [esp + 0x134]
call fcn.004135b0
lea eax, [esp + 0x160]
push eax
lea ecx, [esp + 0x130]
push ecx
call fcn.00442460
lea edx, [esp + 0x100]
push edi
push edx
mov esi, eax
call fcn.00442460
mov edi, eax
lea eax, [esp + 0x108]
push eax
lea ecx, [esp + 0x140]
push ecx
call fcn.00442460
add esp, 0x18
test esi, esi
jne 0x43d99d
test edi, edi
jne 0x43d99d
test eax, eax
je 0x43dbb0
mov edi, dword [esp + 0x358]
lea edx, [esp + 0xc4]
push edx
lea eax, [esp + 0x17c]
push eax
add edi, 0x18
push edi
call fcn.00442630
fld dword [esp + 0x100]
fld dword [esp + 0x168]
add esp, 0xc
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x43dbae
fld dword [esp + 0x128]
fcompp
fnstsw ax
test ah, 5
jnp 0x43dbb0
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x58], edx
push ecx
lea edx, [edi + 0xc]
mov dword [esp + 0x60], eax
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00407df0
lea ecx, [esp + 0x1c]
push ecx
mov edx, ecx
push edx
call fcn.00402020
lea eax, [esp + 0xfc]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00405150
fcomp dword [0x698cd0]
add esp, 0x1c
fnstsw ax
test ah, 5
jp 0x43da94
fld dword [esp + 0x38]
fld qword [0x6f9a28]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fmul st(1)
fstp dword [esp + 0x3c]
fld dword [esp + 0x40]
fmul st(1)
fstp dword [esp + 0x40]
fld dword [esp + 0x10]
fmul st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fmul st(1)
fstp dword [esp + 0x14]
fmul dword [esp + 0x18]
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], edx
lea edx, [esp + 0xd0]
mov dword [esp + 0x70], eax
push edx
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x7c], ecx
call fcn.00405150
fchs
add esp, 8
fstp dword [esp + 0x78]
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x70]
call fcn.0042f490
fchs
lea ecx, [esp + 0x194]
fstp dword [esp + 0x50]
call fcn.00405120
mov esi, dword [esp + 0x354]
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x19c]
push ecx
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x64]
push eax
push esi
push ebx
call fcn.0042a690
fld dword [esp + 0x6c]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
add esp, 0x1c
push ecx
push edx
lea eax, [esp + 0x19c]
push eax
push ecx
fstp dword [esp]
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x44]
push eax
push edi
lea ecx, [esp + 0x2e4]
call fcn.0043c3e0
push esi
push ebx
lea ecx, [esp + 0x21c]
call fcn.0043af70
lea ecx, [esp + 0x2c4]
push ecx
lea ecx, [esp + 0x220]
call fcn.0042f880
mov ecx, dword [esp + 0x68]
lea edx, [esp + 0x214]
push edx
call fcn.0043d700
mov edi, dword [esp + 0x48]
mov esi, 1
mov eax, dword [esp + 0x28]
add eax, 1
add ebp, 0x18
cmp eax, edi
mov dword [esp + 0x28], eax
jb 0x43d776
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x33c
ret 0x10
fstp st(0)
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x33c
ret 0x10