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

Disassembly:
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x120]
test eax, eax
je 0x56aa36
mov eax, dword [esp + 0x70]
push 0x5ca1f0
push eax
call fcn.005099ce
mov edi, eax
add esp, 8
test edi, edi
je 0x56aa36
push edi
lea ecx, [esp + 0x30]
push 0x40
push ecx
call fcn.0050bae2
push edi
lea edx, [esp + 0x3c]
push 0x40
push edx
call fcn.0050bae2
lea eax, [esp + 0x28]
lea ecx, [esp + 0x44]
push eax
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
push str._s__d__s__d_n
push edi
call fcn.0050c59a
mov eax, dword [esi + 0x120]
mov ecx, dword [esp + 0x3c]
add esp, 0x30
cmp ecx, dword [eax + 0x38]
jne 0x56aa2d
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + 0x40]
cmp edx, ecx
jne 0x56aa2d
push ebx
lea ecx, [esp + 0x30]
push ebp
lea edx, [esp + 0x34]
push ecx
push edx
lea ecx, [eax + 8]
lea edx, [esp + 0x3c]
push ecx
add eax, 4
push edx
push eax
lea eax, [esp + 0x48]
push eax
push str._s__d__s__d__s__s_n
push edi
call fcn.0050c59a
mov eax, dword [esi + 0x120]
add esp, 0x20
xor ebx, ebx
mov edx, dword [eax + 0x38]
mov ecx, dword [eax + 0x3c]
test edx, edx
jle 0x56a6b2
lea ebp, [ecx + 0x1a4]
mov eax, dword [eax + 8]
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 2
push ecx
call fcn.00509a33
mov dword [ebp], eax
mov eax, dword [esi + 0x120]
add esp, 4
inc ebx
mov ecx, dword [eax + 0x38]
add ebp, 0x2b0
cmp ebx, ecx
jl 0x56a683
mov eax, dword [esi + 0x120]
xor ebx, ebx
mov edx, dword [eax + 0x40]
mov ecx, dword [eax + 0x44]
test edx, edx
jle 0x56a6f9
lea ebp, [ecx + 0x1a4]
mov eax, dword [eax + 8]
lea edx, [eax*8]
sub edx, eax
shl edx, 2
push edx
call fcn.00509a33
mov dword [ebp], eax
mov eax, dword [esi + 0x120]
add esp, 4
inc ebx
mov ecx, dword [eax + 0x40]
add ebp, 0x2b0
cmp ebx, ecx
jl 0x56a6ca
mov ecx, dword [esi + 0x120]
xor eax, eax
mov dword [esp + 0x10], eax
cmp dword [ecx + 8], eax
jle 0x56a831
mov dword [esp + 0x78], eax
push edi
lea edx, [esp + 0x38]
push 0x40
push edx
call fcn.0050bae2
push edi
lea eax, [esp + 0x44]
push 0x40
push eax
call fcn.0050bae2
mov eax, dword [esi + 0x120]
add esp, 0x18
xor ebx, ebx
mov edx, dword [eax + 0x38]
mov ecx, dword [eax + 0x3c]
test edx, edx
jle 0x56a794
lea ebp, [ecx + 0x1a4]
mov ecx, dword [ebp]
mov edx, dword [esp + 0x78]
lea eax, [edx + ecx]
lea ecx, [eax + 0x14]
lea edx, [eax + 0x10]
push ecx
lea ecx, [eax + 0xc]
push edx
push ecx
lea edx, [eax + 0x18]
lea ecx, [esp + 0x40]
push edx
push ecx
lea edx, [eax + 8]
lea ecx, [eax + 4]
push edx
push ecx
lea edx, [esp + 0x50]
push eax
push edx
push str._s__f__f__f__s__f__f__f__f_n
push edi
call fcn.0050c59a
mov eax, dword [esi + 0x120]
add esp, 0x2c
inc ebx
add ebp, 0x2b0
cmp ebx, dword [eax + 0x38]
jl 0x56a747
mov eax, dword [esi + 0x120]
xor ebx, ebx
mov edx, dword [eax + 0x40]
mov ecx, dword [eax + 0x44]
test edx, edx
jle 0x56a7f9
lea ebp, [ecx + 0x1a4]
mov ecx, dword [ebp]
mov edx, dword [esp + 0x78]
lea eax, [edx + ecx]
lea ecx, [eax + 0x14]
lea edx, [eax + 0x10]
push ecx
lea ecx, [eax + 0xc]
push edx
push ecx
lea edx, [eax + 0x18]
lea ecx, [esp + 0x40]
push edx
push ecx
lea edx, [eax + 8]
lea ecx, [eax + 4]
push edx
push ecx
lea edx, [esp + 0x50]
push eax
push edx
push str._s__f__f__f__s__f__f__f__f_n
push edi
call fcn.0050c59a
mov eax, dword [esi + 0x120]
add esp, 0x2c
inc ebx
add ebp, 0x2b0
cmp ebx, dword [eax + 0x40]
jl 0x56a7ac
push edi
lea ecx, [esp + 0x38]
push 0x40
push ecx
call fcn.0050bae2
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x1c]
add edx, 0x1c
add esp, 0xc
mov dword [esp + 0x78], edx
mov edx, dword [esi + 0x120]
inc eax
mov ecx, dword [edx + 8]
mov dword [esp + 0x10], eax
cmp eax, ecx
jl 0x56a712
push edi
call fcn.0050ae47
mov eax, dword [esi + 0x120]
add esp, 4
xor edi, edi
mov ecx, dword [eax + 8]
pop ebp
test ecx, ecx
pop ebx
jle 0x56a933
push edi
mov ecx, esi
call fcn.0056a240
mov ecx, dword [esi + 0x120]
fld dword [ecx + 0x4c]
fld dword [esi + 0xf0]
fcompp
fnstsw ax
test ah, 5
jp 0x56a878
mov edx, dword [esi + 0xf0]
mov dword [ecx + 0x4c], edx
mov ecx, dword [esi + 0x120]
fld dword [ecx + 0x50]
fld dword [esi + 0xf4]
fcompp
fnstsw ax
test ah, 5
jp 0x56a899
mov eax, dword [esi + 0xf4]
mov dword [ecx + 0x50], eax
mov ecx, dword [esi + 0x120]
fld dword [ecx + 0x54]
fld dword [esi + 0xf8]
fcompp
fnstsw ax
test ah, 5
jp 0x56a8ba
mov edx, dword [esi + 0xf8]
mov dword [ecx + 0x54], edx
mov ecx, dword [esi + 0x120]
fld dword [ecx + 0x58]
fld dword [esi + 0xe4]
fcompp
fnstsw ax
and eax, 0x4100
jne 0x56a8dd
mov eax, dword [esi + 0xe4]
mov dword [ecx + 0x58], eax
mov ecx, dword [esi + 0x120]
fld dword [ecx + 0x5c]
fld dword [esi + 0xe8]
fcompp
fnstsw ax
and eax, 0x4100
jne 0x56a900
mov edx, dword [esi + 0xe8]
mov dword [ecx + 0x5c], edx
mov ecx, dword [esi + 0x120]
fld dword [ecx + 0x60]
fld dword [esi + 0xec]
fcompp
fnstsw ax
and eax, 0x4100
jne 0x56a923
mov eax, dword [esi + 0xec]
mov dword [ecx + 0x60], eax
mov ecx, dword [esi + 0x120]
inc edi
cmp edi, dword [ecx + 8]
jl 0x56a84f
push 0
mov ecx, esi
call fcn.0056a240
mov eax, dword [esi + 0x120]
fld dword [eax + 0x58]
fadd dword [eax + 0x4c]
fld dword [eax + 0x50]
fadd dword [eax + 0x5c]
fld dword [eax + 0x54]
fadd dword [eax + 0x60]
add eax, 0x70
fstp dword [esp + 0x28]
fxch st(1)
fmul dword [0x5a83e8]
fstp dword [esp + 0x14]
mov edx, dword [esp + 0x14]
fmul dword [0x5a83e8]
mov dword [eax], edx
fstp dword [esp + 0x18]
fld dword [esp + 0x28]
fmul dword [0x5a83e8]
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], ecx
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
mov dword [eax + 8], edx
mov eax, dword [esi + 0x120]
fld dword [eax + 0x58]
fsub dword [eax + 0x4c]
add eax, 0x64
fstp dword [esp + 0x14]
fld dword [eax - 8]
fsub dword [eax - 0x14]
mov ecx, dword [esp + 0x14]
fstp dword [esp + 0x18]
fld dword [eax - 4]
fsub dword [eax - 0x10]
mov edx, dword [esp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edx
fstp dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov eax, dword [esi + 0x120]
fld dword [eax + 0x58]
fsub dword [eax + 0x70]
add eax, 0x7c
fstp dword [esp + 0x14]
fld dword [eax - 0x20]
fsub dword [eax - 8]
mov edx, dword [esp + 0x14]
fstp dword [esp + 0x18]
fld dword [eax - 0x1c]
fsub dword [eax - 4]
mov ecx, dword [esp + 0x18]
mov dword [eax], edx
mov dword [eax + 4], ecx
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
mov dword [eax + 8], edx
mov esi, dword [esi + 0x120]
lea eax, [esi + 0x70]
lea ecx, [esi + 0x88]
push eax
push 3
call fcn.004780f0
pop edi
mov eax, 1
pop esi
add esp, 0x64
ret 4
push edi
call fcn.0050ae47
add esp, 4
pop edi
xor eax, eax
pop esi
add esp, 0x64
ret 4