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

Disassembly:
mov eax, 0x8018
call fcn.0049fa60
push ebx
push ebp
mov ebp, dword [esp + 0x8028]
push esi
push edi
mov edi, dword [esp + 0x802c]
mov esi, ecx
test edi, edi
je 0x482fc9
mov ecx, edi
call fcn.00417010
cmp dword [esp + 0x8038], 0
jne 0x482fde
mov dword [esp + 0x8038], 0x1f4
cmp dword [esp + 0x803c], 1
jge 0x482ff3
mov dword [esp + 0x803c], 0x32
cmp ebp, 1
jge 0x482ffd
mov ebp, 1
test esi, esi
je 0x483212
mov ebx, dword [sym.imp.USER32.dll_SendMessageTimeoutA]
lea eax, [esp + 0x20]
push eax
push 0x7d0
push 2
push 0
push 0
push 0x406
push esi
call ebx
test eax, eax
je 0x483212
cmp ebp, dword [esp + 0x20]
jg 0x483212
push 0x8000
xor eax, eax
mov ecx, esi
lea edi, [esp + 0x1c]
call fcn.0047f230
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
je 0x48320b
dec ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0x24], eax
mov byte [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x10]
push ecx
push 0x7d0
push 2
push 0
push ebp
push 0x403
push esi
call ebx
test eax, eax
je 0x4830f1
mov edx, 0x7fff
cmp word [esp + 0x10], dx
ja 0x483186
lea eax, [esp + 0x10]
push eax
push 0x7d0
push 2
push edi
push ebp
push 0x402
push esi
call ebx
test eax, eax
je 0x4830f1
movzx ecx, word [esp + 0x10]
mov eax, dword [esp + 0x18]
push 0
inc ecx
push ecx
lea edx, [esp + 0x30]
push edx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x483181
mov edx, dword [esp + 0x8034]
lea eax, [esp + 0x28]
call fcn.00482560
test al, al
jne 0x4831ac
cmp dword [esp + 0x802c], 0
jne 0x483190
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4831df
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x8038]
cmp dword [0x4bd780], ecx
jne 0x483153
test edi, edi
js 0x483138
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x1c]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x483153
mov eax, dword [esp + 0x803c]
push 1
push eax
call fcn.00401280
mov edi, dword [esp + 0x1c]
add esp, 8
jmp 0x483072
test edi, edi
js 0x48316a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x1c]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x4831c4
mov edx, dword [esp + 0x803c]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [esp + 0x14]
jmp 0x483072
mov byte [esp + 0x28], 0
cmp dword [esp + 0x802c], 0
je 0x4831df
mov eax, dword [esp + 0x802c]
push 1
push 0
push 0xffffffffffffffff
lea edx, [esp + 0x34]
push edx
push eax
call fcn.00481890
mov esi, eax
jmp 0x4831e4
mov eax, dword [0x4bbf74]
push 1
push 0
push 0xffffffffffffffff
push 0x4a6904
push eax
call fcn.00481890
jmp 0x483186
mov ecx, dword [0x4bbf74]
push 1
push 0
push 0xffffffffffffffff
push 0x4a7fd8
push ecx
call fcn.00481890
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, 0x8018
ret
mov edi, dword [esp + 0x802c]
mov eax, 0x4a7fd8
test edi, edi
jne 0x483220
mov eax, 0x4a8110
mov ecx, dword [0x4b7468]
cmp byte [ecx + 0xe4], 0
jne 0x48324d
mov edx, dword [0x4bbf74]
push 1
push 0
push 0xffffffffffffffff
push eax
push edx
call fcn.00481890
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8018
ret
mov ecx, dword [0x4bdb68]
push 0x4a6869
push 0
push eax
call fcn.00432b40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8018
ret