Function at 0x6794f0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov ecx, dword [0x992210]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x8e3588
mov dword [0x1b1bcf0], ebx
call fcn.004148b0
mov dword [0x1b1bcf4], eax
xor eax, eax
mov esi, 1
mov dword [0x1b1bcf8], ebx
mov dword [0x1b1bcfc], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
push ebx
push edx
push ecx
pushfd
pushfd
pop eax
mov ebx, eax
xor eax, 0x200000
push eax
popfd
pushfd
pop eax
cmp eax, ebx
je 0x67958e
xor eax, eax
cpuid
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
mov eax, 1
cpuid
and eax, 0xff0
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov eax, 0x80000000
cpuid
cmp eax, 0x80000000
jbe 0x67958e
mov eax, 0x80000001
cpuid
and edx, 0x80000000
or dword [ebp - 8], edx
popfd
pop ecx
pop edx
pop ebx
mov eax, dword [ebp - 8]
mov ecx, eax
shr ecx, 0x15
and eax, 0x11
and ecx, 4
add eax, eax
lea edx, [ebp - 0x24]
or ecx, eax
or dword [0x1b1bcfc], ecx
push 0x8e3578
push edx
call fcn.0074d77a
add esp, 8
test eax, eax
jne 0x679703
mov eax, dword [ebp - 8]
shr eax, 0x15
and eax, 0x10
or dword [0x1b1bcfc], eax
mov eax, dword [ebp - 0xc]
mov ecx, eax
shr ecx, 8
and ecx, 0xf
add ecx, 0xfffffffc
cmp ecx, 0xb
ja case.0x6795f0.7
movzx edx, byte [ecx + 0x6799cc]
jmp dword [edx*4 + 0x6799b8]
push 0
mov dword [0x1b1bcf0], 2
push 0x8e3568
jmp 0x67987b
shr eax, 4
and eax, 0xf
mov ecx, 3
jbe 0x679646
cmp eax, ecx
jbe 0x679634
cmp eax, 4
jne 0x679646
push 0
mov dword [0x1b1bcf0], eax
push 0x8e3554
jmp 0x67987b
push 0
mov dword [0x1b1bcf0], ecx
push 0x8e3544
jmp 0x67987b
push 0
mov dword [0x1b1bcf0], ecx
push 0x8e3524
jmp 0x67987b
shr eax, 4
and eax, 0xf
add eax, 0xffffffff
cmp eax, 6
ja case.0x679666.1
jmp dword [eax*4 + 0x6799d8]
push 0
mov dword [0x1b1bcf0], 5
push 0x8e3510
jmp 0x67987b
push 0
mov dword [0x1b1bcf0], 6
push 0x8e34fc
jmp 0x67987b
push 0
mov dword [0x1b1bcf0], 7
push 0x8e34e4
jmp 0x67987b
push 0
mov dword [0x1b1bcf0], 8
push 0x8e34d0
jmp 0x67987b
push 0
mov dword [0x1b1bcf0], 5
push 0x8e34a4
jmp 0x67987b
push 0
mov dword [0x1b1bcf0], 9
push 0x8e3494
jmp 0x67987b
push 0
mov dword [0x1b1bcf0], esi
push 0x8e3484
jmp 0x67987b
lea eax, [ebp - 0x24]
push 0x8e3474
push eax
call fcn.0074d77a
add esp, 8
test eax, eax
jne 0x6797e4
mov ecx, dword [ebp - 8]
shr ecx, 0x1c
and ecx, 8
or dword [0x1b1bcfc], ecx
mov ecx, dword [ebp - 0xc]
mov eax, ecx
shr eax, 8
and eax, 0xf
sub eax, 5
je 0x67976f
sub eax, esi
mov ecx, dword [0x992210]
push 0
je 0x67975b
mov dword [0x1b1bcf0], 0xe
push 0x8e3464
jmp 0x679881
mov dword [0x1b1bcf0], 0xd
push 0x8e3458
jmp 0x679881
shr ecx, 4
and ecx, 0xf
cmp ecx, 0xf
ja case.default.0x679785
movzx edx, byte [ecx + 0x679a04]
jmp dword [edx*4 + 0x6799f4]
push 0
mov dword [0x1b1bcf0], 0xc
push 0x8e3450
jmp 0x67987b
push 0
mov dword [0x1b1bcf0], 0xa
push 0x8e3448
jmp 0x67987b
push 0
mov dword [0x1b1bcf0], 0xb
push 0x8e343c
jmp 0x67987b
push 0
mov dword [0x1b1bcf0], 0xc
push 0x8e3430
jmp 0x67987b
lea eax, [ebp - 0x24]
push 0x8e3420
push eax
call fcn.0074d77a
add esp, 8
test eax, eax
jne case.default.0x679785
mov eax, dword [ebp - 0xc]
cmp eax, 0x540
ja 0x679850
je 0x67983d
cmp eax, 0x440
je 0x67982a
cmp eax, 0x520
jne 0x679857
push 0
mov dword [0x1b1bcf0], 0xf
push 0x8e3414
jmp 0x67987b
push 0
mov dword [0x1b1bcf0], 0x10
push 0x8e3404
jmp 0x67987b
push 0
mov dword [0x1b1bcf0], 0x12
push 0x8e33f8
jmp 0x67987b
cmp eax, 0x600
je 0x67986a
push 0
mov dword [0x1b1bcf0], 0x13
push 0x8e33e8
jmp 0x67987b
push 0
mov dword [0x1b1bcf0], 0x11
push 0x8e33d4
mov ecx, dword [0x992210]
call fcn.004148b0
mov dword [0x1b1bcf4], eax
mov al, byte [0x1b1bcfc]
test al, 0x20
je 0x679926
test al, 2
je 0x679926
mov dword [ebp - 4], 0
push eax
push edx
rdtsc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
pop edx
pop eax
mov esi, dword [0x794288]
call esi
mov edi, eax
lea ebx, [edi + 0x2ee]
call esi
cmp eax, ebx
jb 0x6798c3
call esi
mov ecx, eax
sub ecx, edi
push eax
push edx
rdtsc
sub edx, dword [ebp - 0x10]
sbb eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
pop edx
pop eax
fild dword [ebp - 4]
mov edx, dword [ebp - 4]
test edx, edx
jge 0x6798ee
fadd dword [0x7bb540]
test ecx, ecx
mov dword [ebp - 0x10], ecx
fild dword [ebp - 0x10]
jge 0x6798fe
fadd dword [0x7bb540]
fdivp st(1)
fdiv qword [0x7bd240]
fnstcw word [ebp - 2]
movzx eax, word [ebp - 2]
or eax, 0xc00
mov dword [ebp - 0x10], eax
fldcw word [ebp - 0x10]
fistp qword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov dword [0x1b1bcf8], eax
fldcw word [ebp - 2]
push 0x8e33c0
call fcn.00678010
mov ecx, dword [0x1b1bcf8]
mov edx, dword [0x1b1bcf4]
push ecx
push edx
push 0x8e33ac
call fcn.00421880
add esp, 0x10
test byte [0x1b1bcfc], 2
je 0x679961
push 0x8e3390
call fcn.00421880
add esp, 4
test byte [0x1b1bcfc], 4
je 0x679977
push 0x8e3378
call fcn.00421880
add esp, 4
test byte [0x1b1bcfc], 8
je 0x67998d
push 0x8e335c
call fcn.00421880
add esp, 4
test byte [0x1b1bcfc], 0x10
je 0x6799a3
push 0x8e3344
call fcn.00421880
add esp, 4
push 0x895d1c
call fcn.00421880
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret