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

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 0xa4
mov edi, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
cmp dword [esp + 0xc4], 0
jle 0x1017b6a0
fld dword [0x103a3920]
fstp st(0)
fld dword [0x103a3924]
fstp st(0)
mov ecx, dword [esp + 0xc0]
mov eax, dword [esp + 0xc8]
mov ebx, ecx
mov esi, ecx
mov dword [esp + 4], 0
lea ebp, [ecx + ecx*2]
shl ebx, 4
lea eax, [eax + 0x20]
shl esi, 5
mov dword [esp + 0x1c], eax
lea eax, [ecx + ecx]
mov dword [esp + 0xc], ebp
lea ecx, [ecx + ecx*4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x10], esi
mov dword [esp + 8], ebx
mov ebp, dword [esp + 4]
mov eax, dword [esp + 8]
mov dword [esp + 4], ebp
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x24], edi
lea ebx, [eax + edi]
mov dword [esp + 0x68], ebx
add eax, edx
mov ebx, dword [esp + 0xc]
lea esi, [edi + ecx*8]
fld dword [esi]
lea ecx, [edx + ecx*8]
fld st(0)
fld dword [esi + 4]
lea ebp, [edi + ebx*8]
mov dword [esp + 0x18], ebp
fld st(0)
mov ebp, dword [esp + 0x10]
lea ebx, [edx + ebx*8]
mov dword [esp + 0x64], esi
cmp dword [esp + 0x50], 2
lea edi, [ebp + edi]
mov dword [esp + 0x60], edi
fld dword [edi]
lea ebp, [ebp + edx]
mov dword [esp + 0x58], ebp
fsub st(4), st(0)
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x18]
fxch st(4)
fstp dword [esp + 0x2c]
fxch st(3)
faddp st(2)
fld dword [edi + 4]
mov edi, dword [esp + 0x68]
fsub st(1), st(0)
fxch st(1)
fstp dword [esp + 0x30]
faddp st(2)
fxch st(1)
fst dword [esp + 0x28]
fld dword [edi]
fld st(0)
fld dword [edi + 4]
fld st(0)
fld dword [ebp]
mov edi, dword [esp + 0x24]
fadd st(3), st(0)
fxch st(3)
fst dword [esp + 0x34]
fxch st(3)
fsubp st(4)
fld dword [ebp + 4]
mov esi, dword [esp + 0x58]
fadd st(1), st(0)
fxch st(1)
fst dword [esp + 0x38]
fxch st(1)
fsubp st(2)
fld dword [0x103a3918]
fmul st(6)
fld dword [0x103a391c]
fmul st(4)
fxch st(1)
fadd dword [edi]
mov ebp, dword [esp + 4]
faddp st(1)
fstp dword [esp + 0x3c]
fld dword [0x103a3918]
fmulp st(5)
fld dword [0x103a391c]
fmulp st(1)
fxch st(4)
fadd dword [edi + 4]
faddp st(4)
fxch st(3)
fstp dword [esp + 0x40]
fld dword [0x103a3920]
fld st(0)
fmul dword [esp + 0x30]
fld dword [0x103a3924]
fld st(0)
fmul st(6)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x44]
fld st(1)
fld st(1)
fmul st(5)
fxch st(3)
fmul st(6), st(0)
fmulp st(5)
fmul dword [esp + 0x2c]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x48]
fld dword [0x103a391c]
fmul st(5)
fld dword [0x103a3918]
fmulp st(3)
fadd dword [edi]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x4c]
fld dword [0x103a391c]
fmul dword [esp + 0x28]
fld dword [esp + 0x38]
fld dword [0x103a3918]
fmul st(1)
fxch st(2)
fadd dword [edi + 4]
faddp st(2)
fld dword [esp + 0x30]
fmul st(3)
fsubrp st(5)
fld dword [esp + 0x2c]
fmulp st(3)
fxch st(3)
fsubp st(2)
fld dword [esp + 0x44]
fld dword [edi]
faddp st(6)
fxch st(5)
fadd dword [esp + 0x34]
fstp dword [edx]
fld dword [edi + 4]
fld dword [esp + 0x3c]
fxch st(1)
fadd dword [esp + 0x28]
faddp st(4)
fxch st(3)
fstp dword [edx + 4]
fld st(2)
fsub st(5)
fstp dword [ecx]
fxch st(4)
faddp st(2)
fld dword [esp + 0x40]
fld st(0)
fxch st(1)
fsub dword [esp + 0x48]
fxch st(1)
fadd dword [esp + 0x48]
fstp dword [ecx + 4]
fld dword [esp + 0x4c]
fld st(0)
fsub st(5)
fstp dword [eax]
fld st(5)
fadd st(3)
fstp dword [eax + 4]
faddp st(4)
fxch st(3)
fstp dword [ebx]
fsubp st(3)
fxch st(2)
fstp dword [ebx + 4]
fxch st(1)
fstp dword [esi]
fstp dword [esi + 4]
jle 0x1017b688
mov dword [esp], 2
mov dword [esp + 0x54], ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 4], ebp
mov dword [esp + 0x58], esi
mov ebx, dword [esp]
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
fld dword [ebp]
fld dword [ebp + 4]
mov esi, dword [esp + 0x64]
fld st(0)
fld dword [esi + ebx*4]
fld st(0)
fmul st(4)
fxch st(3)
fmulp st(1)
fld dword [esi + ebx*4 + 4]
fmul st(4), st(0)
mov esi, dword [esp + 0x68]
fxch st(1)
faddp st(4)
fmulp st(1)
fsubp st(1)
fld dword [ebp + 8]
fld st(0)
fld dword [ebp + 0xc]
fld st(0)
fld dword [esi + ebx*4]
fmul st(3), st(0)
fmulp st(2)
fld dword [esi + ebx*4 + 4]
fmul st(4), st(0)
mov esi, dword [esp + 0x60]
fxch st(2)
faddp st(4)
fxch st(3)
fstp dword [esp + 0x70]
fmulp st(2)
fsubrp st(1)
fstp dword [esp + 0x6c]
fld dword [ebp + 0x10]
fld st(0)
fld dword [ebp + 0x14]
fld st(0)
fld dword [eax + ebx*4]
fmul st(3), st(0)
fmulp st(2)
fld dword [eax + ebx*4 + 4]
fmul st(4), st(0)
fxch st(2)
faddp st(4)
fxch st(3)
fstp dword [esp + 0x78]
fmulp st(2)
fsubrp st(1)
fstp dword [esp + 0x74]
fld dword [ebp + 0x18]
fld st(0)
fld dword [ebp + 0x1c]
add ebp, 0x20
fld st(0)
fld dword [esi + ebx*4]
fmul st(3), st(0)
fmulp st(2)
fld st(4)
fld dword [esi + ebx*4 + 4]
fmul st(5), st(0)
mov esi, dword [esp + 0x5c]
fxch st(3)
faddp st(5)
fxch st(2)
fmulp st(1)
fsubp st(2)
fxch st(1)
fsub st(3), st(0)
fxch st(3)
fstp dword [esp + 0x80]
fld st(3)
fadd st(2)
fst dword [esp + 0x7c]
fxch st(2)
fsubp st(4)
fxch st(3)
fstp dword [esp + 0x84]
fxch st(1)
faddp st(2)
fld dword [esp + 0x6c]
fld st(0)
fld dword [esp + 0x74]
fadd st(1), st(0)
fxch st(1)
fst dword [esp + 0x88]
fxch st(1)
fsubp st(2)
fld dword [esp + 0x70]
fld st(0)
fld dword [esp + 0x78]
fadd st(1), st(0)
fxch st(1)
fst dword [esp + 0x8c]
fxch st(1)
fsubp st(2)
fld dword [0x103a3918]
fmul st(6)
fld dword [0x103a391c]
fmul st(4)
faddp st(1)
fld dword [0x103a3918]
fmulp st(6)
fadd dword [edi + ebx*4]
fstp dword [esp + 0x90]
fld dword [0x103a391c]
fmulp st(1)
faddp st(4)
fld dword [0x103a3924]
fld st(0)
fmul st(2)
fxch st(5)
fadd dword [edi + ebx*4 + 4]
fstp dword [esp + 0x94]
fld dword [0x103a3920]
fld st(0)
fxch st(1)
fmul st(3), st(0)
fxch st(1)
fmul dword [esp + 0x84]
faddp st(6)
fxch st(5)
fstp dword [esp + 0x98]
fld st(4)
fld st(1)
fmul st(5)
fxch st(6)
fmulp st(5)
fmul dword [esp + 0x80]
faddp st(5)
fxch st(4)
fstp dword [esp + 0x9c]
fld dword [0x103a391c]
fmul st(5)
fxch st(5)
mov esi, esi
fadd dword [esp + 0x88]
lea esi, [esi]
fld dword [0x103a3918]
fmulp st(3)
fxch st(2)
faddp st(5)
fld dword [0x103a3918]
fxch st(2)
fadd dword [edi + ebx*4]
fxch st(5)
fadd dword [edi + ebx*4]
fstp dword [esp + 0xa0]
fld dword [0x103a391c]
fmul dword [esp + 0x7c]
fld dword [esp + 0x8c]
fmul st(3), st(0)
fxch st(3)
faddp st(1)
fld dword [esp + 0x84]
fmul st(5)
fsubrp st(2)
fld dword [esp + 0x80]
fmulp st(5)
fxch st(3)
fsubp st(4)
fld dword [esp + 0x7c]
faddp st(2)
fxch st(2)
fadd dword [edi + ebx*4 + 4]
fxch st(4)
fstp dword [edx + ebx*4]
fld dword [esp + 0x98]
fxch st(1)
fadd dword [edi + ebx*4 + 4]
lea esi, [esi]
fstp dword [edx + ebx*4 + 4]
fld dword [esp + 0x90]
fld st(0)
fsub st(2)
fstp dword [ecx + ebx*4]
faddp st(1)
fld dword [esp + 0x94]
fld st(0)
fxch st(1)
fsub dword [esp + 0x9c]
fxch st(1)
fadd dword [esp + 0x9c]
fstp dword [ecx + ebx*4 + 4]
fld dword [esp + 0xa0]
fld st(0)
fsub st(4)
fstp dword [esi + ebx*4]
fld st(5)
fadd st(5)
lea esi, [esi]
fstp dword [esi + ebx*4 + 4]
faddp st(3)
fxch st(3)
fsubp st(4)
mov esi, dword [esp + 0x54]
fxch st(3)
fstp dword [esi + ebx*4 + 4]
fstp dword [esi + ebx*4]
mov esi, dword [esp + 0x58]
fxch st(1)
fstp dword [esi + ebx*4]
fstp dword [esi + ebx*4 + 4]
add ebx, 2
cmp ebx, dword [esp + 0x50]
jl 0x1017b3fe
mov ebp, dword [esp + 4]
mov eax, dword [esp + 0x20]
inc ebp
cmp ebp, dword [esp + 0xc4]
lea edi, [edi + eax*8]
lea edx, [edx + eax*8]
jl 0x1017b1fe
add esp, 0xa4
pop ebp
pop ebx
pop edi
pop esi
ret