Function at 0x405e30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ad217
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.005985d4
push ecx
lea edx, [ebp + 0xc]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x34], 3
call fcn.005985d4
mov ecx, esi
mov byte [esp + 0x30], 2
call fcn.00405d70
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0057d534
mov ecx, dword [ebp + 0x14]
fstp qword [esp + 0x18]
push ecx
call fcn.0057d534
mov edx, dword [0x633828]
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.0x405ecf
jmp dword [eax*4 + 0x4061b4]
fld qword [esp + 0x14]
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 0x40
jne 0x4060da
xor eax, eax
jmp 0x4060df
fld qword [esp + 0x14]
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 0x41
jne 0x40610c
mov eax, 1
jmp 0x40610e
fld qword [esp + 0x14]
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 1
je 0x405f39
mov eax, 1
push eax
lea eax, [esp + 8]
push 0x60c620
push eax
call fcn.0059584e
add esp, 0xc
jmp 0x40615e
xor eax, eax
push eax
lea eax, [esp + 8]
push 0x60c620
push eax
call fcn.0059584e
add esp, 0xc
jmp 0x40615e
fld qword [esp + 0x14]
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 1
je 0x4060da
xor eax, eax
jmp 0x4060df
fld qword [esp + 0x14]
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 0x41
je 0x40610c
mov eax, 1
jmp 0x40610e
fld qword [esp + 0x14]
fcomp qword [esp + 0xc]
jmp 0x40608c
fld qword [esp + 0xc]
fadd qword [esp + 0x14]
sub esp, 8
lea ecx, [esp + 0xc]
fstp qword [esp]
push esi
push 0x60cd00
push ecx
call fcn.0059584e
add esp, 0x14
jmp 0x40615e
fld qword [esp + 0x14]
fsub qword [esp + 0xc]
sub esp, 8
lea edx, [esp + 0xc]
fstp qword [esp]
push esi
push 0x60cd00
push edx
call fcn.0059584e
add esp, 0x14
jmp 0x40615e
fld qword [esp + 0xc]
fmul qword [esp + 0x14]
sub esp, 8
fstp qword [esp]
jmp 0x40613b
fld qword [esp + 0xc]
fcomp qword [0x5c0af8]
fnstsw ax
test ah, 0x40
jne case.default.0x405ecf
fld qword [esp + 0x14]
fdiv qword [esp + 0xc]
sub esp, 8
lea ecx, [esp + 0xc]
fstp qword [esp]
push esi
push 0x60cd00
push ecx
call fcn.0059584e
add esp, 0x14
jmp 0x40615e
fld qword [esp + 0xc]
fcomp qword [0x5c0af8]
fnstsw ax
test ah, 0x40
jne case.default.0x405ecf
fld qword [esp + 0x14]
fld qword [esp + 0xc]
call fcn.0057d5ea
sub esp, 8
lea edx, [esp + 0xc]
fstp qword [esp]
push esi
push 0x60cd00
push edx
call fcn.0059584e
add esp, 0x14
jmp 0x40615e
fld qword [esp + 0x14]
fcomp qword [0x5c0af8]
fnstsw ax
test ah, 0x40
jne 0x40609a
fld qword [esp + 0xc]
fcomp qword [0x5c0af8]
fnstsw ax
test ah, 0x40
jne 0x40609a
mov eax, 1
jmp 0x40609c
xor eax, eax
push eax
lea eax, [esp + 8]
push 0x60c620
push eax
call fcn.0059584e
add esp, 0xc
jmp 0x40615e
fld qword [esp + 0x14]
fcomp qword [0x5c0af8]
fnstsw ax
test ah, 0x40
je 0x4060da
fld qword [esp + 0xc]
fcomp qword [0x5c0af8]
fnstsw ax
test ah, 0x40
je 0x4060da
xor eax, eax
jmp 0x4060df
mov eax, 1
push eax
lea ecx, [esp + 8]
push 0x60c620
push ecx
call fcn.0059584e
add esp, 0xc
jmp 0x40615e
fld qword [esp + 0x14]
fcomp qword [0x5c0af8]
fnstsw ax
test ah, 0x40
je 0x40610c
mov eax, 1
jmp 0x40610e
xor eax, eax
push eax
lea edx, [esp + 8]
push 0x60c620
push edx
call fcn.0059584e
add esp, 0xc
jmp 0x40615e
fld qword [esp + 0x14]
sub esp, 8
fchs
fstp qword [esp]
jmp 0x40613b
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
push esi
lea eax, [esp + 0x10]
push 0x60cd00
push eax
call fcn.0059584e
add esp, 0x14
jmp 0x40615e
push 0x60c58c
lea ecx, [esp + 8]
call fcn.005989e8
mov esi, dword [ebp + 8]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.005985d4
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x28], 2
call fcn.0059885f
lea ecx, [ebp + 0xc]
mov byte [esp + 0x28], 1
call fcn.0059885f
lea ecx, [ebp + 0x14]
mov byte [esp + 0x28], 0
call fcn.0059885f
mov ecx, dword [esp + 0x20]
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10