Function at 0x1001fa90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1003a0fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe4
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
push edi
mov ecx, 0x1c
mov esi, eax
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax]
test eax, eax
jne 0x1001fbe4
lea ecx, [esp + 0x28]
call fcn.10023ef0
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x28]
mov dword [esp + 0xf8], 0
lea esi, [eax + 0x30]
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
mov ecx, esi
call fcn.10023da0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 0x14]
lea edx, [esp + 0x28]
mov dword [esp + 0x84], ecx
mov ecx, dword [ebp + 0x10]
push edx
push eax
push ecx
mov ecx, esi
call fcn.10023da0
fld qword [esp + 0x38]
fadd qword [esp + 0x28]
lea edx, [esp + 0xe0]
lea eax, [esp + 0x78]
push edx
push eax
lea ecx, [esp + 0x30]
fstp qword [esp + 0xe8]
fld qword [esp + 0x48]
fadd qword [esp + 0x38]
fstp qword [esp + 0xf0]
call fcn.10023c90
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
fld qword [esp + 0x38]
mov eax, dword [esp + 0x28]
mov dword [ebx + 8], ecx
fadd qword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [ebx + 0xc], edx
mov edx, dword [esp + 0x30]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x18], edx
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x1c], eax
fstp qword [ebx + 0x20]
fld qword [esp + 0x40]
fadd qword [esp + 0x30]
lea edi, [ebx + 0x30]
mov ecx, 0xa
lea esi, [esp + 0x28]
mov dword [esp + 0xf8], 0xffffffff
fstp qword [ebx + 0x28]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x28]
call fcn.10032a70
mov al, 1
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x1001fe6a
lea esi, [ebx + 0x30]
mov ecx, 0xc
lea edi, [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
fld qword [esp + 0xa0]
fcomp qword [0x1003cba0]
fld qword [esp + 0x98]
fnstsw ax
test ah, 0x41
jne 0x1001fc1e
fsub qword [ebp + 8]
jmp 0x1001fc21
fadd qword [ebp + 8]
fst qword [esp + 0x98]
fstp qword [esp + 0xc]
lea eax, [ebx + 0x10]
lea ecx, [esp + 0x88]
push eax
push 0
push 0
call fcn.1001c490
mov ecx, 0xc
lea esi, [ebx + 0x30]
lea edi, [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
fld qword [esp + 0xa0]
fcomp qword [0x1003cba0]
fld qword [esp + 0x98]
fnstsw ax
test ah, 0x41
jne 0x1001fc71
fsub qword [ebp + 0x10]
jmp 0x1001fc74
fadd qword [ebp + 0x10]
fstp qword [esp + 0x98]
fld qword [esp + 0xc]
fadd qword [esp + 0x98]
lea esi, [ebx + 0x20]
lea ecx, [esp + 0x88]
push esi
push 0x3ff00000
fmul qword [0x1003cd40]
push 0
fstp qword [esp + 0x18]
call fcn.1001c490
lea ecx, [esp + 0xb8]
call fcn.10023ef0
lea eax, [ebx + 0x10]
push esi
push eax
lea ecx, [esp + 0xc0]
mov dword [esp + 0x100], 1
mov dword [esp + 0x1c], eax
call fcn.10023c90
fld qword [esp + 0xd8]
fmul qword [0x1003cd40]
fcom qword [esp + 0xc]
fnstsw ax
test ah, 1
jne 0x1001fd1b
lea ecx, [esp + 0xb8]
mov dword [esp + 0xf8], 0xffffffff
fstp st(0)
call fcn.10032a70
xor al, al
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fld qword [esp + 0xc]
fmul qword [esp + 0xc]
fld st(1)
fmul st(2)
lea ecx, [esp + 0x50]
fsubp st(1)
fsqrt
fstp qword [esp + 0xc]
fstp st(0)
fld qword [esp + 0xc8]
fmul qword [0x1003cd40]
fadd qword [esp + 0xb8]
fstp qword [esp + 0x18]
fld qword [esp + 0xd0]
fmul qword [0x1003cd40]
fadd qword [esp + 0xc0]
fstp qword [esp + 0x20]
call fcn.10023ef0
lea ecx, [esp + 0x50]
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0xc0]
mov byte [esp + 0x100], 2
call fcn.10023d50
fld qword [ebx + 0x48]
fcomp qword [0x1003cba0]
lea edi, [ebx + 0x30]
fld qword [esp + 0xc]
fdiv qword [esp + 0x70]
fnstsw ax
test ah, 0x41
je 0x1001fda5
fchs
fld qword [esp + 0x60]
fmul st(1)
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x28]
mov edx, dword [esi + 4]
push eax
fadd qword [esp + 0x54]
mov eax, dword [esi]
push ecx
mov ecx, dword [ebx + 0x1c]
push edx
mov edx, dword [ebx + 0x18]
push eax
fstp qword [esp + 0x28]
fld qword [esp + 0x78]
mov eax, dword [esp + 0x24]
push ecx
fmul st(1)
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
fadd qword [esp + 0x74]
push edx
mov edx, dword [esp + 0x3c]
fstp qword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
mov ecx, edi
fstp st(0)
call fcn.1001c2d0
mov ecx, dword [edi + 0x28]
mov eax, dword [esp + 0x14]
mov dword [ebx + 8], ecx
mov edx, dword [edi + 0x2c]
push eax
push 0
push 0
mov ecx, edi
mov dword [ebx + 0xc], edx
call fcn.1001c490
push esi
push 0x3ff00000
push 0
mov ecx, edi
call fcn.1001c490
lea ecx, [esp + 0x50]
mov byte [esp + 0xf8], 1
call fcn.10032a70
lea ecx, [esp + 0xb8]
mov dword [esp + 0xf8], 0xffffffff
call fcn.10032a70
mov al, 1
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ebx
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call fcn.1001f7c0
mov ecx, dword [esp + 0x104]
add esp, 0x14
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret