Function at 0x4af92a
Capabilities:
Execute anti-debugging instructions

Disassembly:
cmp dword [0x50aff8], 0
push ebx
push esi
push edi
mov edi, 0x4c864e
mov ebx, 0x4c7d4e
je 0x4af97a
cmp dword [0x50ae48], 0
je 0x4af97a
mov ecx, dword [0x50aff4]
rdtsc
sub eax, ecx
add ecx, eax
mov dword [0x50aff4], ecx
mov ecx, dword [0x50b000]
cmp ecx, 1
jbe 0x4af96a
xor edx, edx
div ecx
push 0x107
push edi
push eax
push ebx
call fcn.004ac34c
add esp, 0x10
cmp byte [0x50d58e], 0xc
jne 0x4afc56
cmp byte [0x50d58f], 3
jne 0x4afc56
cmp byte [0x50d590], 0x20
jne 0x4afc56
cmp byte [0x50d594], 3
jne 0x4afc1c
cmp byte [0x50d595], 0
je 0x4afc1c
mov esi, dword [0x50d598]
mov eax, dword [0x50d59c]
push esi
mov dword [0x50d72c], esi
mov dword [0x50d730], eax
mov dword [0x50d734], esi
call dword [0x50afe4]
cmp eax, 0xffffffff
jne 0x4afa7a
cmp dword [0x50aff8], 0
je 0x4afc99
cmp dword [0x50ae48], 0
je 0x4afa2e
mov ecx, dword [0x50aff4]
rdtsc
sub eax, ecx
add ecx, eax
mov dword [0x50aff4], ecx
mov ecx, dword [0x50b000]
cmp ecx, 1
jbe 0x4afa1e
xor edx, edx
div ecx
push 0x136
push edi
push eax
push ebx
call fcn.004ac34c
add esp, 0x10
cmp dword [0x50aff8], 0
je 0x4afc99
cmp dword [0x50ae48], 0
je 0x4afc99
mov ecx, dword [0x50aff4]
rdtsc
sub eax, ecx
add ecx, eax
mov dword [0x50aff4], ecx
mov ecx, dword [0x50b000]
cmp ecx, 1
jbe 0x4afa69
xor edx, edx
div ecx
push 0x137
push edi
push eax
push 0x4c7d60
jmp 0x4afc91
movzx eax, al
add eax, dword [0x50d72c]
mov dword [0x50d738], eax
call fcn.004afca0
mov dword [0x50d73c], eax
test eax, eax
jne 0x4afad9
cmp dword [0x50aff8], eax
je 0x4afc99
cmp dword [0x50ae48], eax
je 0x4afc99
mov ecx, dword [0x50aff4]
rdtsc
sub eax, ecx
add ecx, eax
mov dword [0x50aff4], ecx
mov ecx, dword [0x50b000]
cmp ecx, 1
jbe 0x4afacf
xor edx, edx
div ecx
push 0x14f
jmp 0x4afc8e
lea eax, [esi + 4]
push eax
call dword [0x50afe4]
cmp eax, 0xffffffff
jne 0x4afb78
cmp dword [0x50aff8], 0
je 0x4afc99
cmp dword [0x50ae48], 0
je 0x4afb33
mov ecx, dword [0x50aff4]
rdtsc
sub eax, ecx
add ecx, eax
mov dword [0x50aff4], ecx
mov ecx, dword [0x50b000]
cmp ecx, 1
jbe 0x4afb23
xor edx, edx
div ecx
push 0x15b
push edi
push eax
push ebx
call fcn.004ac34c
add esp, 0x10
cmp dword [0x50aff8], 0
je 0x4afc99
cmp dword [0x50ae48], 0
je 0x4afc99
mov ecx, dword [0x50aff4]
rdtsc
sub eax, ecx
add ecx, eax
mov dword [0x50aff4], ecx
mov ecx, dword [0x50b000]
cmp ecx, 1
jbe 0x4afb6e
xor edx, edx
div ecx
push 0x15c
jmp 0x4afa6e
mov ecx, eax
shr ecx, 0x14
and ecx, 0xf
je 0x4afbda
and eax, 0xf
cmp ecx, eax
ja 0x4afbda
cmp dword [0x50aff8], 0
mov dword [0x50d740], ecx
je 0x4afbd2
cmp dword [0x50ae48], 0
je 0x4afbd2
mov ecx, dword [0x50aff4]
rdtsc
sub eax, ecx
add ecx, eax
mov dword [0x50aff4], ecx
mov ecx, dword [0x50b000]
cmp ecx, 1
jbe 0x4afbc2
xor edx, edx
div ecx
push 0x16d
push edi
push eax
push ebx
call fcn.004ac34c
add esp, 0x10
pop edi
pop esi
pop ebx
jmp fcn.004b00ec
cmp dword [0x50aff8], 0
je 0x4afc99
cmp dword [0x50ae48], 0
je 0x4afc99
mov ecx, dword [0x50aff4]
rdtsc
sub eax, ecx
add ecx, eax
mov dword [0x50aff4], ecx
mov ecx, dword [0x50b000]
cmp ecx, 1
jbe 0x4afc15
xor edx, edx
div ecx
push 0x167
jmp 0x4afc8e
cmp dword [0x50aff8], 0
je 0x4afc99
cmp dword [0x50ae48], 0
je 0x4afc99
mov ecx, dword [0x50aff4]
rdtsc
sub eax, ecx
add ecx, eax
mov dword [0x50aff4], ecx
mov ecx, dword [0x50b000]
cmp ecx, 1
jbe 0x4afc4f
xor edx, edx
div ecx
push 0x11e
jmp 0x4afc8e
cmp dword [0x50aff8], 0
je 0x4afc99
cmp dword [0x50ae48], 0
je 0x4afc99
mov ecx, dword [0x50aff4]
rdtsc
sub eax, ecx
add ecx, eax
mov dword [0x50aff4], ecx
mov ecx, dword [0x50b000]
cmp ecx, 1
jbe 0x4afc89
xor edx, edx
div ecx
push 0x112
push edi
push eax
push ebx
call fcn.004ac34c
add esp, 0x10
pop edi
pop esi
xor al, al
pop ebx
ret