Function at 0x40a58a
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x458e37
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x47e084]
xor eax, esp
mov dword [esp + 0x43c], eax
mov eax, dword [0x47e084]
xor eax, esp
push eax
lea eax, [esp + 0x448]
mov dword fs:[0], eax
push 0x400
lea eax, [esp + 0x40]
push 0
push eax
call fcn.004142a0
fld qword [0x478b40]
fstp qword [esp + 0x10]
lea eax, [ebp + 0xc]
fld qword [esp + 0x10]
push eax
fdiv qword [0x478b28]
lea eax, [esp + 0x4c]
fdiv qword [0x478a30]
fadd qword [esp + 0x14]
fld qword [esp + 0x14]
fdiv qword [0x478b20]
fmul qword [esp + 0x14]
fsubp st(1)
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fadd qword [esp + 0x14]
fadd qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [0x478b18]
faddp st(1)
fadd qword [esp + 0x14]
fadd qword [0x478b10]
fsub qword [esp + 0x14]
fsub qword [0x478b08]
fsub qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [0x478b00]
faddp st(1)
fadd qword [esp + 0x14]
fadd qword [esp + 0x14]
fadd qword [esp + 0x14]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fsub qword [esp + 0x14]
fadd qword [0x478a60]
fadd qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [esp + 0x14]
faddp st(1)
fsub qword [esp + 0x14]
fsub qword [0x478af8]
fsub qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [0x478af0]
fsubp st(1)
fsub qword [esp + 0x14]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fsub qword [esp + 0x14]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fadd qword [esp + 0x14]
fsub qword [0x478ae8]
fld qword [esp + 0x14]
fmul qword [esp + 0x14]
push dword [ebp + 8]
push 0x3ff
faddp st(1)
push eax
fstp qword [esp + 0x20]
call fcn.00414b1b
fld qword [0x478a98]
add esp, 0x1c
fst qword [esp + 4]
fld qword [0x478a30]
fst qword [esp + 0x14]
fld qword [0x478a90]
fstp qword [esp + 0xc]
fld qword [0x478a88]
fstp qword [esp + 0x1c]
fxch st(1)
fstp qword [esp + 0x24]
fld qword [0x478a80]
fstp qword [esp + 0x24]
fld qword [esp + 4]
fadd qword [0x478a78]
fadd qword [esp + 0x14]
fadd qword [esp + 0x1c]
fld qword [esp + 0x1c]
fmul qword [0x478a70]
fsubp st(1)
fstp qword [esp + 0xc]
fld qword [esp + 0x24]
fmul qword [0x478a68]
fadd qword [esp + 0xc]
fld qword [esp + 0xc]
fmul qword [esp + 4]
fld qword [0x478a60]
fmul st(1), st(0)
fxch st(1)
fdiv qword [0x478a58]
fsubp st(2)
fxch st(1)
fstp qword [esp + 0x24]
fld qword [esp + 0x14]
fld qword [esp + 0x24]
fmul qword [0x478a50]
fsubp st(1)
fadd qword [esp + 0x14]
fstp qword [esp + 0x1c]
fld qword [esp + 0xc]
fmul qword [esp + 0x14]
fmul qword [esp + 0x14]
fsub qword [esp + 4]
fadd qword [0x478a48]
fsub qword [esp + 4]
fadd qword [0x478a40]
fstp qword [esp + 0xc]
fld qword [esp + 0xc]
fadd qword [esp + 4]
fstp qword [esp + 4]
fld qword [esp + 0x1c]
fsub qword [esp + 4]
fld qword [esp + 0x1c]
mov byte [esp + 0x43b], 0
fmul qword [0x478a38]
faddp st(1)
fstp qword [esp + 0xc]
fld qword [0x478b40]
fstp qword [esp + 4]
fld qword [esp + 4]
fdiv qword [0x478b28]
fdivrp st(2)
fld qword [esp + 4]
faddp st(2)
fld qword [esp + 4]
fdiv qword [0x478b20]
fmul qword [esp + 4]
fsubp st(2)
fxch st(1)
fstp qword [esp + 4]
fld qword [esp + 4]
fadd qword [esp + 4]
fadd qword [esp + 4]
fld qword [esp + 4]
fmul qword [0x478b18]
faddp st(1)
fadd qword [esp + 4]
fadd qword [0x478b10]
fsub qword [esp + 4]
fsub qword [0x478b08]
fsub qword [esp + 4]
fld qword [esp + 4]
fmul qword [0x478b00]
faddp st(1)
fadd qword [esp + 4]
fadd qword [esp + 4]
fadd qword [esp + 4]
fstp qword [esp + 4]
fld qword [esp + 4]
fsub qword [esp + 4]
faddp st(1)
fadd qword [esp + 4]
fld qword [esp + 4]
fmul qword [esp + 4]
faddp st(1)
fsub qword [esp + 4]
fsub qword [0x478af8]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x30]
fsub qword [esp + 4]
fld qword [esp + 4]
fmul qword [0x478af0]
fsubp st(1)
fsub qword [esp + 4]
fstp qword [esp + 4]
fld qword [esp + 4]
fsub qword [esp + 4]
fstp qword [esp + 4]
fld qword [esp + 4]
fadd qword [esp + 4]
fsub qword [0x478ae8]
fld qword [esp + 4]
fmul qword [esp + 4]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
faddp st(1)
fstp qword [esp + 8]
call fcn.00412262
and dword [esp + 0x450], 0
push eax
mov ecx, esi
call fcn.00412289
or dword [esp + 0x450], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.004122be
mov eax, esi
mov ecx, dword [esp + 0x448]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x43c]
xor ecx, esp
call fcn.004121cb
mov esp, ebp
pop ebp
ret