Function at 0x407b88
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x14
add eax, 0xa
push ebx
push esi
push edi
and eax, 0x80000007
jns 0x407ba3
dec eax
or eax, 0xfffffff8
inc eax
mov ebx, 8
sub ebx, eax
test eax, eax
cmove ebx, eax
rdtsc
and al, 0xf8
mov esi, 1
or al, bl
mov byte [ebp - 0xc], al
test ebx, ebx
je 0x407bce
nop
rdtsc
mov byte [ebp + esi - 0xc], al
inc esi
sub ebx, 1
jne 0x407bc2
mov eax, dword [ebp + 0x18]
lea ebx, [ebp - 0x14]
mov edi, dword [ebp + 0x14]
xorps xmm0, xmm0
movq qword [ebp - 0x14], xmm0
mov dword [eax], 0
mov eax, 1
mov dword [ebp - 4], eax
nop dword [eax + eax]
cmp esi, 8
jge 0x407c07
rdtsc
mov byte [ebp + esi - 0xc], al
inc esi
mov eax, dword [ebp - 4]
inc eax
cmp esi, 8
mov dword [ebp - 4], eax
jne 0x407c9a
movzx eax, byte [ebx]
xor byte [ebp - 0xc], al
movzx eax, byte [ebx + 1]
xor byte [ebp - 0xb], al
movzx eax, byte [ebx + 2]
xor byte [ebp - 0xa], al
movzx eax, byte [ebx + 3]
xor byte [ebp - 9], al
movzx eax, byte [ebx + 4]
xor byte [ebp - 8], al
movzx eax, byte [ebx + 5]
xor byte [ebp - 7], al
movzx eax, byte [ebx + 6]
xor byte [ebp - 6], al
movzx eax, byte [ebx + 7]
xor byte [ebp - 5], al
lea eax, [ebp - 0xc]
push edi
push dword [ebp + 0x10]
push eax
call fcn.00407e25
mov eax, dword [ebp - 0x14]
xor esi, esi
xor byte [edi], al
mov ebx, edi
xor byte [edi + 1], ah
movzx eax, byte [ebp - 0x12]
xor byte [edi + 2], al
movzx eax, byte [ebp - 0x11]
xor byte [edi + 3], al
mov eax, dword [ebp - 0x10]
xor byte [edi + 4], al
xor byte [edi + 5], ah
movzx eax, byte [ebp - 0xe]
xor byte [edi + 6], al
movzx eax, byte [ebp - 0xd]
mov edx, dword [ebp - 8]
xor byte [edi + 7], al
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
add dword [edx], 8
add edi, 8
cmp eax, 2
jle 0x407bf1
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x407d63
cmp esi, 8
jge 0x407cc8
mov edx, dword [ebp + 8]
dec ecx
mov dword [ebp + 0xc], ecx
mov al, byte [edx]
inc edx
mov byte [ebp + esi - 0xc], al
inc esi
mov dword [ebp + 8], edx
cmp esi, 8
jne 0x407d5b
movzx eax, byte [ebx]
xor byte [ebp - 0xc], al
movzx eax, byte [ebx + 1]
xor byte [ebp - 0xb], al
movzx eax, byte [ebx + 2]
xor byte [ebp - 0xa], al
movzx eax, byte [ebx + 3]
xor byte [ebp - 9], al
movzx eax, byte [ebx + 4]
xor byte [ebp - 8], al
movzx eax, byte [ebx + 5]
xor byte [ebp - 7], al
movzx eax, byte [ebx + 6]
xor byte [ebp - 6], al
movzx eax, byte [ebx + 7]
xor byte [ebp - 5], al
lea eax, [ebp - 0xc]
push edi
push dword [ebp + 0x10]
push eax
call fcn.00407e25
mov eax, dword [ebp - 0x14]
xor esi, esi
xor byte [edi], al
mov ebx, edi
xor byte [edi + 1], ah
movzx eax, byte [ebp - 0x12]
xor byte [edi + 2], al
movzx eax, byte [ebp - 0x11]
xor byte [edi + 3], al
mov eax, dword [ebp - 0x10]
xor byte [edi + 4], al
xor byte [edi + 5], ah
movzx eax, byte [ebp - 0xe]
xor byte [edi + 6], al
movzx eax, byte [ebp - 0xd]
xor byte [edi + 7], al
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
add dword [eax], 8
add edi, 8
test ecx, ecx
jne 0x407cae
mov eax, 1
add edi, 2
mov dword [ebp + 0xc], eax
cmp esi, 8
jge 0x407d80
mov byte [ebp + esi - 0xc], 0
inc eax
inc esi
mov dword [ebp + 0xc], eax
cmp esi, 8
jne 0x407e13
movzx eax, byte [ebx]
xor byte [ebp - 0xc], al
movzx eax, byte [ebx + 1]
xor byte [ebp - 0xb], al
movzx eax, byte [ebx + 2]
xor byte [ebp - 0xa], al
movzx eax, byte [ebx + 3]
xor byte [ebp - 9], al
movzx eax, byte [ebx + 4]
xor byte [ebp - 8], al
movzx eax, byte [ebx + 5]
xor byte [ebp - 7], al
movzx eax, byte [ebx + 6]
xor byte [ebp - 6], al
movzx eax, byte [ebx + 7]
lea ebx, [edi - 2]
xor byte [ebp - 5], al
lea eax, [ebp - 0xc]
push ebx
push dword [ebp + 0x10]
push eax
call fcn.00407e25
mov eax, dword [ebp - 0x14]
xor esi, esi
xor byte [ebx], al
xor byte [edi - 1], ah
movzx eax, byte [ebp - 0x12]
xor byte [edi], al
movzx eax, byte [ebp - 0x11]
xor byte [edi + 1], al
mov eax, dword [ebp - 0x10]
xor byte [edi + 2], al
xor byte [edi + 3], ah
movzx eax, byte [ebp - 0xe]
xor byte [edi + 4], al
movzx eax, byte [ebp - 0xd]
xor byte [edi + 5], al
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
add dword [eax], 8
add edi, 8
mov eax, dword [ebp + 0xc]
cmp eax, 7
jle 0x407d6e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14