Function at 0x10026900
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1003a3a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
fld qword [eax + 0x20]
fabs
fcomp qword [0x1003d070]
fnstsw ax
test ah, 1
je 0x10026955
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.100265e0
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x4c]
call fcn.100156c0
mov eax, dword [esi + 4]
xor edi, edi
push 4
lea ecx, [esp + 0x18]
fld qword [eax + 0x18]
fdiv qword [eax + 0x20]
mov dword [esp + 0x84], edi
fst qword [esp + 0x40]
fld qword [eax + 0x10]
fdiv qword [eax + 0x20]
fstp qword [esp + 0x48]
fld qword [eax + 8]
fdiv qword [eax + 0x20]
fstp qword [esp + 0x20]
fld qword [eax]
fdiv qword [eax + 0x20]
fstp qword [esp + 0x28]
fld st(0)
fmul st(1)
fstp qword [esp + 0x38]
fstp st(0)
call fcn.100264c0
mov edx, dword [esp + 0x18]
mov byte [esp + 0x80], 1
fld qword [esp + 0x44]
fmul qword [0x1003d0e0]
mov dword [edx + 0x18], edi
mov eax, dword [esp + 0x18]
mov dword [eax + 0x1c], 0x40200000
mov ecx, dword [esp + 0x18]
fstp qword [ecx + 0x10]
fld qword [esp + 0x1c]
fmul qword [esp + 0x3c]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x18]
fadd st(0), st(0)
fld qword [esp + 0x28]
fmul qword [0x1003d098]
fsubp st(1)
fstp qword [edx + 8]
fld qword [esp + 0x48]
fmul qword [0x1003d088]
mov eax, dword [esp + 0x1c]
fst qword [esp + 0x30]
fsub qword [esp + 0x38]
fmul qword [esp + 0x28]
fld qword [esp + 0x20]
fmul qword [esp + 0x20]
fsubp st(1)
fstp qword [eax]
call fcn.100265e0
fld qword [esp + 0x60]
fld st(0)
fmul qword [0x1003d098]
mov ecx, eax
fadd qword [esp + 0x34]
fsub qword [esp + 0x2c]
fstp qword [esp + 0xc]
fstp qword [esp + 0x24]
fld qword [esp + 0xc]
fcomp qword [0x1003cba0]
fnstsw ax
test ah, 1
je 0x10026b6d
cmp ecx, 1
jle 0x10026aac
fld qword [esp + 0x68]
fld st(0)
fmul qword [0x1003d098]
fadd qword [esp + 0x34]
fsub qword [esp + 0x2c]
fstp qword [esp + 0xc]
fstp qword [esp + 0x24]
fld qword [esp + 0xc]
fcomp qword [0x1003cba0]
fnstsw ax
test ah, 1
je 0x10026b6d
cmp ecx, 2
jle 0x10026aac
fld qword [esp + 0x70]
fld st(0)
fmul qword [0x1003d098]
fadd qword [esp + 0x34]
fsub qword [esp + 0x2c]
fstp qword [esp + 0xc]
fstp qword [esp + 0x24]
fld qword [esp + 0xc]
fcomp qword [0x1003cba0]
fnstsw ax
test ah, 1
je 0x10026b6d
fld qword [esp + 0xc]
fchs
fsqrt
mov edx, dword [ebp + 8]
fld qword [esp + 0x24]
fmul qword [esp + 0x3c]
fsub qword [esp + 0x1c]
fadd st(0), st(0)
fdiv st(1)
fdiv st(1)
fstp qword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
fstp st(0)
fld qword [esp + 0x44]
push eax
push ecx
fstp qword [edx]
mov ecx, esi
call fcn.10027470
fabs
fcomp qword [0x1003d070]
lea ecx, [esp + 0x14]
fnstsw ax
test ah, 1
je 0x10026b3f
call fcn.10032a70
lea ecx, [esp + 0x4c]
mov dword [esp + 0x80], 0xffffffff
call fcn.10015700
mov eax, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.10032a70
lea ecx, [esp + 0x4c]
mov dword [esp + 0x80], 0xffffffff
call fcn.10015700
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
fld qword [esp + 0xc]
fsqrt
push 3
lea ecx, [esp + 0x38]
fstp qword [esp + 0x48]
call fcn.100264c0
fld qword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov edi, dword [ebp + 8]
push edi
mov byte [esp + 0x84], 2
fstp qword [edx + 0x10]
fld qword [esp + 0x48]
fmul qword [esp + 0x40]
mov eax, dword [esp + 0x3c]
fst qword [esp + 0x58]
fadd qword [esp + 0x10]
fmul qword [0x1003cd40]
fstp qword [eax + 8]
fld qword [esp + 0x28]
fmul qword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
fsub qword [esp + 0x20]
fstp qword [esp + 0x20]
fld qword [esp + 0x48]
fmul qword [esp + 0x28]
fst qword [esp + 0x40]
fadd qword [esp + 0x20]
fstp qword [ecx]
lea ecx, [esp + 0x38]
call fcn.10026520
push 3
lea ecx, [esp + 0x30]
mov esi, eax
call fcn.100264c0
fld qword [esp + 0x44]
mov edx, dword [esp + 0x30]
mov byte [esp + 0x80], 3
fstp qword [edx + 0x10]
fld qword [esp + 0x54]
fsub qword [esp + 0xc]
mov eax, dword [esp + 0x30]
lea edx, [edi + esi*8]
push edx
fmul qword [0x1003cd40]
fstp qword [eax + 8]
fld qword [esp + 0x40]
fsub qword [esp + 0x20]
mov ecx, dword [esp + 0x34]
fstp qword [ecx]
lea ecx, [esp + 0x30]
call fcn.10026520
lea ecx, [esp + 0x2c]
add esi, eax
call fcn.10032a70
lea ecx, [esp + 0x34]
call fcn.10032a70
lea ecx, [esp + 0x14]
call fcn.10032a70
lea ecx, [esp + 0x4c]
mov dword [esp + 0x80], 0xffffffff
call fcn.10015700
mov ecx, dword [esp + 0x78]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4