Function at 0x4b1bf0
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [0x50aff8], 0
push ebx
push esi
push edi
mov edi, edx
mov ebx, 0x4c8702
je 0x4b1c4b
cmp dword [0x50ae48], 0
je 0x4b1c4b
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 0x4b1c37
mov eax, ecx
xor edx, edx
div esi
mov ecx, eax
push 0x53c
push ebx
push ecx
push 0x4c7d4e
call fcn.004ac34c
add esp, 0x10
mov esi, dword [0x50d73c]
push dword [edi]
lea eax, [esi + 8]
push eax
call dword [0x50aff0]
push dword [edi + 4]
lea eax, [esi + 0xc]
push eax
call dword [0x50aff0]
lea eax, [esi + 4]
push 0xc32d
push eax
call dword [0x50aff0]
xor edi, edi
lea eax, [esi + 0x10]
push edi
push eax
call dword [0x50aff0]
push esi
call dword [0x50afe4]
cmp eax, 0xffffffff
jne 0x4b1d2c
cmp dword [0x50aff8], edi
je 0x4b1de6
cmp dword [0x50ae48], edi
je 0x4b1ce3
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 0x4b1ccf
mov eax, ecx
xor edx, edx
div esi
mov ecx, eax
push 0x557
push ebx
push ecx
push 0x4c7d4e
call fcn.004ac34c
add esp, 0x10
cmp dword [0x50aff8], edi
je 0x4b1de6
cmp dword [0x50ae48], edi
je 0x4b1de6
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 0x4b1d20
mov eax, ecx
xor edx, edx
div esi
mov ecx, eax
push 0x558
push ebx
push ecx
jmp 0x4b1dd9
and eax, 0xfffefff8
or eax, 0x38
push eax
push esi
call dword [0x50aff0]
jmp 0x4b1d49
test eax, 0x10000
jne 0x4b1def
push esi
call dword [0x50afe4]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x4b1d3e
cmp dword [0x50aff8], edi
je 0x4b1de6
cmp dword [0x50ae48], edi
je 0x4b1da1
mov ecx, dword [0x50aff4]
rdtsc
sub eax, ecx
add ecx, eax
mov dword [0x50aff4], ecx
mov ecx, dword [0x50b000]
cmp ecx, 1
jbe 0x4b1d8d
xor edx, edx
div ecx
push 0x56b
push ebx
push eax
push 0x4c7d4e
call fcn.004ac34c
add esp, 0x10
cmp dword [0x50aff8], edi
je 0x4b1de6
cmp dword [0x50ae48], edi
je 0x4b1de6
mov ecx, dword [0x50aff4]
rdtsc
sub eax, ecx
add ecx, eax
mov dword [0x50aff4], ecx
mov ecx, dword [0x50b000]
cmp ecx, 1
jbe 0x4b1dd2
xor edx, edx
div ecx
push 0x56c
push ebx
push eax
push 0x4c7d60
call fcn.004ac34c
add esp, 0x10
xor al, al
pop edi
pop esi
pop ebx
leave
ret 8
push eax
push esi
call dword [0x50aff0]
mov ebx, edi
cmp edi, 3
jae 0x4b1e94
push 0x69
lea eax, [esi + 4]
push eax
call dword [0x50aff0]
mov eax, dword [ebp - 4]
and eax, 0xfffeffef
or eax, 0x20
push eax
push esi
call dword [0x50aff0]
push esi
call dword [0x50afe4]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x4b22c8
test eax, 0x10000
je 0x4b1e21
push eax
push esi
call dword [0x50aff0]
test byte [ebp - 4], 0x40
je 0x4b1e4c
inc edi
jmp 0x4b1e84
lea eax, [esi + 4]
push eax
call dword [0x50afe4]
cmp eax, 0xffffffff
je 0x4b222f
and eax, 0xff0000
cmp eax, 0x5a0000
je 0x4b1e84
cmp eax, 0xc30000
je 0x4b1e84
cmp eax, 0x1e0000
je 0x4b21df
cmp eax, 0x4b0000
je 0x4b1edf
inc ebx
cmp ebx, 0x3e8
jb 0x4b1df9
cmp edi, 3
jne 0x4b235c
cmp dword [0x50aff8], 0
je 0x4b1de6
cmp dword [0x50ae48], 0
je 0x4b1de6
mov ecx, dword [0x50aff4]
rdtsc
sub eax, ecx
add ecx, eax
mov dword [0x50aff4], ecx
mov ecx, dword [0x50b000]
cmp ecx, 1
jbe 0x4b1ed5
xor edx, edx
div ecx
push 0x5dd
jmp 0x4b221f
push esi
call dword [0x50afe4]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x4b1f93
cmp dword [0x50aff8], 0
je 0x4b1de6
cmp dword [0x50ae48], 0
je 0x4b1f45
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 0x4b1f2d
mov eax, ecx
xor edx, edx
div esi
mov ecx, eax
push 0x5eb
push 0x4c8702
push ecx
push 0x4c7d4e
call fcn.004ac34c
add esp, 0x10
cmp dword [0x50aff8], 0
je 0x4b1de6
cmp dword [0x50ae48], 0
je 0x4b1de6
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 0x4b1f84
mov eax, ecx
xor edx, edx
div esi
mov ecx, eax
push 0x5ec
push 0x4c8702
jmp 0x4b1d26
mov edi, dword [ebp + 0xc]
and eax, 0xf
cmp eax, dword [edi]
jae 0x4b1f9f
mov dword [edi], eax
lea eax, [esi + 8]
push eax
call dword [0x50afe4]
mov dword [ebp + 0xc], eax
lea eax, [esi + 0xc]
push eax
call dword [0x50afe4]
mov ecx, dword [edi]
dec ecx
cmp ecx, 7
ja case.default.0x4b1fc1
mov edx, dword [ebp + 8]
jmp dword [ecx*4 + 0x4b23a4]
mov ecx, eax
shr ecx, 0x18
mov byte [edx + 7], cl
mov ecx, eax
shr ecx, 0x10
mov byte [edx + 6], cl
mov ecx, eax
shr ecx, 8
mov byte [edx + 5], cl
mov byte [edx + 4], al
mov eax, dword [ebp + 0xc]
mov ecx, eax
shr ecx, 0x18
mov byte [edx + 3], cl
jmp 0x4b1ff3
mov eax, dword [ebp + 0xc]
mov ecx, eax
shr ecx, 0x10
mov byte [edx + 2], cl
jmp 0x4b2000
mov eax, dword [ebp + 0xc]
mov ecx, eax
shr ecx, 8
mov byte [edx + 1], cl
jmp 0x4b200d
mov eax, dword [ebp + 0xc]
mov byte [edx], al
xor ebx, ebx
mov edi, ebx
cmp edi, 3
jae 0x4b20a0
push 0x4be1
lea eax, [esi + 4]
push eax
call dword [0x50aff0]
mov eax, dword [ebp - 4]
and eax, 0xfffefff0
or eax, 0x30
push eax
push esi
call dword [0x50aff0]
push esi
call dword [0x50afe4]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x4b2143
test eax, 0x10000
je 0x4b203e
push eax
push esi
call dword [0x50aff0]
mov eax, dword [ebp - 4]
test al, 0x40
je 0x4b206a
inc edi
jmp 0x4b2093
lea eax, [esi + 4]
push eax
call dword [0x50afe4]
cmp eax, 0xffffffff
je 0x4b20a7
and eax, 0xff0000
cmp eax, 0x5a0000
je 0x4b2093
cmp eax, 0xd20000
je 0x4b20a0
cmp eax, 0x960000
je 0x4b20a0
inc ebx
cmp ebx, 0x3e8
jb 0x4b2013
mov al, 1
jmp 0x4b1de8
cmp dword [0x50aff8], 0
je 0x4b1de6
cmp dword [0x50ae48], 0
je 0x4b20fa
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 0x4b20e2
mov eax, ecx
xor edx, edx
div esi
mov ecx, eax
push 0x64d
push 0x4c8702
push ecx
push 0x4c7d4e
call fcn.004ac34c
add esp, 0x10
cmp dword [0x50aff8], 0
je 0x4b1de6
cmp dword [0x50ae48], 0
je 0x4b1de6
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 0x4b2139
mov eax, ecx
xor edx, edx
div esi
mov ecx, eax
push 0x64e
jmp 0x4b1f89
cmp dword [0x50aff8], 0
je 0x4b1de6
cmp dword [0x50ae48], 0
je 0x4b2196
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 0x4b217e
mov eax, ecx
xor edx, edx
div esi
mov ecx, eax
push 0x62d
push 0x4c8702
push ecx
push 0x4c7d4e
call fcn.004ac34c
add esp, 0x10
cmp dword [0x50aff8], 0
je 0x4b1de6
cmp dword [0x50ae48], 0
je 0x4b1de6
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 0x4b21d5
mov eax, ecx
xor edx, edx
div esi
mov ecx, eax
push 0x62e
jmp 0x4b1f89
cmp dword [0x50aff8], 0
je 0x4b1de6
cmp dword [0x50ae48], 0
je 0x4b1de6
mov ecx, dword [0x50aff4]
rdtsc
sub eax, ecx
add ecx, eax
mov dword [0x50aff4], ecx
mov ecx, dword [0x50b000]
cmp ecx, 1
jbe 0x4b221a
xor edx, edx
div ecx
push 0x5ce
push 0x4c8702
push eax
push 0x4c7d4e
jmp 0x4b1dde
cmp dword [0x50aff8], 0
je 0x4b1de6
cmp dword [0x50ae48], 0
je 0x4b227e
mov ecx, dword [0x50aff4]
rdtsc
sub eax, ecx
add ecx, eax
mov dword [0x50aff4], ecx
mov ecx, dword [0x50b000]
cmp ecx, 1
jbe 0x4b2266
xor edx, edx
div ecx
push 0x5c1
push 0x4c8702
push eax
push 0x4c7d4e
call fcn.004ac34c
add esp, 0x10
cmp dword [0x50aff8], 0
je 0x4b1de6
cmp dword [0x50ae48], 0
je 0x4b1de6
mov ecx, dword [0x50aff4]
rdtsc
sub eax, ecx
add ecx, eax
mov dword [0x50aff4], ecx
mov ecx, dword [0x50b000]
cmp ecx, 1
jbe 0x4b22b9
xor edx, edx
div ecx
push 0x5c2
push 0x4c8702
jmp 0x4b1dd8
cmp dword [0x50aff8], 0
je 0x4b1de6
cmp dword [0x50ae48], 0
je 0x4b2317
mov ecx, dword [0x50aff4]
rdtsc
sub eax, ecx
add ecx, eax
mov dword [0x50aff4], ecx
mov ecx, dword [0x50b000]
cmp ecx, 1
jbe 0x4b22ff
xor edx, edx
div ecx
push 0x5a1
push 0x4c8702
push eax
push 0x4c7d4e
call fcn.004ac34c
add esp, 0x10
cmp dword [0x50aff8], 0
je 0x4b1de6
cmp dword [0x50ae48], 0
je 0x4b1de6
mov ecx, dword [0x50aff4]
rdtsc
sub eax, ecx
add ecx, eax
mov dword [0x50aff4], ecx
mov ecx, dword [0x50b000]
cmp ecx, 1
jbe 0x4b2352
xor edx, edx
div ecx
push 0x5a2
jmp 0x4b22be
cmp dword [0x50aff8], 0
je 0x4b1de6
cmp dword [0x50ae48], 0
je 0x4b1de6
mov ecx, dword [0x50aff4]
rdtsc
sub eax, ecx
add ecx, eax
mov dword [0x50aff4], ecx
mov ecx, dword [0x50b000]
cmp ecx, 1
jbe 0x4b2397
xor edx, edx
div ecx
push 0x5e2
jmp 0x4b221f