Function at 0x4b06f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x10018
call fcn.004d5830
push ebx
push ebp
mov ebp, dword [esp + 0x10028]
push esi
push edi
mov edi, dword [esp + 0x1002c]
mov esi, ecx
test edi, edi
je 0x4b0719
mov ecx, edi
call fcn.0041acb0
cmp dword [esp + 0x10038], 0
jne 0x4b072e
mov dword [esp + 0x10038], 0x1f4
cmp dword [esp + 0x1003c], 1
jge 0x4b0743
mov dword [esp + 0x1003c], 0x32
cmp ebp, 1
jge 0x4b074d
mov ebp, 1
test esi, esi
je 0x4b0920
mov ebx, dword [sym.imp.USER32.dll_SendMessageTimeoutW]
lea eax, [esp + 0x20]
push eax
push 0x7d0
push 2
push 0
push 0
push 0x406
push esi
call ebx
test eax, eax
je 0x4b0920
cmp ebp, dword [esp + 0x20]
jg 0x4b0920
push 0x10000
xor eax, eax
mov ecx, esi
lea edi, [esp + 0x1c]
call fcn.004ad630
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
test edi, edi
je 0x4b0919
xor ecx, ecx
dec ebp
mov word [esp + 0x28], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x24], eax
lea ebx, [ebx]
lea edx, [esp + 0x14]
push edx
push 0x7d0
push 2
push 0
push ebp
push 0x40c
push esi
call ebx
test eax, eax
je 0x4b083a
mov eax, 0x7fff
cmp word [esp + 0x14], ax
ja 0x4b0893
lea ecx, [esp + 0x14]
push ecx
push 0x7d0
push 2
push edi
push ebp
push 0x40d
push esi
call ebx
test eax, eax
je 0x4b083a
movzx edx, word [esp + 0x14]
push 0
lea eax, [edx + edx + 2]
mov edx, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
push edi
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x4b088c
mov ecx, dword [esp + 0x10034]
lea eax, [esp + 0x28]
call fcn.004afc30
test al, al
jne 0x4b08b9
cmp dword [esp + 0x1002c], 0
jne 0x4b089d
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b08ed
mov edi, dword [esp + 0x10038]
test edi, edi
js 0x4b0871
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x24]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x4b08d2
mov edx, dword [esp + 0x1003c]
push 1
push edx
call fcn.00401930
mov edi, dword [esp + 0x24]
add esp, 8
jmp 0x4b07c0
xor eax, eax
mov word [esp + 0x28], ax
cmp dword [esp + 0x1002c], 0
je 0x4b08ed
mov ecx, dword [esp + 0x1002c]
push 1
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x34]
push eax
push ecx
call fcn.004aefb0
mov esi, eax
jmp 0x4b08f2
mov ecx, dword [0x51b6d0]
push 1
push 0
push 0xffffffffffffffff
push 0x4e6a28
push ecx
call fcn.004aefb0
jmp 0x4b0893
mov edx, dword [0x51b6d0]
push 1
push 0
push 0xffffffffffffffff
push 0x4eb75c
push edx
call fcn.004aefb0
mov edi, dword [esp + 0x1c]
mov esi, 1
push 0x8000
push 0
push edi
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10018
ret
mov edi, dword [esp + 0x1002c]
mov eax, 0x4eb75c
test edi, edi
jne 0x4b092e
mov eax, 0x4ebe14
mov edx, dword [0x5165ec]
test byte [edx + 0x100], 1
jne 0x4b095a
push 1
push 0
push 0xffffffffffffffff
push eax
mov eax, dword [0x51b6d0]
push eax
call fcn.004aefb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10018
ret
mov ecx, dword [0x51c728]
push 0x4f5ac4
push 0
push eax
call fcn.0042dac0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10018
ret