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

Disassembly:
jmp 0x539400
sub esp, 0xf8
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0xc0]
mov ecx, dword [eax + 0x50]
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx + 0x138]
test eax, eax
push edi
mov dword [esp + 0x1c], 0
mov dword [esi + 0xc0], eax
je 0x539dd7
fld dword [ecx + 0x54]
lea ecx, [eax + 0x44]
fadd st(0), st(0)
fadd dword [eax + 0x54]
fstp dword [esp + 0x40]
call fcn.00616ee0
mov eax, dword [esi + 0xc0]
fstp dword [esp + 0x50]
fldz
mov edi, dword [esp + 0x10c]
mov ebp, dword [esp + 0x110]
fst dword [esp + 0x18]
fst dword [esp + 0x14]
fst dword [esp + 0x10]
mov edx, dword [eax + 8]
fld dword [0x6dc4a0]
mov ebx, dword [eax + 0xe4]
mov dword [edi], edx
mov ecx, dword [eax + 0xc]
mov dword [edi + 4], ecx
mov edx, dword [eax + 0x10]
mov dword [edi + 8], edx
fcomp dword [esi + 0xa4]
fnstsw ax
test ah, 0x44
jnp 0x5395ca
fstp st(0)
fld dword [esp + 0x50]
fadd dword [esi + 0xa4]
fmul qword [0x6dd478]
fst qword [esp + 0x2c]
call fcn.00651ec0
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fmul dword [esp + 0x40]
fstp dword [esp + 0x44]
fld qword [esp + 0x2c]
call fcn.00651d90
fstp dword [esp + 0x24]
cmp dword [esp + 0x28], 4
fld dword [esp + 0x24]
fmul dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
fstp dword [esp + 0x48]
mov ecx, dword [esp + 0x48]
fldz
mov dword [esp + 0x14], ecx
fstp dword [esp + 0x4c]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x18], edx
jne 0x539549
fld dword [esp + 0x44]
sub esp, 0xc
mov eax, esp
fstp dword [eax]
lea ecx, [esp + 0x78]
fld dword [esp + 0x20]
fstp dword [eax + 4]
fld dword [esp + 0x24]
fstp dword [eax + 8]
mov eax, dword [esi + 0xc0]
push eax
push ecx
mov ecx, esi
call fcn.0040399a
mov edx, dword [eax]
mov dword [esp + 0x10], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x18], edx
fld dword [edi]
lea eax, [esp + 0x10]
fadd dword [esp + 0x10]
push eax
push ebx
mov ecx, esi
fstp dword [esp + 0x18]
fld dword [edi + 4]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [edi + 8]
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
call fcn.00404d63
test eax, eax
je 0x5395c8
mov eax, dword [esi + 0x1c]
lea ecx, [eax + 0x44]
call fcn.00616ee0
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
mov edx, dword [esi + 0x1c]
push 0x10
push ecx
lea ecx, [esp + 0x18]
fstp dword [esp]
push ecx
push edx
call fcn.00402a4f
add esp, 0x10
test eax, eax
jne 0x5395ac
test ebp, ebp
je 0x5395c8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [esp + 0x1c], 1
mov dword [edi + 8], edx
fldz
mov eax, dword [esi + 0xc0]
xor ecx, ecx
test eax, eax
je 0x5395dc
mov ecx, dword [eax + 0x218]
cmp dword [esp + 0x1c], 0
jne 0x539dd5
test ecx, ecx
je 0x53960c
cmp dword [ecx + 4], 0
je 0x53960c
push 0
fstp st(0)
push ebp
push edi
mov ecx, esi
call fcn.0040e2eb
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x539dd7
fldz
fst dword [esp + 0x24]
fstp dword [esp + 0x8c]
fld dword [esp + 0x24]
fadd dword [esp + 0x50]
fmul qword [0x6dd478]
fst qword [esp + 0x2c]
call fcn.00651d90
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fmul dword [esp + 0x40]
fstp dword [esp + 0x38]
fld qword [esp + 0x2c]
call fcn.00651ec0
fstp dword [esp + 0x20]
cmp dword [esp + 0x28], 4
fld dword [esp + 0x20]
fmul dword [esp + 0x40]
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x18], edx
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fst dword [esp + 0x84]
mov eax, dword [esp + 0x84]
fld dword [esp + 0x38]
mov dword [esp + 0x10], eax
fstp dword [esp + 0x88]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x14], ecx
jne 0x5396d6
sub esp, 0xc
mov eax, esp
fstp dword [eax]
lea ecx, [esp + 0xb4]
fld dword [esp + 0x20]
fstp dword [eax + 4]
fld dword [esp + 0x24]
fstp dword [eax + 8]
mov eax, dword [esi + 0xc0]
push eax
push ecx
mov ecx, esi
call fcn.0040399a
mov edx, dword [eax]
mov dword [esp + 0x10], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x18], edx
jmp 0x5396d8
fstp st(0)
fld dword [edi]
lea eax, [esp + 0x10]
fadd dword [esp + 0x10]
push eax
push ebx
mov ecx, esi
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fadd dword [edi + 4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fadd dword [edi + 8]
fstp dword [esp + 0x20]
call fcn.00404d63
test eax, eax
je 0x539743
mov eax, dword [esi + 0x1c]
lea ecx, [eax + 0x44]
call fcn.00616ee0
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
mov edx, dword [esi + 0x1c]
push 0x10
push ecx
lea ecx, [esp + 0x18]
fstp dword [esp]
push ecx
push edx
call fcn.00402a4f
add esp, 0x10
test eax, eax
jne 0x539de8
test ebp, ebp
jne 0x539de8
cmp dword [esp + 0x28], 4
fld dword [esp + 0x34]
fst dword [esp + 0x9c]
mov eax, dword [esp + 0x9c]
fld dword [esp + 0x38]
mov dword [esp + 0x10], eax
fchs
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fstp dword [esp + 0xa0]
mov ecx, dword [esp + 0xa0]
fldz
mov dword [esp + 0x14], ecx
fstp dword [esp + 0xa4]
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x18], edx
jne 0x5397d5
sub esp, 0xc
mov eax, esp
fstp dword [eax]
lea ecx, [esp + 0xcc]
fld dword [esp + 0x20]
fstp dword [eax + 4]
fld dword [esp + 0x24]
fstp dword [eax + 8]
mov eax, dword [esi + 0xc0]
push eax
push ecx
mov ecx, esi
call fcn.0040399a
mov edx, dword [eax]
mov dword [esp + 0x10], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x18], edx
jmp 0x5397d7
fstp st(0)
fld dword [edi]
lea eax, [esp + 0x10]
fadd dword [esp + 0x10]
push eax
push ebx
mov ecx, esi
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fadd dword [edi + 4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fadd dword [edi + 8]
fstp dword [esp + 0x20]
call fcn.00404d63
test eax, eax
je 0x539842
mov eax, dword [esi + 0x1c]
lea ecx, [eax + 0x44]
call fcn.00616ee0
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
mov edx, dword [esi + 0x1c]
push 0x10
push ecx
lea ecx, [esp + 0x18]
fstp dword [esp]
push ecx
push edx
call fcn.00402a4f
add esp, 0x10
test eax, eax
jne 0x539de8
test ebp, ebp
jne 0x539de8
cmp dword [esp + 0x28], 4
fld dword [esp + 0x34]
fchs
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp + 0x44]
mov eax, dword [esp + 0x44]
fld dword [esp + 0x38]
mov dword [esp + 0x10], eax
fstp dword [esp + 0x48]
mov ecx, dword [esp + 0x48]
fldz
mov dword [esp + 0x14], ecx
fstp dword [esp + 0x4c]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x18], edx
jne 0x5398c4
fld dword [esp + 0x44]
sub esp, 0xc
mov eax, esp
fstp dword [eax]
lea ecx, [esp + 0xfc]
fld dword [esp + 0x20]
fstp dword [eax + 4]
fld dword [esp + 0x24]
fstp dword [eax + 8]
mov eax, dword [esi + 0xc0]
push eax
push ecx
mov ecx, esi
call fcn.0040399a
mov edx, dword [eax]
mov dword [esp + 0x10], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x18], edx
fld dword [edi]
lea eax, [esp + 0x10]
fadd dword [esp + 0x10]
push eax
push ebx
mov ecx, esi
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fadd dword [edi + 4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fadd dword [edi + 8]
fstp dword [esp + 0x20]
call fcn.00404d63
test eax, eax
je 0x53992f
mov eax, dword [esi + 0x1c]
lea ecx, [eax + 0x44]
call fcn.00616ee0
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
mov edx, dword [esi + 0x1c]
push 0x10
push ecx
lea ecx, [esp + 0x18]
fstp dword [esp]
push ecx
push edx
call fcn.00402a4f
add esp, 0x10
test eax, eax
jne 0x539de8
test ebp, ebp
jne 0x539de8
cmp dword [esp + 0x28], 4
fld dword [esp + 0x20]
fstp dword [esp + 0x78]
mov eax, dword [esp + 0x78]
fld dword [esp + 0x3c]
mov dword [esp + 0x10], eax
fstp dword [esp + 0x7c]
mov ecx, dword [esp + 0x7c]
fldz
mov dword [esp + 0x14], ecx
fstp dword [esp + 0x80]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x18], edx
jne 0x5399ad
fld dword [esp + 0x78]
sub esp, 0xc
mov eax, esp
fstp dword [eax]
lea ecx, [esp + 0xe4]
fld dword [esp + 0x20]
fstp dword [eax + 4]
fld dword [esp + 0x24]
fstp dword [eax + 8]
mov eax, dword [esi + 0xc0]
push eax
push ecx
mov ecx, esi
call fcn.0040399a
mov edx, dword [eax]
mov dword [esp + 0x10], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x18], edx
fld dword [edi]
lea eax, [esp + 0x10]
fadd dword [esp + 0x10]
push eax
push ebx
mov ecx, esi
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fadd dword [edi + 4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fadd dword [edi + 8]
fstp dword [esp + 0x20]
call fcn.00404d63
test eax, eax
je 0x539a18
mov eax, dword [esi + 0x1c]
lea ecx, [eax + 0x44]
call fcn.00616ee0
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
mov edx, dword [esi + 0x1c]
push 0x10
push ecx
lea ecx, [esp + 0x18]
fstp dword [esp]
push ecx
push edx
call fcn.00402a4f
add esp, 0x10
test eax, eax
jne 0x539de8
test ebp, ebp
jne 0x539de8
cmp dword [esp + 0x28], 4
fld dword [esp + 0x38]
fst dword [esp + 0x90]
mov eax, dword [esp + 0x90]
fld dword [esp + 0x34]
mov dword [esp + 0x10], eax
fstp dword [esp + 0x94]
mov ecx, dword [esp + 0x94]
fldz
mov dword [esp + 0x14], ecx
fstp dword [esp + 0x98]
mov edx, dword [esp + 0x98]
mov dword [esp + 0x18], edx
jne 0x539aa0
sub esp, 0xc
mov eax, esp
fstp dword [eax]
lea ecx, [esp + 0xc0]
fld dword [esp + 0x20]
fstp dword [eax + 4]
fld dword [esp + 0x24]
fstp dword [eax + 8]
mov eax, dword [esi + 0xc0]
push eax
push ecx
mov ecx, esi
call fcn.0040399a
mov edx, dword [eax]
mov dword [esp + 0x10], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x18], edx
jmp 0x539aa2
fstp st(0)
fld dword [edi]
lea eax, [esp + 0x10]
fadd dword [esp + 0x10]
push eax
push ebx
mov ecx, esi
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fadd dword [edi + 4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fadd dword [edi + 8]
fstp dword [esp + 0x20]
call fcn.00404d63
test eax, eax
je 0x539b0d
mov eax, dword [esi + 0x1c]
lea ecx, [eax + 0x44]
call fcn.00616ee0
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
mov edx, dword [esi + 0x1c]
push 0x10
push ecx
lea ecx, [esp + 0x18]
fstp dword [esp]
push ecx
push edx
call fcn.00402a4f
add esp, 0x10
test eax, eax
jne 0x539de8
test ebp, ebp
jne 0x539de8
cmp dword [esp + 0x28], 4
fld dword [esp + 0x38]
fst dword [esp + 0x6c]
mov eax, dword [esp + 0x6c]
fld dword [esp + 0x20]
mov dword [esp + 0x10], eax
fstp dword [esp + 0x70]
mov ecx, dword [esp + 0x70]
fldz
mov dword [esp + 0x14], ecx
fstp dword [esp + 0x74]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x18], edx
jne 0x539b83
sub esp, 0xc
mov eax, esp
fstp dword [eax]
lea ecx, [esp + 0xd8]
fld dword [esp + 0x20]
fstp dword [eax + 4]
fld dword [esp + 0x24]
fstp dword [eax + 8]
mov eax, dword [esi + 0xc0]
push eax
push ecx
mov ecx, esi
call fcn.0040399a
mov edx, dword [eax]
mov dword [esp + 0x10], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x18], edx
jmp 0x539b85
fstp st(0)
fld dword [edi]
lea eax, [esp + 0x10]
fadd dword [esp + 0x10]
push eax
push ebx
mov ecx, esi
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fadd dword [edi + 4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fadd dword [edi + 8]
fstp dword [esp + 0x20]
call fcn.00404d63
test eax, eax
je 0x539bf0
mov eax, dword [esi + 0x1c]
lea ecx, [eax + 0x44]
call fcn.00616ee0
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
mov edx, dword [esi + 0x1c]
push 0x10
push ecx
lea ecx, [esp + 0x18]
fstp dword [esp]
push ecx
push edx
call fcn.00402a4f
add esp, 0x10
test eax, eax
jne 0x539de8
test ebp, ebp
jne 0x539de8
cmp dword [esp + 0x28], 4
fld dword [esp + 0x3c]
fstp dword [esp + 0x54]
mov eax, dword [esp + 0x54]
fld dword [esp + 0x34]
mov dword [esp + 0x10], eax
fstp dword [esp + 0x58]
mov ecx, dword [esp + 0x58]
fldz
mov dword [esp + 0x14], ecx
fstp dword [esp + 0x5c]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x18], edx
jne 0x539c68
fld dword [esp + 0x54]
sub esp, 0xc
mov eax, esp
fstp dword [eax]
lea ecx, [esp + 0xf0]
fld dword [esp + 0x20]
fstp dword [eax + 4]
fld dword [esp + 0x24]
fstp dword [eax + 8]
mov eax, dword [esi + 0xc0]
push eax
push ecx
mov ecx, esi
call fcn.0040399a
mov edx, dword [eax]
mov dword [esp + 0x10], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x18], edx
fld dword [edi]
lea eax, [esp + 0x10]
fadd dword [esp + 0x10]
push eax
push ebx
mov ecx, esi
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fadd dword [edi + 4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fadd dword [edi + 8]
fstp dword [esp + 0x20]
call fcn.00404d63
test eax, eax
je 0x539cd3
mov eax, dword [esi + 0x1c]
lea ecx, [eax + 0x44]
call fcn.00616ee0
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
mov edx, dword [esi + 0x1c]
push 0x10
push ecx
lea ecx, [esp + 0x18]
fstp dword [esp]
push ecx
push edx
call fcn.00402a4f
add esp, 0x10
test eax, eax
jne 0x539de8
test ebp, ebp
jne 0x539de8
cmp dword [esp + 0x28], 4
fld dword [esp + 0x3c]
fstp dword [esp + 0x60]
mov eax, dword [esp + 0x60]
fld dword [esp + 0x20]
mov dword [esp + 0x10], eax
fstp dword [esp + 0x64]
mov ecx, dword [esp + 0x64]
fldz
mov dword [esp + 0x14], ecx
fstp dword [esp + 0x68]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x18], edx
jne 0x539d4b
fld dword [esp + 0x60]
sub esp, 0xc
mov eax, esp
fstp dword [eax]
lea ecx, [esp + 0x108]
fld dword [esp + 0x20]
fstp dword [eax + 4]
fld dword [esp + 0x24]
fstp dword [eax + 8]
mov eax, dword [esi + 0xc0]
push eax
push ecx
mov ecx, esi
call fcn.0040399a
mov edx, dword [eax]
mov dword [esp + 0x10], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x18], edx
fld dword [edi]
lea eax, [esp + 0x10]
fadd dword [esp + 0x10]
push eax
push ebx
mov ecx, esi
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fadd dword [edi + 4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fadd dword [edi + 8]
fstp dword [esp + 0x20]
call fcn.00404d63
test eax, eax
je 0x539dae
mov eax, dword [esi + 0x1c]
lea ecx, [eax + 0x44]
call fcn.00616ee0
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
mov edx, dword [esi + 0x1c]
push 0x10
push ecx
lea ecx, [esp + 0x18]
fstp dword [esp]
push ecx
push edx
call fcn.00402a4f
add esp, 0x10
test eax, eax
jne 0x539de8
test ebp, ebp
jne 0x539de8
fld dword [esp + 0x24]
fadd qword [0x6ddfc8]
fstp dword [esp + 0x24]
fld dword [0x6dd658]
fld dword [esp + 0x24]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x53961b
fstp st(0)
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf8
ret 8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
pop edi
pop esi
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x14]
pop ebp
pop ebx
add esp, 0xf8
ret 8