Function at 0x791c6caf
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0x1d1041aa
stc
imul ecx, eax, 6
rcr edx, cl
stc
mov edx, dword [ebp - 4]
pushfd
movzx eax, byte [edx + ecx]
sets dh
not dh
mov dword [ebp - 0x14], eax
pushal
not ch
mov byte [esp + 4], 0x3e
mov eax, 1
setg ch
pop edx
imul ecx, eax, 7
cwde
rdtsc
mov byte [esp + 8], ch
mov edx, dword [ebp - 4]
bts ax, cx
movzx eax, word [edx + ecx]
mov dh, bh
pushal
mov dword [ebp - 0x18], eax
rcr ah, cl
stc
btr dx, ax
ror ch, cl
mov eax, 1
bt di, si
bt bx, sp
cmc
rcr edx, cl
imul ecx, eax, 0xa
btr eax, 0x1e
stc
mov edx, dword [ebp - 4]
movzx ax, al
movzx eax, word [edx + ecx]
bswap cx
push dword [esp]
setbe dl
jmp 0x791b49df
pushfd
pushfd
pushal
mov dword [esp + 0x24], 0xe13a3ced
push esi
pushfd
pushfd
mov byte [esp], 0x72
lea esp, [esp + 0x30]
jmp fcn.7900ed25
pushfd
pushal
jmp 0x7913a04e
jmp 0x790902b9
xor ah, ah
mov edx, dword [ebp - 4]
shl ax, 0xb
aam 0x20
movsx ax, bl
movzx eax, word [edx + ecx]
and dh, 0xa5
mov dword [ebp - 0xc], eax
bsr ax, ax
mov eax, 1
not dh
shrd edx, ecx, 0xb
bswap dx
shl eax, 1
not dx
movsx cx, al
mov ecx, dword [ebp - 4]
not dx
movsx dx, dl
rcr dx, 5
btc dx, dx
mov edx, dword [ecx + eax]
bswap ax
pop eax
jbe 0x7913d6e4
call fcn.791ce5a8
shld ax, bx, 3
cmc
rol ax, cl
mov eax, dword [ebp - 4]
cmc
js 0x791a54f6
test bx, ax
test dh, 0xfd
sub eax, dword [0x7907581c]
clc
cmc
stc
cmp eax, dword [0x79075824]
push 0x2b171fa0
pushfd
pushal
lea esp, [esp + 0x28]
jge 0x791dfab1
movzx eax, al
cmc
xchg al, ch
mov eax, 1
stc
xchg dh, ch
mov dl, dl
pushfd
imul ecx, eax, 0
mov byte [esp], ch
xadd eax, edx
jmp 0x790f7856
mov dword [ebp - 0xc], eax
shrd ax, si, cl
adc eax, 0x5d6099d
mov eax, 1
rcr ecx, cl
ror ecx, 0xe
call fcn.791b48a4
jmp 0x791c0961
movzx eax, word [edx + ecx]
ror cx, cl
not ecx
sbb ch, 0x75
jmp 0x7912b813
mov esp, ebp
pushfd
bswap bp
pop ebp
pushfd
mov ebp, dword [esp + 4]
pushfd
push dword [esp + 0xc]
ret 0x10
cmc
btc cx, 8
mov dword [ebp - 0x10], edx
movsx ax, dl
rcl ah, 6
mov eax, 1
xchg ch, dl
jl 0x7908587f
pushal
btr cx, 5
imul ecx, eax, 6
bt cx, di
push esi
mov dl, 0xb2
jmp 0x79140def
mov edx, dword [ebp - 4]
bt bp, bp
pop eax
setle al
movzx eax, byte [edx + ecx]
call fcn.79199978
mov esi, dword [esp + 4]
lea ebx, [ebp*4 - 0x7a3f3545]
movzx bx, al
mov ebx, dword [esp + 8]
jmp 0x790d96ed
pushal
lea esp, [esp + 0x20]
jmp 0x79100a5f
pushal
push dword [esp + 4]
sub eax, dword [0x7907581c]
push 0xf949cefe
test cl, ah
mov byte [esp], dl
cmp eax, dword [0x79075824]
lea esp, [esp + 0x28]
jl 0x790ecea3
push 0x84b6ec98
pushfd
lea esp, [esp + 8]
jge 0x791dfab1
bswap eax
mov ah, 0x26
rdtsc
mov eax, 1
rol dl, 2
imul ecx, eax, 0
bswap edx
aas
pushal
mov edx, dword [ebp - 4]
jmp 0x7912e3fc
mov dword [ebp - 0x1c], eax
lea ecx, [ebp + 0x21b21e4e]
cwde
bt si, 5
mov eax, 1
rcr dl, cl
imul ecx, eax, 0xc
lea edx, [esi*2 - 0x409c7d52]
bt bp, di
bt ecx, 0x16
mov edx, dword [ebp - 4]
jmp loc.79027b95
pushal
pushal
push 0x1a69098f
mov dword [esp + 0x40], 0x58bee35a
lea esp, [esp + 0x40]
ja 0x790e14f6
pushal
mov dword [esp + 0x1c], 0xe13a3ced
pushfd
mov word [esp], bp
pushfd
mov byte [esp], dl
lea esp, [esp + 0x24]
jmp fcn.7900ed25
mov byte [esp], bh
pushal
mov dword [edx], ecx
push ebp
push edx
push dword [esp]
lea esp, [esp + 0x30]
jmp 0x79198fcf
lea ebx, [edx*8 - 0x72c5bab2]
lea edi, [eax*8 - 0x3415457d]
pop edi
call fcn.79140c6c