Function at 0x10051440
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 4]
movzx ecx, bp
inc ax
mov eax, dword [ebp - 0x78]
dec cl
sar cl, cl
cmovbe ecx, ebx
mov ecx, dword [eax + 4]
cmc
lea ecx, [ecx + 4]
stc
test ebp, esi
cmp ecx, 0x6d60
jmp 0x1005d1ed
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x100a4040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x78], ecx
push 0x100a0c08
jmp 0x100386af
jbe 0x10131ffb
mov edx, dword [0x100f259c]
rcl eax, cl
mov eax, dword [edx + 0x4c0]
mov dword [ebp - 0x184], eax
sar al, cl
sub ecx, ecx
setns al
stc
mov byte [ebp - 0x71], cl
sub edx, edx
mov byte [ebp - 0x72], dl
mov al, byte [ebp - 0x71]
rol dl, 0x89
adc dl, bh
mov byte [ebp - 0x7c], al
mov cl, byte [ebp - 0x72]
mov byte [ebp - 0x80], cl
bsf eax, edx
mov edx, 0xa123131
cbw
mov dword [ebp - 0x100], 0xc76b2640
or al, 0x8a
mov dword [ebp - 0xfc], edx
mov eax, dword [ebp - 0x100]
cwd
sbb ch, dh
inc cx
mov ecx, dword [ebp - 0xfc]
sbb edx, edi
mov dword [ebp - 0xc0], eax
adc ax, ax
shrd edx, ebx, 0x22
cwde
mov dword [ebp - 0xbc], ecx
movzx ecx, sp
btc dx, bx
rcr ax, 0x11
mov edx, 0xb7a14510
shr ah, cl
bswap cx
mov dword [ebp - 0x108], 0x903f8d69
test ebp, ebx
mov dword [ebp - 0x104], edx
add ecx, 0x7d043ebe
mov eax, dword [ebp - 0x108]
cwd
sub edx, edi
cmp bx, bp
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0xb8], eax
inc dl
mov dword [ebp - 0xb4], ecx
mov edx, 0x25cd055b
rol cx, 0x31
ror al, 0x8a
mov dword [ebp - 0x110], 0xb4b4f122
mov dword [ebp - 0x10c], edx
bsr dx, bx
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], ecx
sub ecx, esi
not cl
mov edx, 0x1a7f9b1d
mov dword [ebp - 0x118], 0x9eb17144
sal cx, 0x9a
mov dword [ebp - 0x114], edx
bts ecx, esi
shl eax, 0x37
or eax, 0x3939f23f
mov eax, dword [ebp - 0x118]
cwd
inc cx
bt edx, edi
mov ecx, dword [ebp - 0x114]
or dh, ah
dec dx
sub dh, al
mov dword [ebp - 0xa8], eax
sar dx, 0x9c
mov dword [ebp - 0xa4], ecx
rcl dx, 0xa2
cmp ecx, esp
mov edx, 0xa6a3154
mov dword [ebp - 0x120], 0xc7252603
lahf
add ax, di
bswap ax
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x11c]
neg dx
and dx, di
movzx dx, dl
mov dword [ebp - 0x70], eax
and dx, 0x208d
rdtsc
mov dword [ebp - 0x6c], ecx
mov edx, 0xb7d2455d
and al, bh
cmovnp eax, edx
mov dword [ebp - 0x128], 0x904c8d1c
mov dword [ebp - 0x124], edx
mov eax, dword [ebp - 0x128]
and dl, 0x2e
cmp sp, 0x5c98
mov ecx, dword [ebp - 0x124]
rol dl, 0x89
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
movsx edx, sp
mov edx, 0x25bf051e
jmp loc.1018be94
mov ecx, dword [ebp - 0x78]
cmc
not eax
cbw
mov edx, dword [ecx + 4]
sub eax, 0xb01bdf2a
sal ax, cl
mov eax, dword [ebp - 0x78]
sal cl, 0x83
ror cl, cl
mov ecx, dword [eax]
mov eax, dword [ebx + 8]
clc
test di, bp
mov dword [ecx + edx], eax
rol dh, 0x3f
test ebx, ecx
shr eax, cl
mov ecx, dword [ebp - 0x78]
dec eax
inc eax
sal al, 8
mov edx, dword [ecx + 4]
sar eax, cl
bsr ax, bx
cmovp ax, si
add edx, 4
movsx eax, di
movzx eax, sp
mov al, 0x13
mov eax, dword [ebp - 0x78]
jmp 0x101dc8f2
mov dword [eax + 4], edx
jmp 0x1002cdc7