Function at 0x422d54
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, reloc.OLEAUT32.dll_VariantInit
jns 0x422d6f
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 0x422d9a
nop
rdtsc
mov byte [ebp + esi - 0xc], al
inc esi
sub ebx, 1
jne 0x422d8e
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 0x422dd3
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 0x422e66
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.00422ff1
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 0x422dbd
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x422f2f
cmp esi, 8
jge 0x422e94
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 0x422f27
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.00422ff1
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 0x422e7a
mov eax, 1
add edi, 2
mov dword [ebp + 0xc], eax
cmp esi, 8
jge 0x422f4c
mov byte [ebp + esi - 0xc], 0
inc eax
inc esi
mov dword [ebp + 0xc], eax
cmp esi, 8
jne 0x422fdf
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.00422ff1
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 0x422f3a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14