Function at 0x4b117e
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x50aff8], 0
push ebx
push esi
mov ebx, edx
mov byte [ebp - 1], cl
push edi
mov dword [ebp - 0xc], ebx
je 0x4b11e0
cmp dword [0x50ae48], 0
je 0x4b11e0
mov esi, dword [0x50b000]
rdtsc
mov ecx, eax
mov eax, dword [0x50aff4]
sub ecx, eax
add eax, ecx
mov dword [0x50aff4], eax
cmp esi, 1
jbe 0x4b11c8
mov eax, ecx
xor edx, edx
div esi
mov ecx, eax
push 0x3fb
push 0x4c86d2
push ecx
push 0x4c7d4e
call fcn.004ac34c
add esp, 0x10
mov eax, dword [0x50d740]
mov ecx, dword [0x50d738]
add eax, 0x10
mov edi, dword [0x50d73c]
lea esi, [ecx + eax*4]
push esi
call dword [0x50afe4]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x4b12b1
cmp dword [0x50aff8], 0
je 0x4b19ac
cmp dword [0x50ae48], 0
je 0x4b125d
mov esi, dword [0x50b000]
rdtsc
mov ecx, eax
mov eax, dword [0x50aff4]
sub ecx, eax
add eax, ecx
mov dword [0x50aff4], eax
cmp esi, 1
jbe 0x4b1245
mov eax, ecx
xor edx, edx
div esi
mov ecx, eax
push 0x40d
push 0x4c86d2
push ecx
push 0x4c7d4e
call fcn.004ac34c
add esp, 0x10
cmp dword [0x50aff8], 0
je 0x4b19ac
cmp dword [0x50ae48], 0
je 0x4b19ac
mov esi, dword [0x50b000]
rdtsc
mov ecx, eax
mov eax, dword [0x50aff4]
sub ecx, eax
add eax, ecx
mov dword [0x50aff4], eax
cmp esi, 1
jbe 0x4b129c
mov eax, ecx
xor edx, edx
div esi
mov ecx, eax
push 0x40e
push 0x4c86d2
push ecx
push 0x4c7d60
jmp 0x4b19a4
test al, 1
je 0x4b18ca
cmp dword [0x50aff8], 0
je 0x4b130e
cmp dword [0x50ae48], 0
je 0x4b130e
mov ebx, dword [0x50b000]
rdtsc
mov ecx, eax
mov eax, dword [0x50aff4]
sub ecx, eax
add eax, ecx
mov dword [0x50aff4], eax
cmp ebx, 1
jbe 0x4b12f0
mov eax, ecx
xor edx, edx
div ebx
mov ecx, eax
push 0x414
push 0x4c86d2
push ecx
push 0x4c7d4e
call fcn.004ac34c
mov eax, dword [ebp - 8]
add esp, 0x10
mov ebx, dword [ebp - 0xc]
and eax, 0xfffffffb
mov byte [ebx], 1
or eax, 0x100
push eax
push esi
call dword [0x50aff0]
push 0x14
pop ecx
call fcn.004b0bc4
test al, al
jne 0x4b137c
cmp dword [0x50aff8], 0
je 0x4b19ac
cmp dword [0x50ae48], 0
je 0x4b19ac
mov esi, dword [0x50b000]
rdtsc
mov ecx, eax
mov eax, dword [0x50aff4]
sub ecx, eax
add eax, ecx
mov dword [0x50aff4], eax
cmp esi, 1
jbe 0x4b136c
mov eax, ecx
xor edx, edx
div esi
mov ecx, eax
push 0x424
push 0x4c86d2
push ecx
jmp 0x4b199f
push esi
call dword [0x50afe4]
or ebx, 0xffffffff
cmp eax, ebx
jne 0x4b142a
cmp dword [0x50aff8], 0
je 0x4b19ac
cmp dword [0x50ae48], 0
je 0x4b13e1
mov esi, dword [0x50b000]
rdtsc
mov ecx, eax
mov eax, dword [0x50aff4]
sub ecx, eax
add eax, ecx
mov dword [0x50aff4], eax
cmp esi, 1
jbe 0x4b13c9
mov eax, ecx
xor edx, edx
div esi
mov ecx, eax
push 0x42f
push 0x4c86d2
push ecx
push 0x4c7d4e
call fcn.004ac34c
add esp, 0x10
cmp dword [0x50aff8], 0
je 0x4b19ac
cmp dword [0x50ae48], 0
je 0x4b19ac
mov esi, dword [0x50b000]
rdtsc
mov ecx, eax
mov eax, dword [0x50aff4]
sub ecx, eax
add eax, ecx
mov dword [0x50aff4], eax
cmp esi, 1
jbe 0x4b1420
mov eax, ecx
xor edx, edx
div esi
mov ecx, eax
push 0x430
jmp 0x4b12a1
and eax, 0xfffffeff
push eax
push esi
call dword [0x50aff0]
push 5
pop ecx
call fcn.004b0bc4
test al, al
jne 0x4b148c
cmp dword [0x50aff8], 0
je 0x4b19ac
cmp dword [0x50ae48], 0
je 0x4b19ac
mov esi, dword [0x50b000]
rdtsc
mov ecx, eax
mov eax, dword [0x50aff4]
sub ecx, eax
add eax, ecx
mov dword [0x50aff4], eax
cmp esi, 1
jbe 0x4b1482
mov eax, ecx
xor edx, edx
div esi
mov ecx, eax
push 0x43e
jmp 0x4b1371
push esi
call dword [0x50afe4]
cmp eax, ebx
jne 0x4b1537
cmp dword [0x50aff8], 0
je 0x4b19ac
cmp dword [0x50ae48], 0
je 0x4b14ee
mov esi, dword [0x50b000]
rdtsc
mov ecx, eax
mov eax, dword [0x50aff4]
sub ecx, eax
add eax, ecx
mov dword [0x50aff4], eax
cmp esi, 1
jbe 0x4b14d6
mov eax, ecx
xor edx, edx
div esi
mov ecx, eax
push 0x446
push 0x4c86d2
push ecx
push 0x4c7d4e
call fcn.004ac34c
add esp, 0x10
cmp dword [0x50aff8], 0
je 0x4b19ac
cmp dword [0x50ae48], 0
je 0x4b19ac
mov esi, dword [0x50b000]
rdtsc
mov ecx, eax
mov eax, dword [0x50aff4]
sub ecx, eax
add eax, ecx
mov dword [0x50aff4], eax
cmp esi, 1
jbe 0x4b152d
mov eax, ecx
xor edx, edx
div esi
mov ecx, eax
push 0x447
jmp 0x4b12a1
test al, 1
je 0x4b16b5
test al, 4
je 0x4b16b5
push edi
call dword [0x50afe4]
cmp eax, ebx
jne 0x4b15f2
cmp dword [0x50aff8], 0
je 0x4b19ac
cmp dword [0x50ae48], 0
je 0x4b15a9
mov esi, dword [0x50b000]
rdtsc
mov ecx, eax
mov eax, dword [0x50aff4]
sub ecx, eax
add eax, ecx
mov dword [0x50aff4], eax
cmp esi, 1
jbe 0x4b1591
mov eax, ecx
xor edx, edx
div esi
mov ecx, eax
push 0x455
push 0x4c86d2
push ecx
push 0x4c7d4e
call fcn.004ac34c
add esp, 0x10
cmp dword [0x50aff8], 0
je 0x4b19ac
cmp dword [0x50ae48], 0
je 0x4b19ac
mov esi, dword [0x50b000]
rdtsc
mov ecx, eax
mov eax, dword [0x50aff4]
sub ecx, eax
add eax, ecx
mov dword [0x50aff4], eax
cmp esi, 1
jbe 0x4b15e8
mov eax, ecx
xor edx, edx
div esi
mov ecx, eax
push 0x456
jmp 0x4b12a1
or eax, 0x10000000
push eax
push edi
call dword [0x50aff0]
push esi
call dword [0x50afe4]
cmp eax, ebx
jne 0x4b16aa
cmp dword [0x50aff8], 0
je 0x4b19ac
cmp dword [0x50ae48], 0
je 0x4b1661
mov esi, dword [0x50b000]
rdtsc
mov ecx, eax
mov eax, dword [0x50aff4]
sub ecx, eax
add eax, ecx
mov dword [0x50aff4], eax
cmp esi, 1
jbe 0x4b1649
mov eax, ecx
xor edx, edx
div esi
mov ecx, eax
push 0x466
push 0x4c86d2
push ecx
push 0x4c7d4e
call fcn.004ac34c
add esp, 0x10
cmp dword [0x50aff8], 0
je 0x4b19ac
cmp dword [0x50ae48], 0
je 0x4b19ac
mov esi, dword [0x50b000]
rdtsc
mov ecx, eax
mov eax, dword [0x50aff4]
sub ecx, eax
add eax, ecx
mov dword [0x50aff4], eax
cmp esi, 1
jbe 0x4b16a0
mov eax, ecx
xor edx, edx
div esi
mov ecx, eax
push 0x467
jmp 0x4b12a1
and eax, 0xfffffffb
push eax
push esi
call dword [0x50aff0]
cmp byte [ebp - 1], 0
je 0x4b170d
call fcn.004b0844
test al, al
jne 0x4b170d
cmp dword [0x50aff8], 0
je 0x4b19ac
cmp dword [0x50ae48], 0
je 0x4b19ac
mov esi, dword [0x50b000]
rdtsc
mov ecx, eax
mov eax, dword [0x50aff4]
sub ecx, eax
add eax, ecx
mov dword [0x50aff4], eax
cmp esi, 1
jbe 0x4b1703
mov eax, ecx
xor edx, edx
div esi
mov ecx, eax
push 0x479
jmp 0x4b1371
push edi
call dword [0x50afe4]
cmp eax, ebx
jne 0x4b17b8
cmp dword [0x50aff8], 0
je 0x4b19ac
cmp dword [0x50ae48], 0
je 0x4b176f
mov esi, dword [0x50b000]
rdtsc
mov ecx, eax
mov eax, dword [0x50aff4]
sub ecx, eax
add eax, ecx
mov dword [0x50aff4], eax
cmp esi, 1
jbe 0x4b1757
mov eax, ecx
xor edx, edx
div esi
mov ecx, eax
push 0x499
push 0x4c86d2
push ecx
push 0x4c7d4e
call fcn.004ac34c
add esp, 0x10
cmp dword [0x50aff8], 0
je 0x4b19ac
cmp dword [0x50ae48], 0
je 0x4b19ac
mov esi, dword [0x50b000]
rdtsc
mov ecx, eax
mov eax, dword [0x50aff4]
sub ecx, eax
add eax, ecx
mov dword [0x50aff4], eax
cmp esi, 1
jbe 0x4b17ae
mov eax, ecx
xor edx, edx
div esi
mov ecx, eax
push 0x49a
jmp 0x4b12a1
test eax, 0x10000000
je 0x4b1885
cmp dword [0x50aff8], 0
je 0x4b1812
cmp dword [0x50ae48], 0
je 0x4b1812
mov esi, dword [0x50b000]
rdtsc
mov ecx, eax
mov eax, dword [0x50aff4]
sub ecx, eax
add eax, ecx
mov dword [0x50aff4], eax
cmp esi, 1
jbe 0x4b17fa
mov eax, ecx
xor edx, edx
div esi
mov ecx, eax
push 0x4a0
push 0x4c86d2
push ecx
push 0x4c7d4e
call fcn.004ac34c
add esp, 0x10
call fcn.004b19b4
test al, al
je 0x4b1885
push edi
call dword [0x50afe4]
or eax, 0x400
push eax
push edi
call dword [0x50aff0]
cmp dword [0x50aff8], 0
je 0x4b187e
cmp dword [0x50ae48], 0
je 0x4b187e
mov esi, dword [0x50b000]
rdtsc
mov ecx, eax
mov eax, dword [0x50aff4]
sub ecx, eax
add eax, ecx
mov dword [0x50aff4], eax
cmp esi, 1
jbe 0x4b1866
mov eax, ecx
xor edx, edx
div esi
mov ecx, eax
push 0x4af
push 0x4c86d2
push ecx
push 0x4c7d4e
call fcn.004ac34c
add esp, 0x10
mov al, 1
jmp 0x4b19ae
cmp dword [0x50aff8], 0
je 0x4b19ac
cmp dword [0x50ae48], 0
je 0x4b19ac
mov ecx, dword [0x50aff4]
rdtsc
sub eax, ecx
add ecx, eax
mov dword [0x50aff4], ecx
mov ecx, dword [0x50b000]
cmp ecx, 1
jbe 0x4b18c0
xor edx, edx
div ecx
push 0x4b4
jmp 0x4b1999
cmp dword [0x50aff8], 0
je 0x4b1915
cmp dword [0x50ae48], 0
je 0x4b1915
mov ecx, dword [0x50aff4]
rdtsc
sub eax, ecx
add ecx, eax
mov dword [0x50aff4], ecx
mov ecx, dword [0x50b000]
cmp ecx, 1
jbe 0x4b18fd
xor edx, edx
div ecx
push 0x480
push 0x4c86d2
push eax
push 0x4c7d4e
call fcn.004ac34c
add esp, 0x10
cmp byte [ebp - 1], 0
mov byte [ebx], 0
je 0x4b1961
call fcn.004b0844
test al, al
jne 0x4b1961
cmp dword [0x50aff8], 0
je 0x4b19ac
cmp dword [0x50ae48], 0
je 0x4b19ac
mov ecx, dword [0x50aff4]
rdtsc
sub eax, ecx
add ecx, eax
mov dword [0x50aff4], ecx
mov ecx, dword [0x50b000]
cmp ecx, 1
jbe 0x4b195a
xor edx, edx
div ecx
push 0x48d
jmp 0x4b1999
cmp dword [0x50aff8], 0
je 0x4b19ac
cmp dword [0x50ae48], 0
je 0x4b19ac
mov ecx, dword [0x50aff4]
rdtsc
sub eax, ecx
add ecx, eax
mov dword [0x50aff4], ecx
mov ecx, dword [0x50b000]
cmp ecx, 1
jbe 0x4b1994
xor edx, edx
div ecx
push 0x491
push 0x4c86d2
push eax
push 0x4c7d4e
call fcn.004ac34c
add esp, 0x10
xor al, al
pop edi
pop esi
pop ebx
leave
ret