Function at 0x405df0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x602ad7
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.005eb756
push ecx
lea edx, [ebp + 0xc]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x34], 3
call fcn.005eb756
mov ecx, esi
mov byte [esp + 0x30], 2
call fcn.00405d30
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.005cf734
mov ecx, dword [ebp + 0x14]
fstp qword [esp + 0x18]
push ecx
call fcn.005cf734
mov edx, dword [0x69cfe8]
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.0x405e8f
jmp dword [eax*4 + 0x406174]
fld qword [esp + 0x14]
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 0x40
jne 0x40609a
xor eax, eax
jmp 0x40609f
fld qword [esp + 0x14]
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 0x41
jne 0x4060cc
mov eax, 1
jmp 0x4060ce
fld qword [esp + 0x14]
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 1
je 0x405ef9
mov eax, 1
push eax
lea eax, [esp + 8]
push 0x673660
push eax
call fcn.005e7f5e
add esp, 0xc
jmp 0x40611e
xor eax, eax
push eax
lea eax, [esp + 8]
push 0x673660
push eax
call fcn.005e7f5e
add esp, 0xc
jmp 0x40611e
fld qword [esp + 0x14]
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 1
je 0x40609a
xor eax, eax
jmp 0x40609f
fld qword [esp + 0x14]
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 0x41
je 0x4060cc
mov eax, 1
jmp 0x4060ce
fld qword [esp + 0x14]
fcomp qword [esp + 0xc]
jmp 0x40604c
fld qword [esp + 0xc]
fadd qword [esp + 0x14]
sub esp, 8
lea ecx, [esp + 0xc]
fstp qword [esp]
push esi
push 0x673d40
push ecx
call fcn.005e7f5e
add esp, 0x14
jmp 0x40611e
fld qword [esp + 0x14]
fsub qword [esp + 0xc]
sub esp, 8
lea edx, [esp + 0xc]
fstp qword [esp]
push esi
push 0x673d40
push edx
call fcn.005e7f5e
add esp, 0x14
jmp 0x40611e
fld qword [esp + 0xc]
fmul qword [esp + 0x14]
sub esp, 8
fstp qword [esp]
jmp 0x4060fb
fld qword [esp + 0xc]
fcomp qword [0x61bbb8]
fnstsw ax
test ah, 0x40
jne case.default.0x405e8f
fld qword [esp + 0x14]
fdiv qword [esp + 0xc]
sub esp, 8
lea ecx, [esp + 0xc]
fstp qword [esp]
push esi
push 0x673d40
push ecx
call fcn.005e7f5e
add esp, 0x14
jmp 0x40611e
fld qword [esp + 0xc]
fcomp qword [0x61bbb8]
fnstsw ax
test ah, 0x40
jne case.default.0x405e8f
fld qword [esp + 0x14]
fld qword [esp + 0xc]
call fcn.005cf7ea
sub esp, 8
lea edx, [esp + 0xc]
fstp qword [esp]
push esi
push 0x673d40
push edx
call fcn.005e7f5e
add esp, 0x14
jmp 0x40611e
fld qword [esp + 0x14]
fcomp qword [0x61bbb8]
fnstsw ax
test ah, 0x40
jne 0x40605a
fld qword [esp + 0xc]
fcomp qword [0x61bbb8]
fnstsw ax
test ah, 0x40
jne 0x40605a
mov eax, 1
jmp 0x40605c
xor eax, eax
push eax
lea eax, [esp + 8]
push 0x673660
push eax
call fcn.005e7f5e
add esp, 0xc
jmp 0x40611e
fld qword [esp + 0x14]
fcomp qword [0x61bbb8]
fnstsw ax
test ah, 0x40
je 0x40609a
fld qword [esp + 0xc]
fcomp qword [0x61bbb8]
fnstsw ax
test ah, 0x40
je 0x40609a
xor eax, eax
jmp 0x40609f
mov eax, 1
push eax
lea ecx, [esp + 8]
push 0x673660
push ecx
call fcn.005e7f5e
add esp, 0xc
jmp 0x40611e
fld qword [esp + 0x14]
fcomp qword [0x61bbb8]
fnstsw ax
test ah, 0x40
je 0x4060cc
mov eax, 1
jmp 0x4060ce
xor eax, eax
push eax
lea edx, [esp + 8]
push 0x673660
push edx
call fcn.005e7f5e
add esp, 0xc
jmp 0x40611e
fld qword [esp + 0x14]
sub esp, 8
fchs
fstp qword [esp]
jmp 0x4060fb
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
push esi
lea eax, [esp + 0x10]
push 0x673d40
push eax
call fcn.005e7f5e
add esp, 0x14
jmp 0x40611e
push 0x6735cc
lea ecx, [esp + 8]
call fcn.005ebb6a
mov esi, dword [ebp + 8]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.005eb756
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x28], 2
call fcn.005eb9e1
lea ecx, [ebp + 0xc]
mov byte [esp + 0x28], 1
call fcn.005eb9e1
lea ecx, [ebp + 0x14]
mov byte [esp + 0x28], 0
call fcn.005eb9e1
mov ecx, dword [esp + 0x20]
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10