Function at 0x40f8c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x77113e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push esi
mov esi, ecx
fld dword [esi + 0x10]
mov eax, dword [esi + 0x18]
fld dword [esi + 0x14]
mov ecx, dword [esi + 0x1c]
fld dword [esi + 0x40]
mov edx, dword [esi + 0x20]
fadd st(0), st(0)
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x10], ecx
fstp dword [esp + 0xc]
mov ecx, dword [esi + 0x28]
fxch st(1)
mov dword [esp + 0x68], edx
fmul dword [esp + 0xc]
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0x30]
fstp dword [esp + 0x1c]
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 0x34]
fmul dword [esp + 0xc]
mov dword [esp + 0x60], edx
fld dword [esp + 0x14]
mov edx, dword [esi + 0x38]
fmul dword [esp + 0xc]
mov dword [esp + 0x78], eax
fld dword [esp + 0x10]
mov eax, dword [esi + 0x3c]
fmul dword [esp + 0xc]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x18], eax
fstp dword [esp + 0x28]
push edi
fld dword [esi + 0x44]
fadd st(0), st(0)
fld dword [esp + 0x6c]
fmul st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x70]
fmul st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x78]
fmul st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x64]
fmul st(1)
fstp dword [esp + 0x3c]
fstp st(0)
fld dword [esi + 0x48]
fadd st(0), st(0)
fld dword [esp + 0x7c]
fmul st(1)
fstp dword [esp + 0x40]
fld dword [esp + 0x74]
fmul st(1)
fstp dword [esp + 0x44]
fld dword [esp + 0x68]
fmul st(1)
fstp dword [esp + 0x48]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x4c]
fld dword [esp + 0x2c]
fmul dword [0x7d7d3c]
fld st(1)
fmul dword [0x7d7d3c]
fst dword [esp + 0x18]
fadd st(1)
fld st(3)
fmul dword [0x7d7d3c]
fstp dword [esp + 0x14]
fld dword [esp + 0x20]
fadd dword [esp + 0x14]
fadd st(1)
fstp dword [esp + 0x80]
fld dword [esp + 0x20]
fmul dword [0x7d7d3c]
fstp dword [esp + 0x10]
fxch st(3)
fadd dword [esp + 0x10]
fadd st(3)
fstp dword [esp + 0x84]
fstp st(2)
fadd dword [esp + 0x10]
fadd dword [esp + 0x14]
fadd st(1)
fstp dword [esp + 0x88]
fstp st(0)
fld dword [esp + 0x2c]
fadd dword [esp + 0x10]
fadd dword [esp + 0x14]
fadd dword [esp + 0x18]
fstp dword [esp + 0x8c]
fld dword [esp + 0x3c]
fmul dword [0x7d7d3c]
fld dword [esp + 0x38]
fmul dword [0x7d7d3c]
fld dword [esp + 0x34]
fmul dword [0x7d7d3c]
fld dword [esp + 0x30]
fadd st(1)
fadd st(2)
fadd st(3)
fstp dword [esp + 0x90]
fld dword [esp + 0x30]
fmul dword [0x7d7d3c]
fld st(0)
fadd st(4)
fld dword [esp + 0x34]
fadd st(1)
fadd st(4)
fstp dword [esp + 0x94]
fld dword [esp + 0x38]
fadd st(1)
fadd st(3)
fstp dword [esp + 0x98]
fstp st(0)
fld dword [esp + 0x3c]
fadd st(1)
fadd st(2)
fadd st(3)
fstp dword [esp + 0x9c]
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [esp + 0x4c]
fmul dword [0x7d7d3c]
fld dword [esp + 0x48]
fmul dword [0x7d7d3c]
fld dword [esp + 0x44]
fmul dword [0x7d7d3c]
fld dword [esp + 0x40]
fadd st(1)
fadd st(2)
fadd st(3)
fstp dword [esp + 0xa0]
fld dword [esp + 0x40]
fmul dword [0x7d7d3c]
fld st(0)
fadd st(4)
fld dword [esp + 0x44]
fadd st(1)
fadd st(4)
fstp dword [esp + 0xa4]
fld dword [esp + 0x48]
fadd st(1)
fadd st(3)
fstp dword [esp + 0xa8]
lea ecx, [esp + 0x80]
push ecx
fstp st(0)
lea edx, [esp + 0x24]
fld dword [esp + 0x50]
push edx
fadd st(1)
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
fadd st(2)
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0x3f800000
fadd st(3)
fstp dword [esp + 0xb4]
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.00401310
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x4c]
add esp, 8
test eax, eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
jne 0x40fbce
mov ecx, dword [0x8a1d08]
push ecx
call fcn.00440ea0
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
test edi, edi
mov dword [esp + 0xcc], 0
je 0x40fbbe
push 0
push 0
push str.DEBUG_CUBE
call fcn.0043dbc0
add esp, 4
push eax
mov ecx, edi
call fcn.00637b30
jmp 0x40fbc0
xor eax, eax
mov dword [esp + 0xcc], 0xffffffff
mov dword [esi + 0x4c], eax
mov ecx, dword [esi + 0x4c]
lea edx, [esp + 0x20]
push edx
call fcn.0040f040
mov ecx, dword [esp + 0xc4]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4