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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x3138
call 0x10015890
fld qword [0x167cf40]
fsqrt
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0x41800000
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0x42000000
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 0x423e0000
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0x427c0000
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], 0x42fa0000
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], 0x437a0000
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], 0x43fa0000
mov dword [esp + 0x68], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], 0x447a0000
mov dword [esp + 0x78], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], 0x44fa0000
mov dword [esp + 0x88], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], 0x457a0000
mov dword [esp + 0x98], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], 0x45fa0000
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], 0x467a0000
mov dword [esp + 0xb8], ebx
mov dword [0x1684260], eax
fstp dword [esp + 0x3c]
fld qword [0x167cf38]
fsqrt
fstp dword [esp + 0x4c]
fld qword [0x167cf30]
fsqrt
fstp dword [esp + 0x5c]
fld qword [0x167cf28]
fsqrt
fstp dword [esp + 0x6c]
fld qword [0x167cf20]
fsqrt
fstp dword [esp + 0x7c]
fld qword [0x167cf18]
fsqrt
fstp dword [esp + 0x8c]
fld qword [0x167cf10]
fsqrt
fstp dword [esp + 0x9c]
fld qword [0x167cf08]
fsqrt
fstp dword [esp + 0xac]
je 0x100023eb
fild dword [0x167f0a4]
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0x28]
mov edx, 0xa
fmul dword [0x167cf04]
fld dword [ebp + 0x10]
fadd dword [eax]
add eax, 4
add ecx, 0x10
dec edx
fmul st(1)
fstp dword [ecx - 0x10]
jne 0x10002186
fstp st(0)
fld dword [esp + 0x28]
fcomp dword [esp + 0x38]
fnstsw ax
test ah, 1
je 0x100021b6
fld dword [esp + 0x28]
fadd st(0), st(0)
fsub dword [esp + 0x38]
jmp 0x100021c0
fld dword [esp + 0x38]
fadd st(0), st(0)
fsub dword [esp + 0x28]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fadd dword [esp + 0x28]
lea eax, [esp + 0x18]
mov ecx, 8
fmul dword [0x167cf00]
fstp dword [esp + 0x20]
fld dword [esp + 0xb8]
fadd dword [esp + 0xa8]
fmul dword [0x167cf00]
fstp dword [esp + 0xb0]
fld dword [eax + 0x20]
fadd dword [eax + 0x10]
add eax, 0x10
dec ecx
fmul dword [0x167cefc]
fld dword [eax + 0x20]
fadd dword [eax - 0x10]
fmul dword [0x167cef8]
fsubp st(1)
fstp dword [eax + 8]
jne 0x100021fa
fld dword [ebp + 8]
fmul qword [0x167cef0]
xor esi, esi
lea edi, [esp + 0xc4]
mov dword [esp + 0xc], esi
fstp qword [esp + 0xbc]
fild dword [esp + 0xc]
fadd qword [0x167cef0]
fmul qword [esp + 0xbc]
fmul qword [0x167cee8]
fst dword [esp + 0xc]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
je 0x1000226a
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
jmp 0x10002298
mov ecx, 1
lea edx, [esp + 0x1c]
fld dword [esp + 0xc]
fcomp dword [edx]
fnstsw ax
test ah, 0x41
jne 0x100023f2
inc ecx
add edx, 8
cmp ecx, 0x15
jb 0x10002273
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x10], ecx
fld qword [0x167cee0]
fld dword [esp + 0x10]
fmul dword [0x167cf04]
call 0x100158c0
fstp dword [edi]
inc esi
add edi, 4
cmp esi, 0xc20
mov dword [esp + 0xc], esi
jl 0x1000223a
push ebx
push 0x24
lea edx, [esp + 0xcc]
push 0x1682fe0
push edx
call fcn.10002420
add esp, 0x10
mov esi, 1
lea ebx, [esp + 0x248]
mov edi, 0x1683074
mov eax, esi
and eax, 1
push eax
push 0xb
push edi
push ebx
call fcn.10002420
add esp, 0x10
add edi, 0x94
inc esi
add ebx, 0x184
cmp edi, 0x168319c
jl 0x100022ec
cmp esi, 6
jge 0x1000235b
lea ecx, [esi + esi*2]
lea edx, [esi + esi*8]
shl ecx, 5
add ecx, esi
lea eax, [esi + edx*4]
lea ebx, [esp + ecx*4 + 0xc4]
lea edi, [eax*4 + 0x1682fe0]
mov ecx, esi
and ecx, 1
push ecx
push 5
push edi
push ebx
call fcn.10002420
add esp, 0x10
add edi, 0x94
inc esi
add ebx, 0x184
cmp edi, 0x1683358
jl 0x10002334
cmp esi, 0xc
jge 0x100023a3
lea edx, [esi + esi*2]
lea eax, [esi + esi*8]
shl edx, 5
add edx, esi
lea ecx, [esi + eax*4]
lea ebx, [esp + edx*4 + 0xc4]
lea edi, [ecx*4 + 0x1682fe0]
mov edx, esi
and edx, 1
push edx
push 2
push edi
push ebx
call fcn.10002420
add esp, 0x10
add edi, 0x94
inc esi
add ebx, 0x184
cmp edi, 0x16836d0
jl 0x1000237c
cmp esi, 0x20
jge 0x100023eb
lea eax, [esi + esi*2]
lea ecx, [esi + esi*8]
shl eax, 5
add eax, esi
lea edx, [esi + ecx*4]
lea ebx, [esp + eax*4 + 0xc4]
lea edi, [edx*4 + 0x1682fe0]
mov eax, esi
and eax, 1
push eax
push 0
push edi
push ebx
call fcn.10002420
add esp, 0x10
add edi, 0x94
inc esi
add ebx, 0x184
cmp edi, 0x1684260
jl 0x100023c4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fld dword [esp + ecx*8 + 0x14]
fsub dword [esp + 0xc]
lea ecx, [esp + ecx*8 + 0x14]
fmul dword [ecx - 4]
fld dword [esp + 0xc]
fsub dword [ecx - 8]
fmul dword [ecx + 4]
faddp st(1)
fld dword [ecx]
fsub dword [ecx - 8]
fdivp st(1)
fstp dword [esp + 0x10]
jmp 0x10002298