Function at 0x406490
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
cmp dword [0x445280], 1
jle 0x40653f
push 0x43ab38
call dword [0x435278]
mov dword [0x450f6c], eax
cmp dword [0x450f6c], 0
je 0x406502
push 0x43ab20
mov eax, dword [0x450f6c]
push eax
call dword [0x435234]
mov dword [0x450f70], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x64], ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x68]
push eax
call dword [0x435288]
push eax
call dword [0x43525c]
cmp dword [0x450f70], 0
je 0x406537
mov ecx, dword [ebp - 0x64]
push ecx
call dword [0x435288]
push eax
call dword [0x450f70]
push 0
call dword [0x4352bc]
call dword [0x435188]
mov dword [ebp - 0x14], eax
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
lea eax, [ebp - 0x48]
push eax
call dword [0x4352b8]
test eax, eax
jne 0x40656c
fld dword [0x435484]
jmp 0x406789
mov ecx, dword [ebp - 0x7c]
add ecx, 1
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [0x43518c]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x7fffffff
je 0x4065a3
push 0xf
mov edx, dword [ebp - 0x14]
push edx
call dword [0x435184]
lea eax, [ebp - 0x50]
push eax
call dword [0x435260]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], edx
rdtsc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
jmp 0x4065d7
mov eax, dword [ebp - 0x6c]
add eax, 1
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x4e20
jge 0x4065eb
mov ecx, dword [ebp - 0x70]
add ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], ecx
jmp 0x4065ce
lea edx, [ebp - 0x60]
push edx
call dword [0x435260]
push eax
push edx
rdtsc
mov dword [ebp - 0xc], eax
pop edx
pop eax
cmp dword [ebp - 0x1c], 0x7fffffff
je 0x406615
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [0x435184]
push 0
call dword [0x4352bc]
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x18]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x5c]
sbb ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], ecx
fild qword [ebp - 0x84]
fst qword [ebp - 8]
fmul qword [0x4354d8]
fstp qword [ebp - 8]
fild qword [ebp - 0x48]
fdiv qword [0x4354d0]
fdivr qword [ebp - 8]
fstp qword [ebp - 8]
fld qword [ebp - 0x38]
fadd qword [ebp - 8]
fstp qword [ebp - 0x38]
mov edx, dword [ebp - 0x78]
add edx, dword [ebp - 0x74]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], 0
fild qword [ebp - 0x8c]
fdiv qword [ebp - 8]
fst dword [ebp - 0x20]
fadd dword [ebp - 0x40]
fadd dword [ebp - 0x54]
fstp dword [ebp - 0x3c]
cmp dword [ebp - 0x7c], 3
jl 0x40656c
cmp dword [ebp - 0x7c], 0x14
jge 0x406709
fld dword [0x4354c8]
fmul dword [ebp - 0x20]
fsub dword [ebp - 0x3c]
fabs
fcomp qword [0x4354c0]
fnstsw ax
and eax, 0x4100
je 0x40656c
fld dword [0x4354c8]
fmul dword [ebp - 0x40]
fsub dword [ebp - 0x3c]
fabs
fcomp qword [0x4354c0]
fnstsw ax
and eax, 0x4100
je 0x40656c
fld dword [0x4354c8]
fmul dword [ebp - 0x54]
fsub dword [ebp - 0x3c]
fabs
fcomp qword [0x4354c0]
fnstsw ax
and eax, 0x4100
je 0x40656c
cmp dword [ebp - 0x7c], 0xa
jle 0x406730
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x90], 0
fild qword [ebp - 0x94]
fdiv qword [ebp - 0x38]
fstp dword [ebp - 0x24]
jmp 0x40673c
fld dword [ebp - 0x3c]
fdiv dword [0x4354c8]
fstp dword [ebp - 0x24]
fld qword [ebp - 0x38]
call fcn.00426db8
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x2c], edx
cmp dword [0x445280], 1
jle 0x406786
cmp dword [0x450f70], 0
je 0x406770
mov eax, dword [ebp - 0x68]
push eax
call dword [0x435288]
push eax
call dword [0x450f70]
cmp dword [0x450f6c], 0
je 0x406786
mov ecx, dword [0x450f6c]
push ecx
call dword [0x43527c]
fld dword [ebp - 0x24]
mov esp, ebp
pop ebp
ret