Function at 0x4037ec
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], edi
mov dword [ebp - 8], esi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], edi
mov dword [ebp - 8], esi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], edi
mov dword [ebp - 8], esi
mov eax, dword [ebp + 0x10]
shr eax, 2
add eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
rdtsc
mov esi, dword [ebp - 0x1c]
mov ecx, eax
rdtsc
mov esi, dword [esi]
mov edi, eax
rdtsc
sub eax, edi
sub edi, ecx
mov edx, eax
lea esi, [edi*4]
shr edi, 2
add edi, esi
xor eax, eax
sub edi, edx
setge al
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x403724
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
shr ecx, 7
lea esi, [esi]
movdqa xmm0, xmmword [esi]
movdqa xmm1, xmmword [esi + 0x10]
movdqa xmm2, xmmword [esi + 0x20]
movdqa xmm3, xmmword [esi + 0x30]
movdqa xmmword [edi], xmm0
movdqa xmmword [edi + 0x10], xmm1
movdqa xmmword [edi + 0x20], xmm2
movdqa xmmword [edi + 0x30], xmm3
movdqa xmm4, xmmword [esi + 0x40]
movdqa xmm5, xmmword [esi + 0x50]
movdqa xmm6, xmmword [esi + 0x60]
movdqa xmm7, xmmword [esi + 0x70]
movdqa xmmword [edi + 0x40], xmm4
movdqa xmmword [edi + 0x50], xmm5
movdqa xmmword [edi + 0x60], xmm6
movdqa xmmword [edi + 0x70], xmm7
lea esi, [esi + 0x80]
lea edi, [edi + 0x80]
dec ecx
jne 0x4036c0
emms
jmp 0x4037e2
mov eax, dword [ebp + 0x10]
mov edx, eax
shr edx, 1
shr eax, 2
add edx, dword [ebp + 8]
add edx, eax
mov dword [ebp - 0x14], edx
rdtsc
mov esi, dword [ebp - 0x14]
mov ecx, eax
rdtsc
mov esi, dword [esi]
mov edi, eax
rdtsc
sub eax, edi
sub edi, ecx
mov edx, eax
lea esi, [edi*4]
shr edi, 2
add edi, esi
xor eax, eax
sub edi, edx
setge al
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4036ae
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
shr ecx, 7
nop
lea esi, [esi]
movdqa xmm0, xmmword [esi]
movdqa xmm1, xmmword [esi + 0x10]
movdqa xmm2, xmmword [esi + 0x20]
movdqa xmm3, xmmword [esi + 0x30]
movntdq xmmword [edi], xmm0
movntdq xmmword [edi + 0x10], xmm1
movntdq xmmword [edi + 0x20], xmm2
movntdq xmmword [edi + 0x30], xmm3
movdqa xmm4, xmmword [esi + 0x40]
movdqa xmm5, xmmword [esi + 0x50]
movdqa xmm6, xmmword [esi + 0x60]
movdqa xmm7, xmmword [esi + 0x70]
movntdq xmmword [edi + 0x40], xmm4
movntdq xmmword [edi + 0x50], xmm5
movntdq xmmword [edi + 0x60], xmm6
movntdq xmmword [edi + 0x70], xmm7
lea esi, [esi + 0x80]
lea edi, [edi + 0x80]
dec ecx
jne 0x403780
sfence
emms
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
test dword [0x4197e0], 0x400
jne 0x403600
test dword [0x4197e0], 0xfffffe00
jne 0x403660
test dword [0x4197e0], 0xffffff80
jne 0x403630
test dword [0x4197e0], 0xffffffff
jne 0x403f70
call fcn.00404020
jmp fcn.004037ec
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], edi
mov dword [ebp - 8], esi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret