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

Disassembly:
push 0xffffffffffffffff
push 0x6c8fae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcc
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x148]
call fcn.004f7330
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
call fcn.004741c0
lea ecx, [esp + 0xa0]
mov dword [esp + 0xe0], 0
call fcn.0050c840
mov edi, dword [esp + 0xe8]
mov eax, dword [esi + 0x148]
cmp edi, eax
mov byte [esp + 0xe0], 1
mov byte [esp + 0xf], 1
je 0x5fc586
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x5fc586
mov cx, word [eax + 0x16]
cmp cx, word [0x701c18]
jne 0x5fc586
mov edx, dword [edi]
lea eax, [esp + 0xf]
push eax
push 0x403
mov ecx, edi
call dword [edx + 0x18]
test eax, eax
jne 0x5fc586
mov al, byte [esp + 0xf]
xor bl, bl
test al, al
mov byte [esp + 0xe0], 2
jbe 0x5fc586
mov ecx, dword [edi + 0x1c]
mov byte [esp + 0x48], bl
mov eax, dword [ecx + 4]
add eax, 0x80
mov edx, dword [eax]
mov dword [esp + 0x4c], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 8]
mov eax, dword [edi]
lea ecx, [esp + 0x48]
push ecx
push 0x404
mov ecx, edi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x64], esi
call dword [eax + 0x18]
test eax, eax
jne 0x5fc578
fld dword [esp + 0x4c]
fsub dword [esi + 0x154]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
push ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
fstp dword [esp + 0x14]
fld dword [esp + 0x54]
fsub dword [esi + 0x158]
mov dword [esp + 0x30], ecx
fstp dword [esp + 0x18]
fld dword [esp + 0x58]
fsub dword [esi + 0x15c]
fst dword [esp + 0x1c]
fmul dword [esp + 0x1c]
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
faddp st(1)
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
faddp st(1)
fstp dword [esp]
call fcn.00404020
fcom dword [0x6d035c]
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x5fc2ed
fld dword [0x6d0348]
fdiv st(1)
fld dword [esp + 0x10]
fmul st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fmul st(1)
fstp dword [esp + 0x18]
fstp st(0)
fstp dword [esp + 0x20]
jmp 0x5fc2f7
fstp st(0)
mov dword [esp + 0x20], 0
fld dword [esp + 0x14]
fcomp dword [0x6d035c]
fnstsw ax
test ah, 5
jp 0x5fc314
fld dword [esp + 0x14]
fchs
fstp dword [esp + 0x34]
jmp 0x5fc31c
mov edx, dword [esp + 0x14]
mov dword [esp + 0x34], edx
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
push ecx
mov dword [esp + 0x18], 0
faddp st(1)
fstp dword [esp]
call fcn.00404020
fcom dword [0x6d035c]
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x5fc371
fdivr dword [0x6d0348]
fld dword [esp + 0x10]
fmul st(1)
fstp dword [esp + 0x10]
fld dword [0x6d035c]
fmul st(1)
fstp dword [esp + 0x14]
fmul dword [esp + 0x18]
jmp 0x5fc377
fstp st(0)
fld dword [esp + 0x18]
fmul dword [esp + 0x40]
fld dword [esp + 0x10]
fmul dword [esp + 0x38]
faddp st(1)
fld dword [esp + 0x3c]
fmul dword [esp + 0x14]
faddp st(1)
fst dword [esp + 0x1c]
fcomp dword [0x6d197c]
fnstsw ax
test ah, 0x41
jp 0x5fc3aa
mov dword [esp + 0x1c], 0xbf800000
jmp 0x5fc3c5
fld dword [esp + 0x1c]
fcomp dword [0x6d0348]
fnstsw ax
and eax, 0x100
jne 0x5fc3c5
mov dword [esp + 0x1c], 0x3f800000
fld dword [esp + 0x1c]
call fcn.006b1770
fstp dword [esp + 0x1c]
fld dword [esp + 0x34]
call fcn.006b1c80
fst dword [esp + 0x30]
fmul dword [0x6d5458]
fld dword [esp + 0x1c]
fmul dword [0x6e178c]
mov eax, dword [esp + 0xec]
faddp st(1)
fadd dword [esp + 0x20]
fst dword [esp + 0x44]
fcomp dword [eax]
fnstsw ax
and eax, 0x100
je 0x5fc578
fld dword [esp + 0x20]
fcomp dword [esi + 0xc4]
fnstsw ax
and eax, 0x100
jne 0x5fc578
fld dword [esp + 0x20]
fcomp dword [esi + 0xc8]
fnstsw ax
test ah, 0x41
jp 0x5fc578
fld dword [esi + 0xbc]
fmul dword [0x6d1c28]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 5
jnp 0x5fc578
fld dword [esi + 0xc0]
fmul dword [0x6d1c28]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 5
jnp 0x5fc578
fld dword [esi + 0x158]
fadd dword [0x6d1310]
mov ecx, dword [esi + 0x154]
mov edx, dword [esi + 0x15c]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x78], edx
fstp dword [esp + 0x74]
fld dword [esp + 0x28]
fadd dword [0x6d1310]
lea edx, [esp + 0x70]
mov dword [esp + 0x84], ecx
push edx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x80], eax
fstp dword [esp + 0x84]
call fcn.00420920
lea eax, [esp + 0x70]
lea ecx, [esp + 0x7c]
push eax
push ecx
lea ecx, [esp + 0x9c]
call fcn.0045f290
mov edx, dword [0x72d944]
mov dword [esp + 0x60], 0x7f7fffff
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0xffffffff
mov byte [esp + 0x6c], 0
mov ecx, dword [edx + 0x58]
push 0
push 0
lea eax, [esp + 0x68]
push 1
lea edx, [esp + 0x94]
push eax
push edx
call fcn.0046a100
test al, al
je 0x5fc536
fld dword [esp + 0x60]
fcomp dword [0x6dc5b0]
fnstsw ax
test ah, 5
jnp 0x5fc578
mov eax, dword [0x72d944]
push 1
push 0
lea edx, [esp + 0xa8]
mov ecx, dword [eax + 0x58]
mov eax, dword [esi + 0x170]
push 1
push edx
lea edx, [esp + 0x98]
push eax
push edx
call fcn.00466280
test al, al
je 0x5fc5a2
fld dword [esp + 0xc4]
fcomp dword [0x6dc5b0]
fnstsw ax
test ah, 5
jp 0x5fc5a2
mov al, byte [esp + 0xf]
inc bl
cmp bl, al
jb 0x5fc20c
xor al, al
mov ecx, dword [esp + 0xd8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xd8
ret 8
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x1e8], ecx
mov ecx, dword [esp + 0xec]
mov dword [esi + 0x1e4], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 0x1ec], edx
mov dword [ecx], eax
mov al, 1
jmp 0x5fc588