Function at 0x405e00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x602247
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
mov dword [esp + 8], 0
push ecx
lea eax, [ebp + 0x14]
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
mov dword [esp + 0x30], 2
call fcn.005eae6a
push ecx
lea edx, [ebp + 0xc]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x34], 3
call fcn.005eae6a
mov ecx, esi
mov byte [esp + 0x30], 2
call fcn.00405d40
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.005cee14
mov ecx, dword [ebp + 0x14]
fstp qword [esp + 0x18]
push ecx
call fcn.005cee14
mov edx, dword [0x69c108]
add esp, 8
fstp qword [esp + 0xc]
mov dword [esp + 4], edx
mov eax, dword [ebp + 0x10]
mov byte [esp + 0x28], 4
add eax, 0xfffffffc
cmp eax, 0xf
ja case.default.0x405e9f
jmp dword [eax*4 + 0x406184]
fld qword [esp + 0x14]
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 0x40
jne 0x4060aa
xor eax, eax
jmp 0x4060af
fld qword [esp + 0x14]
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 0x41
jne 0x4060dc
mov eax, 1
jmp 0x4060de
fld qword [esp + 0x14]
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 1
je 0x405f09
mov eax, 1
push eax
lea eax, [esp + 8]
push 0x672660
push eax
call fcn.005e764e
add esp, 0xc
jmp 0x40612e
xor eax, eax
push eax
lea eax, [esp + 8]
push 0x672660
push eax
call fcn.005e764e
add esp, 0xc
jmp 0x40612e
fld qword [esp + 0x14]
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 1
je 0x4060aa
xor eax, eax
jmp 0x4060af
fld qword [esp + 0x14]
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 0x41
je 0x4060dc
mov eax, 1
jmp 0x4060de
fld qword [esp + 0x14]
fcomp qword [esp + 0xc]
jmp 0x40605c
fld qword [esp + 0xc]
fadd qword [esp + 0x14]
sub esp, 8
lea ecx, [esp + 0xc]
fstp qword [esp]
push esi
push 0x672d40
push ecx
call fcn.005e764e
add esp, 0x14
jmp 0x40612e
fld qword [esp + 0x14]
fsub qword [esp + 0xc]
sub esp, 8
lea edx, [esp + 0xc]
fstp qword [esp]
push esi
push 0x672d40
push edx
call fcn.005e764e
add esp, 0x14
jmp 0x40612e
fld qword [esp + 0xc]
fmul qword [esp + 0x14]
sub esp, 8
fstp qword [esp]
jmp 0x40610b
fld qword [esp + 0xc]
fcomp qword [0x61bbb8]
fnstsw ax
test ah, 0x40
jne case.default.0x405e9f
fld qword [esp + 0x14]
fdiv qword [esp + 0xc]
sub esp, 8
lea ecx, [esp + 0xc]
fstp qword [esp]
push esi
push 0x672d40
push ecx
call fcn.005e764e
add esp, 0x14
jmp 0x40612e
fld qword [esp + 0xc]
fcomp qword [0x61bbb8]
fnstsw ax
test ah, 0x40
jne case.default.0x405e9f
fld qword [esp + 0x14]
fld qword [esp + 0xc]
call fcn.005ceeca
sub esp, 8
lea edx, [esp + 0xc]
fstp qword [esp]
push esi
push 0x672d40
push edx
call fcn.005e764e
add esp, 0x14
jmp 0x40612e
fld qword [esp + 0x14]
fcomp qword [0x61bbb8]
fnstsw ax
test ah, 0x40
jne 0x40606a
fld qword [esp + 0xc]
fcomp qword [0x61bbb8]
fnstsw ax
test ah, 0x40
jne 0x40606a
mov eax, 1
jmp 0x40606c
xor eax, eax
push eax
lea eax, [esp + 8]
push 0x672660
push eax
call fcn.005e764e
add esp, 0xc
jmp 0x40612e
fld qword [esp + 0x14]
fcomp qword [0x61bbb8]
fnstsw ax
test ah, 0x40
je 0x4060aa
fld qword [esp + 0xc]
fcomp qword [0x61bbb8]
fnstsw ax
test ah, 0x40
je 0x4060aa
xor eax, eax
jmp 0x4060af
mov eax, 1
push eax
lea ecx, [esp + 8]
push 0x672660
push ecx
call fcn.005e764e
add esp, 0xc
jmp 0x40612e
fld qword [esp + 0x14]
fcomp qword [0x61bbb8]
fnstsw ax
test ah, 0x40
je 0x4060dc
mov eax, 1
jmp 0x4060de
xor eax, eax
push eax
lea edx, [esp + 8]
push 0x672660
push edx
call fcn.005e764e
add esp, 0xc
jmp 0x40612e
fld qword [esp + 0x14]
sub esp, 8
fchs
fstp qword [esp]
jmp 0x40610b
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
push esi
lea eax, [esp + 0x10]
push 0x672d40
push eax
call fcn.005e764e
add esp, 0x14
jmp 0x40612e
push 0x6725cc
lea ecx, [esp + 8]
call fcn.005eb27e
mov esi, dword [ebp + 8]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.005eae6a
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x28], 2
call fcn.005eb0f5
lea ecx, [ebp + 0xc]
mov byte [esp + 0x28], 1
call fcn.005eb0f5
lea ecx, [ebp + 0x14]
mov byte [esp + 0x28], 0
call fcn.005eb0f5
mov ecx, dword [esp + 0x20]
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10