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

Disassembly:
mov eax, 0x1001c
call fcn.004b9d80
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x10030]
mov ebx, ecx
mov esi, edx
test edi, edi
je 0x4a3fc4
mov ecx, edi
call fcn.004269a0
cmp dword [esp + 0x10038], 0
jne 0x4a3fd9
mov dword [esp + 0x10038], 0x1f4
cmp dword [esp + 0x1003c], 1
jge 0x4a3fee
mov dword [esp + 0x1003c], 0x32
cmp ebx, 1
jge 0x4a3ff8
mov ebx, 1
test esi, esi
je 0x4a4216
mov ebp, 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 ebp
test eax, eax
je 0x4a4216
cmp ebx, dword [esp + 0x20]
jg 0x4a4216
push 0x10000
xor eax, eax
mov ecx, esi
lea edi, [esp + 0x1c]
call fcn.0049fb80
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
je 0x4a420f
mov ecx, dword fs:[0x24]
xor edx, edx
dec ebx
mov dword [esp + 0x24], ecx
mov word [esp + 0x28], dx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
push 0x7d0
push 2
push 0
push ebx
push 0x40c
push esi
call ebp
test eax, eax
je 0x4a40f2
mov ecx, 0x7fff
cmp word [esp + 0x10], cx
ja 0x4a4189
lea edx, [esp + 0x10]
push edx
push 0x7d0
push 2
push edi
push ebx
push 0x40d
push esi
call ebp
test eax, eax
je 0x4a40f2
movzx eax, word [esp + 0x10]
push 0
lea ecx, [eax + eax + 2]
mov eax, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x30]
push edx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x4a4182
mov ecx, dword [esp + 0x10034]
lea eax, [esp + 0x28]
call fcn.004a34b0
test al, al
jne 0x4a41af
cmp dword [esp + 0x10030], 0
jne 0x4a4193
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a41e3
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x10038]
cmp dword [0x4ea158], ecx
jne 0x4a4154
test edi, edi
js 0x4a4139
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x1c]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x4a4154
mov eax, dword [esp + 0x1003c]
push 1
push eax
call fcn.00401510
mov edi, dword [esp + 0x1c]
add esp, 8
jmp 0x4a4070
test edi, edi
js 0x4a416b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x1c]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x4a41c8
mov edx, dword [esp + 0x1003c]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [esp + 0x14]
jmp 0x4a4070
xor eax, eax
mov word [esp + 0x28], ax
cmp dword [esp + 0x10030], 0
je 0x4a41e3
mov ecx, dword [esp + 0x10030]
push 1
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x34]
push eax
push ecx
call fcn.004a2810
mov esi, eax
jmp 0x4a41e8
mov ecx, dword [0x4e86f0]
push 1
push 0
push 0xffffffffffffffff
push 0x4bbb9c
push ecx
call fcn.004a2810
jmp 0x4a4189
mov edx, dword [0x4e86f0]
push 1
push 0
push 0xffffffffffffffff
push 0x4bf81c
push edx
call fcn.004a2810
mov edi, dword [esp + 0x14]
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, 0x1001c
ret
mov edi, dword [esp + 0x10030]
mov eax, 0x4bf81c
test edi, edi
jne 0x4a4224
mov eax, 0x4bfd54
mov edx, dword [0x4e4b24]
test byte [edx + 0x100], 1
jne 0x4a4250
push 1
push 0
push 0xffffffffffffffff
push eax
mov eax, dword [0x4e86f0]
push eax
call fcn.004a2810
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1001c
ret
mov edi, dword [0x4ea818]
push 0x4bd2c4
push 0
push eax
call fcn.00449890
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1001c
ret