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

Disassembly:
sub esp, 0x48
push ebx
mov ebx, dword [esp + 0x54]
fld dword [ebx + 8]
push ebp
mov ebp, dword [esp + 0x64]
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 4]
fmul dword [esi + 8]
mov eax, dword [esi + 0xc]
fld dword [ebx]
lea eax, [eax + eax*4]
fmul dword [esi]
mov ecx, dword [ecx + eax*4 + 4]
mov eax, dword [ebp]
shl ecx, 4
faddp st(1)
add ecx, eax
fld dword [ebx + 4]
push edi
fmul dword [esi + 4]
mov dword [esp + 0x14], 2
mov dword [esp + 0x20], 0
faddp st(1)
fst dword [esp + 0x6c]
fcomp dword [0x10eadcc0]
fnstsw ax
test ah, 0x41
jne 0x10c8d698
fld dword [esp + 0x64]
mov edx, dword [esp + 0x74]
fstp dword [edx]
jmp 0x10c8d6bf
fld dword [esp + 0x6c]
fcomp dword [0x10eade80]
fnstsw ax
test ah, 5
jp 0x10c8d6b5
fld dword [esp + 0x68]
mov eax, dword [esp + 0x74]
fstp dword [eax]
jmp 0x10c8d6bf
mov edx, dword [esp + 0x74]
mov dword [edx], 0
mov eax, dword [esp + 0x5c]
push ecx
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.10c8dca0
push esi
lea edx, [esp + 0x50]
push edx
call fcn.10c8dcd0
fld dword [esp + 0x6c]
mov ecx, dword [esi]
mov eax, dword [esp + 0x74]
fmul dword [eax]
mov edi, dword [esp + 0x70]
mov dword [edi], ecx
mov edx, dword [esi + 4]
mov dword [edi + 4], edx
faddp st(1)
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov ecx, dword [ebp + 0x14]
fstp dword [esp + 0x60]
mov eax, 1
cmp ecx, eax
mov dword [esp + 0x6c], eax
jle 0x10c8d7da
fld dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
fmul dword [ebx + 8]
mov edx, dword [ebp + 8]
fld dword [esi + 0x14]
add esi, 0x10
fmul dword [ebx + 4]
lea ecx, [eax + eax*4]
mov ecx, dword [edx + ecx*4 + 4]
mov eax, dword [ebp]
faddp st(1)
shl ecx, 4
fld dword [ebx]
add ecx, eax
fmul dword [esi]
faddp st(1)
fst dword [esp + 0x18]
fcomp dword [0x10eadcc0]
fnstsw ax
test ah, 0x41
jne 0x10c8d759
mov eax, dword [esp + 0x64]
mov dword [esp + 0x10], eax
jmp 0x10c8d77c
fld dword [esp + 0x18]
fcomp dword [0x10eade80]
fnstsw ax
test ah, 5
jp 0x10c8d774
mov edx, dword [esp + 0x68]
mov dword [esp + 0x10], edx
jmp 0x10c8d77c
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x5c]
push ecx
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.10c8dca0
push esi
lea edx, [esp + 0x50]
push edx
call fcn.10c8dcd0
fld dword [esp + 0x18]
fmul dword [esp + 0x10]
faddp st(1)
fcom dword [esp + 0x60]
fnstsw ax
test ah, 0x41
jne 0x10c8d7c4
mov eax, dword [esp + 0x10]
fstp dword [esp + 0x60]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
mov dword [ecx], eax
mov dword [esp + 0x20], edx
jmp 0x10c8d7c6
fstp st(0)
mov eax, dword [esp + 0x6c]
mov ecx, dword [ebp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x6c], eax
jl 0x10c8d712
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x20]
shl eax, 4
mov ecx, dword [eax + edx]
add eax, edx
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
mov ecx, dword [ebp + 0x18]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x6c], eax
jle 0x10c8dc84
mov dword [esp + 0x20], eax
lea esp, [esp]
mov ecx, dword [esp + 0x20]
mov edi, dword [ebp + 8]
mov eax, dword [edi + ecx + 0xc]
add edi, ecx
mov ecx, dword [edi + 0x10]
cmp ecx, eax
jl 0x10c8dc4f
mov eax, dword [edi + 8]
mov esi, dword [edi + 4]
mov ecx, dword [ebp]
shl eax, 4
fld dword [eax + ecx]
add eax, ecx
shl esi, 4
fsub dword [esi + ecx]
add esi, ecx
lea edx, [esp + 0x2c]
push edx
fstp dword [esp + 0x44]
mov edx, dword [esp + 0x6c]
fld dword [eax + 4]
lea ecx, [esp + 0x20]
fsub dword [esi + 4]
fstp dword [esp + 0x48]
fld dword [eax + 8]
lea eax, [esp + 0x14]
fsub dword [esi + 8]
push eax
mov eax, dword [esp + 0x6c]
push ecx
fst dword [esp + 0x54]
mov ecx, dword [esp + 0x68]
fmul dword [esp + 0x54]
push edx
fld dword [esp + 0x54]
push eax
fmul dword [esp + 0x58]
push ebx
push ecx
lea eax, [esp + 0x5c]
faddp st(1)
fld dword [esp + 0x5c]
fmul dword [esp + 0x5c]
faddp st(1)
fld dword [edi]
fld dword [esp + 0x5c]
fmul st(1)
fstp dword [esp + 0x5c]
fld dword [esp + 0x60]
fmul st(1)
fstp dword [esp + 0x60]
fld dword [esp + 0x64]
fmul st(1)
fstp dword [esp + 0x64]
fstp st(0)
fmul dword [edi]
fstp dword [esp + 0x40]
mov edx, dword [esp + 0x40]
push edx
push 0
push eax
push esi
call fcn.10df0b70
fld dword [esp + 0x3c]
fmul dword [ebx]
mov edx, dword [esp + 0x88]
add esp, 0x2c
mov dword [esp + 0x28], eax
fadd dword [edx]
fstp dword [esp + 0x34]
fld dword [esp + 0x10]
fmul dword [ebx + 4]
fadd dword [edx + 4]
fstp dword [esp + 0x38]
fld dword [esp + 0x10]
fmul dword [ebx + 8]
fadd dword [edx + 8]
fstp dword [esp + 0x3c]
fld dword [esp + 0x34]
fsub dword [esi]
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fsub dword [esi + 4]
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fsub dword [esi + 8]
mov ecx, dword [ebp + 4]
fld dword [esp + 0x1c]
fchs
fld dword [esp + 0x40]
fmul st(1)
fadd dword [esp + 0x34]
fstp dword [esp + 0x34]
fld dword [esp + 0x44]
fmul st(1)
fadd dword [esp + 0x38]
fstp dword [esp + 0x38]
fld dword [esp + 0x48]
fmul st(1)
fadd st(2)
fstp dword [esp + 0x3c]
mov eax, dword [edi + 0x10]
mov edi, dword [edi + 0xc]
fstp st(0)
shl edi, 4
fstp st(0)
add edi, ecx
fld dword [esp + 0x3c]
shl eax, 4
fmul dword [esp + 0x3c]
add eax, ecx
fld dword [esp + 0x38]
fmul dword [esp + 0x38]
faddp st(1)
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
faddp st(1)
fstp dword [esp + 0x18]
fld dword [edi]
fadd dword [eax]
fld dword [edi + 4]
fadd dword [eax + 4]
fstp dword [esp + 0x50]
fld dword [edi + 8]
fadd dword [eax + 8]
fstp dword [esp + 0x54]
fld dword [esp + 0x18]
fcomp dword [0x10eadcc0]
fnstsw ax
test ah, 0x41
jne 0x10c8da34
fld dword [esp + 0x18]
fsqrt
fdivr dword [0x10e45008]
fld dword [esp + 0x34]
fmul st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fmul st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fmul st(1)
fstp dword [esp + 0x3c]
fstp st(0)
fld dword [esp + 0x54]
fmul dword [esp + 0x3c]
fld dword [esp + 0x50]
fmul dword [esp + 0x38]
faddp st(1)
fxch st(1)
fmul dword [esp + 0x34]
faddp st(1)
fcomp dword [0x10e4500c]
fnstsw ax
test ah, 5
jp 0x10c8db71
fld dword [esp + 0x34]
fmul dword [0x10e49260]
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fmul dword [0x10e49260]
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fmul dword [0x10e49260]
fstp dword [esp + 0x3c]
jmp 0x10c8db71
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10c8daf3
fld dword [esp + 0x44]
fmul dword [ebx + 8]
fld dword [esp + 0x48]
fmul dword [ebx + 4]
fsubp st(1)
fld dword [esp + 0x48]
fmul dword [ebx]
fld dword [esp + 0x40]
fmul dword [ebx + 8]
fsubp st(1)
fld dword [esp + 0x40]
fmul dword [ebx + 4]
fld dword [esp + 0x44]
fmul dword [ebx]
fsubp st(1)
fstp dword [esp + 0x3c]
fld dword [esp + 0x18]
fsqrt
fdivr dword [0x10e45008]
fstp dword [esp + 0x18]
fxch st(1)
fmul dword [esp + 0x18]
fstp dword [esp + 0x34]
fmul dword [esp + 0x18]
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fmul dword [esp + 0x18]
fstp dword [esp + 0x3c]
fld dword [esp + 0x54]
fmul dword [esp + 0x3c]
fld dword [esp + 0x50]
fmul dword [esp + 0x38]
faddp st(1)
fxch st(1)
fmul dword [esp + 0x34]
faddp st(1)
fcomp dword [0x10e4500c]
fnstsw ax
test ah, 5
jp 0x10c8db07
fld dword [esp + 0x34]
fmul dword [0x10e49260]
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fmul dword [0x10e49260]
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fmul dword [0x10e49260]
fstp dword [esp + 0x3c]
jmp 0x10c8db07
mov ecx, dword [esp + 0x50]
fstp dword [esp + 0x34]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
fld dword [0x10e4500c]
xor eax, eax
nop
fld dword [esp + eax*4 + 0x34]
inc eax
cmp eax, 3
fld st(0)
fmul st(1)
faddp st(2)
fstp st(0)
jl 0x10c8db10
fcom dword [0x10e4500c]
fnstsw ax
test ah, 0x41
jne 0x10c8db57
fsqrt
fdivr dword [0x10e45008]
fld dword [esp + 0x34]
fmul st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fmul st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fmul st(1)
fstp dword [esp + 0x3c]
jmp 0x10c8db6f
mov dword [esp + 0x34], 0x3f800000
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
fstp st(0)
fld dword [esp + 0x3c]
fmul dword [ebx + 8]
fld dword [esp + 0x38]
fmul dword [ebx + 4]
faddp st(1)
fld dword [esp + 0x34]
fmul dword [ebx]
faddp st(1)
fcom dword [0x10e4500c]
fnstsw ax
test ah, 5
jp 0x10c8db9c
fld dword [esp + 0x68]
jmp 0x10c8dba0
fld dword [esp + 0x64]
fmul st(1)
lea ecx, [esp + 0x30]
fld dword [esp + 0x3c]
push ecx
fmul dword [edx + 8]
push 0x7f7fffff
push 0xffffffffffffffff
faddp st(1)
fld dword [esp + 0x44]
fmul dword [edx + 4]
faddp st(1)
fld dword [esp + 0x40]
fmul dword [edx]
lea edx, [esp + 0x40]
push edx
push ebp
faddp st(1)
fstp dword [esp + 0x3c]
fstp st(0)
call fcn.10c8dcf0
fsubr dword [esp + 0x3c]
fld dword [esp + 0x74]
add esp, 0x14
fsub dword [0x10eadcc0]
fld st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x10c8dc4d
mov eax, dword [esp + 0x70]
fstp dword [esp + 0x60]
mov ecx, dword [esp + 0x34]
fld dword [esp + 0x1c]
fcomp dword [0x10e4500c]
mov edx, dword [esp + 0x38]
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
fnstsw ax
test ah, 0x41
jnp 0x10c8dc39
fld dword [esp + 0x1c]
mov dword [esp + 0x14], 1
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 1
jne 0x10c8dc41
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x74]
mov dword [eax], edx
jmp 0x10c8dc4f
fstp st(0)
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x20]
mov ecx, dword [ebp + 0x18]
inc eax
add edx, 0x14
cmp eax, ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x20], edx
jl 0x10c8d810
mov ecx, dword [esp + 0x78]
fld dword [esp + 0x60]
mov edx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword [ecx], edx
pop ebx
add esp, 0x48
ret
mov eax, dword [esp + 0x78]
fld dword [esp + 0x60]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x48
ret