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

Disassembly:
sub esp, 0x190
mov eax, dword [esp + 0x1a0]
push ebx
mov ebx, dword [eax + 0xc]
push ebp
push esi
push edi
lea ecx, [esp + 0xd0]
push ecx
mov ecx, dword [eax + 0x10]
add ecx, 0x6c
call fcn.00559060
lea edx, [esp + 0xd0]
push edx
lea eax, [esp + 0x64]
push eax
lea ecx, [ebx + 0x10]
call fcn.0054a1c0
mov edx, dword [0x729438]
mov esi, eax
mov eax, dword [0x729430]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x1ac]
mov ecx, 0xd
lea edi, [esp + 0x104]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x48]
mov ebx, dword [esp + 0x1b4]
mov esi, dword [esp + 0x1b8]
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0xbc]
mov edx, dword [eax + 0x20]
mov dword [esp + 0x50], ecx
mov ecx, dword [0x729434]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0x24]
mov eax, dword [ebx + 0xc]
movzx eax, word [eax + esi*2]
lea eax, [eax + eax*2]
shl eax, 2
add edx, eax
test ecx, ecx
mov edi, dword [edx]
mov dword [esp + 0x28], edi
mov edi, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edx
je 0x5b6140
add eax, ecx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
jmp 0x5b6164
mov dword [esp + 0x40], 0x3f800000
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x44], 0
mov edx, dword [esp + 0x44]
mov dword [esp + 0x48], 0
mov eax, dword [esp + 0x48]
mov dword [esp + 0x24], eax
movzx eax, word [ebx + 0x24]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
jbe 0x5b639c
mov ecx, esi
shl ecx, 4
mov dword [esp + 0x4c], ecx
jmp 0x5b6190
mov esi, dword [esp + 0x1b8]
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x5b61a9
mov edx, dword [ebx + 4]
imul eax, esi
add eax, ecx
movzx ecx, byte [eax + ebp]
mov ax, word [edx + ecx*2]
jmp 0x5b61b0
mov eax, dword [ebx + 4]
mov ax, word [eax + ebp*2]
mov ecx, dword [esp + 0x1b0]
mov edx, dword [ecx + 0x14]
mov esi, dword [esp + 0x50]
movzx eax, ax
mov ecx, dword [edx + eax*4]
imul eax, eax, 0x4c
add eax, esi
push eax
lea eax, [esp + 0x13c]
add ecx, 0x6c
push eax
push ecx
lea ecx, [esp + 0x178]
push ecx
lea ecx, [esp + 0x114]
call fcn.0054a1c0
mov ecx, eax
call fcn.0054a1c0
mov esi, eax
mov ecx, 0xd
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x90]
push edx
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x68]
call fcn.0053e1d0
mov ecx, dword [ebx + 8]
mov eax, dword [esp + 0x4c]
fld dword [eax + ecx]
fld dword [esp + 0x9c]
fmul dword [esp + 0x30]
fld dword [esp + 0x98]
fmul dword [esp + 0x2c]
faddp st(1)
fld dword [esp + 0x94]
fmul dword [esp + 0x28]
faddp st(1)
fadd dword [esp + 0x84]
fld dword [esp + 0xa8]
fmul dword [esp + 0x30]
fld dword [esp + 0xa4]
fmul dword [esp + 0x2c]
faddp st(1)
fld dword [esp + 0xa0]
fmul dword [esp + 0x28]
faddp st(1)
fadd dword [esp + 0x88]
fld dword [esp + 0xb4]
fmul dword [esp + 0x30]
fld dword [esp + 0xb0]
fmul dword [esp + 0x2c]
faddp st(1)
fld dword [esp + 0xac]
fmul dword [esp + 0x28]
faddp st(1)
fadd dword [esp + 0x8c]
fstp dword [esp + 0xcc]
fld dword [esp + 0x68]
fmul dword [esp + 0x24]
fld dword [esp + 0x64]
fmul dword [esp + 0x20]
faddp st(1)
fld dword [esp + 0x60]
fmul dword [esp + 0x1c]
faddp st(1)
fstp dword [esp + 0x40]
fld dword [esp + 0x74]
fmul dword [esp + 0x24]
fld dword [esp + 0x70]
fmul dword [esp + 0x20]
faddp st(1)
fld dword [esp + 0x6c]
fmul dword [esp + 0x1c]
faddp st(1)
fstp dword [esp + 0x44]
fld dword [esp + 0x80]
fmul dword [esp + 0x24]
fld dword [esp + 0x7c]
fmul dword [esp + 0x20]
faddp st(1)
add eax, 4
fld dword [esp + 0x78]
mov dword [esp + 0x4c], eax
fmul dword [esp + 0x1c]
movzx eax, word [ebx + 0x24]
inc ebp
cmp ebp, eax
faddp st(1)
fstp dword [esp + 0x48]
fxch st(1)
fmul st(2)
fstp dword [esp + 0xb8]
fmul st(1)
fld dword [esp + 0xcc]
fmul st(2)
fld dword [esp + 0xb8]
fadd dword [esp + 0x34]
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fadd st(2)
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fadd st(1)
fstp dword [esp + 0x3c]
fstp st(0)
fstp st(0)
fld dword [esp + 0x40]
fmul st(1)
fld dword [esp + 0x44]
fmul st(2)
fstp dword [esp + 0x58]
fld dword [esp + 0x48]
fmul st(2)
fstp dword [esp + 0x5c]
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
fstp st(0)
fld dword [esp + 0x14]
fadd dword [esp + 0x58]
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fadd dword [esp + 0x5c]
fstp dword [esp + 0x18]
jb 0x5b6189
fld dword [esp + 0x18]
pop edi
fmul dword [esp + 0x14]
pop esi
fld dword [esp + 0xc]
pop ebp
fmul dword [esp + 8]
pop ebx
faddp st(1)
fld dword [esp]
fmul dword [esp]
faddp st(1)
fsqrt
fcom dword [0x7156d0]
fnstsw ax
test ah, 0x41
jne 0x5b63ed
fdivr dword [0x6c263c]
fld dword [esp]
fmul st(1)
fstp dword [esp]
fld dword [esp + 4]
fmul st(1)
fstp dword [esp + 4]
fld dword [esp + 8]
fmul st(1)
fstp dword [esp + 8]
jmp 0x5b6404
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 0x24]
fstp st(0)
mov edx, dword [esp + 0x194]
mov ecx, dword [esp + 0x28]
mov dword [edx], eax
mov eax, dword [esp + 0x2c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x198]
mov dword [edx + 8], eax
mov edx, dword [esp]
mov eax, dword [esp + 4]
mov dword [ecx], edx
mov edx, dword [esp + 8]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
add esp, 0x190
ret 0x18