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

Disassembly:
sub esp, 0xa8
mov eax, dword [esp + 0xac]
push ebx
push ebp
mov ebp, ecx
mov ecx, dword [eax]
mov dword [esp + 0x6c], 0x3f800000
fld dword [esp + 0xbc]
mov edx, dword [eax + 4]
mov dword [esp + 0x70], ecx
fmul dword [esp + 0xbc]
mov ecx, dword [eax + 8]
mov dword [esp + 0x74], edx
mov dword [esp + 0x60], 0x3f800000
mov dword [esp + 0x64], 0x3f800000
mov edx, dword [eax + 0xc]
mov eax, dword [ebp]
fstp dword [esp + 0x1c]
mov dword [esp + 0x7c], edx
mov edx, dword [ebp + 0x28]
mov dword [esp + 0x68], 0x3f800000
mov dword [esp + 0x78], ecx
mov ecx, dword [eax]
mov eax, dword [ebp + edx*4 + 0x34]
push esi
push eax
mov dword [esp + 0x44], ebp
call fcn.00536a50
mov esi, dword [esp + 0xc4]
xor ebx, ebx
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp + 4]
mov dword [esp + 0x34], edx
mov edx, dword [ecx + 0x10]
test edx, edx
jbe 0x556a8e
lea ecx, [eax + 8]
push edi
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0xc0]
fld dword [ecx - 8]
fsub dword [eax]
fld dword [ecx - 4]
fsub dword [eax + 4]
fld dword [ecx]
fsub dword [eax + 8]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp st(3)
fstp st(0)
fstp st(0)
fcom dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jp 0x556a63
fdiv dword [esp + 0x24]
lea eax, [esp + 0x78]
lea ecx, [esp + 0x88]
fsubr dword [0x5f53f4]
fstp dword [esp + 0x3c]
mov edx, dword [esp + 0x3c]
push edx
push eax
push ecx
lea ecx, [esp + 0x74]
call fcn.00548770
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
xor edi, edi
mov dword [esp + 0x34], eax
mov eax, dword [esi + 4]
test eax, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
jbe 0x5568b8
mov ecx, dword [esi + 0xc]
mov eax, ecx
xor edx, edx
mov dx, word [eax]
cmp edx, ebx
je 0x5569a6
mov edx, dword [esi + 4]
inc edi
add eax, 8
cmp edi, edx
jb 0x5568a0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x10]
lea ecx, [esp + 0xa8]
push edx
call fcn.005486e0
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], ecx
fld dword [esp + 0x20]
fld dword [esp + 0x28]
fmul dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov eax, dword [esi + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi]
fstp dword [esp + 0x48]
fld dword [esp + 0x2c]
fmul dword [esp + 0x18]
cmp eax, ecx
fstp dword [esp + 0x4c]
fld dword [esp + 0x30]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x50]
jge 0x556a7d
mov ecx, dword [esi + 0xc]
fmul dword [0x5da6d0]
mov word [ecx + eax*8], bx
call fcn.0058c3f0
fld dword [esp + 0x48]
fmul dword [0x5da6d0]
mov edi, eax
shl edi, 8
call fcn.0058c3f0
fld dword [esp + 0x4c]
fmul dword [0x5da6d0]
and eax, 0xff
or edi, eax
shl edi, 8
call fcn.0058c3f0
fld dword [esp + 0x50]
fmul dword [0x5da6d0]
and eax, 0xff
or edi, eax
shl edi, 8
call fcn.0058c3f0
mov edx, dword [esi + 8]
and eax, 0xff
or edi, eax
mov eax, dword [esi + 0xc]
mov dword [eax + edx*8 + 4], edi
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
inc edx
cmp eax, ecx
mov dword [esi + 8], edx
jge 0x556a7f
mov ecx, dword [esp + 0x10]
inc eax
mov dword [esi + 4], eax
jmp 0x556a65
mov eax, dword [ecx + edi*8 + 4]
lea ecx, [esp + 0x98]
push eax
call fcn.005486e0
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], ecx
fld dword [esp + 0x20]
fld dword [esp + 0x28]
fmul dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov dword [esp + 0x1c], ecx
fstp dword [esp + 0x58]
fld dword [esp + 0x2c]
fmul dword [esp + 0x18]
fstp dword [esp + 0x5c]
fld dword [esp + 0x30]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x60]
fmul dword [0x5da6d0]
call fcn.0058c3f0
fld dword [esp + 0x58]
fmul dword [0x5da6d0]
mov ebp, eax
shl ebp, 8
call fcn.0058c3f0
fld dword [esp + 0x5c]
fmul dword [0x5da6d0]
and eax, 0xff
or ebp, eax
shl ebp, 8
call fcn.0058c3f0
fld dword [esp + 0x60]
fmul dword [0x5da6d0]
and eax, 0xff
or ebp, eax
shl ebp, 8
call fcn.0058c3f0
mov ecx, dword [esp + 0x10]
and eax, 0xff
or ebp, eax
mov eax, dword [esi + 0xc]
mov dword [eax + edi*8 + 4], ebp
mov ebp, dword [esp + 0x44]
jmp 0x556a65
fstp st(0)
mov edx, dword [ebp + 4]
inc ebx
add ecx, 0x24
mov eax, dword [edx + 0x10]
mov dword [esp + 0x10], ecx
cmp ebx, eax
jb 0x556812
jmp 0x556a8d
fstp st(0)
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov dword [esi + 8], eax
mov dword [esi + 4], ecx
pop edi
mov edx, dword [ebp + 0x28]
mov ecx, dword [ebp]
mov eax, dword [ebp + edx*4 + 0x34]
mov ecx, dword [ecx]
push eax
call fcn.00536a80
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret 0x10