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

Disassembly:
sub esp, 0x40
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 0x1c0]
push ebx
push ebp
mov ebp, dword [eax + 0x1c4]
lea ecx, [edx + ebp*4]
push esi
mov dword [eax + ecx*4 + 0xb8], 0x3f800000
mov ecx, dword [eax + 0x1bc]
mov ebx, 1
push edi
xor edi, edi
cmp ecx, ebx
lea esi, [eax + 0x78]
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x3c], ebx
jl 0x5d3bd5
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x1c], esi
lea esi, [esi + edx*4]
mov dword [esp + 0x40], esi
mov dword [esp + 0x20], esi
test ebx, ecx
je 0x5d3b85
mov ebp, dword [esp + 0x24]
mov ecx, ebx
or ecx, ebp
mov ebp, dword [esp + 0x1c]
fld dword [ebp]
mov ebp, dword [esp + 0x20]
fsub dword [ebp]
shl ecx, 2
lea esi, [ecx + edx]
lea esi, [eax + esi*4 + 0xb8]
fstp dword [esi]
add ecx, edi
mov dword [esp + 0x4c], esi
lea esi, [edi + edx*4]
lea ebp, [eax + 0x78]
lea edi, [edx + edx*4]
fld dword [ebp + edi*4]
lea esi, [ebp + esi*4]
fsub dword [esi]
lea ecx, [eax + ecx*4 + 0xb8]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], esi
fstp dword [ecx]
mov ecx, dword [eax + 0x1bc]
mov edi, 1
xor esi, esi
cmp ecx, edi
jl 0x5d3b85
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x14]
shl edx, 4
add edx, ebp
mov dword [esp + 0x54], ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x38], edx
mov dword [esp + 0x28], ebp
lea esp, [esp]
test edi, ecx
je 0x5d3b3a
cmp edi, ebx
jge 0x5d3b81
mov ebp, dword [esp + 0x24]
mov edx, edi
or edx, ebx
mov ecx, edx
or ecx, ebp
mov ebp, dword [esp + 0x54]
fld dword [ebp]
mov ebp, dword [esp + 0x28]
fsub dword [ebp]
lea ebx, [esi + edx*4]
mov ebp, dword [esp + 0x24]
shl ecx, 2
fmul dword [eax + ebx*4 + 0xb8]
mov ebx, dword [esp + 0x18]
lea edx, [ebx + edx*4]
mov ebx, dword [esp + 0x10]
fld dword [ebx]
mov ebx, dword [esp + 0x20]
fsub dword [ebx]
fmul dword [eax + edx*4 + 0xb8]
mov edx, dword [esp + 0x14]
add edx, ecx
faddp st(1)
fstp dword [eax + edx*4 + 0xb8]
mov edx, edi
or edx, ebp
mov ebp, dword [esp + 0x54]
fld dword [ebp]
mov ebp, dword [esp + 0x2c]
fsub dword [ebp]
shl edx, 2
lea ebx, [edx + esi]
fmul dword [eax + ebx*4 + 0xb8]
mov ebx, dword [esp + 0x14]
lea ebp, [edx + ebx]
mov edx, dword [esp + 0x38]
fld dword [edx]
mov ebx, dword [esp + 0x44]
fsub dword [ebx]
fmul dword [eax + ebp*4 + 0xb8]
mov ebp, dword [esp + 0x18]
add ebp, ecx
faddp st(1)
add ecx, esi
fstp dword [eax + ebp*4 + 0xb8]
mov ebp, dword [esp + 0x1c]
fld dword [ebp]
mov ebp, dword [esp + 0x10]
fsub dword [ebp]
mov ebp, dword [esp + 0x48]
fmul dword [ebp]
fld dword [ebx]
mov ebx, dword [esp + 0x4c]
fsub dword [edx]
fmul dword [ebx]
mov ebx, dword [esp + 0x3c]
faddp st(1)
fstp dword [eax + ecx*4 + 0xb8]
mov ecx, dword [esp + 0x54]
mov ebp, dword [esp + 0x28]
add ecx, 0x14
mov dword [esp + 0x54], ecx
mov ecx, 0x10
add ebp, ecx
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x2c]
add ebp, ecx
mov ecx, dword [esp + 0x10]
add ecx, 4
shl edi, 1
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x1bc]
add edx, 4
inc esi
cmp edi, ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x38], edx
jle 0x5d3a60
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
add ecx, 0x14
mov dword [esp + 0x1c], ecx
mov ecx, 0x10
add ebp, ecx
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x34]
add esi, ecx
mov ecx, dword [eax + 0x1bc]
shl ebx, 1
inc edi
add ebp, 4
cmp ebx, ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x34], ebp
jle 0x5d39c4
mov ebp, dword [esp + 0x24]
mov ecx, dword [eax + 0x1bc]
pop edi
pop esi
or ecx, ebp
cmp ecx, 0xf
pop ebp
pop ebx
jne 0x5d3cec
mov ecx, dword [eax + 0x1c8]
test ecx, ecx
jne 0x5d3cec
fld dword [eax + 0x8c]
fsub dword [eax + 0x88]
fmul dword [eax + 0x19c]
fld dword [eax + 0xac]
fsub dword [eax + 0xa8]
fmul dword [eax + 0x1a4]
faddp st(1)
fld dword [eax + 0x9c]
fsub dword [eax + 0x98]
fmul dword [eax + 0x1a0]
faddp st(1)
fstp dword [eax + 0x1a8]
fld dword [eax + 0x78]
fsub dword [eax + 0x7c]
fmul dword [eax + 0x188]
fld dword [eax + 0xa8]
fsub dword [eax + 0xac]
fmul dword [eax + 0x194]
faddp st(1)
fld dword [eax + 0x98]
fsub dword [eax + 0x9c]
fmul dword [eax + 0x190]
faddp st(1)
fstp dword [eax + 0x1ac]
fld dword [eax + 0x88]
fsub dword [eax + 0x90]
fmul dword [eax + 0x16c]
fld dword [eax + 0xa8]
fsub dword [eax + 0xb0]
fmul dword [eax + 0x174]
faddp st(1)
fld dword [eax + 0x78]
fsub dword [eax + 0x80]
fmul dword [eax + 0x168]
faddp st(1)
fstp dword [eax + 0x1b0]
fld dword [eax + 0x88]
fsub dword [eax + 0x94]
fmul dword [eax + 0x12c]
fld dword [eax + 0x98]
fsub dword [eax + 0xa4]
fmul dword [eax + 0x130]
faddp st(1)
fld dword [eax + 0x78]
fsub dword [eax + 0x84]
fmul dword [eax + 0x128]
faddp st(1)
fstp dword [eax + 0x1b4]
add esp, 0x40
ret