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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov byte [ebp - 5], cl
mov dword [ebp - 0x24], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov word [eax + 0x458], 0
mov eax, dword [0x4e9a6c]
mov edx, dword [ebp + 0xc]
mov dword [eax], edx
mov eax, dword [0x4e9988]
mov edx, dword [ebp + 8]
mov dword [eax], edx
mov eax, dword [0x4e9904]
mov byte [eax], 0
cmp byte [ebp - 5], 1
jne 0x486268
mov eax, dword [0x4e9238]
cmp byte [eax], 0
je 0x486268
mov eax, dword [0x4e9afc]
mov eax, dword [eax]
call fcn.004a8a68
jmp 0x4869d1
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [0x4e936c]
mov eax, dword [eax]
mov cl, byte [ebp + 0x10]
mov dl, byte [ebp - 5]
call fcn.0047e8c0
test al, al
jne 0x4869d1
mov eax, dword [0x4e96e8]
cmp dword [eax], 0
je 0x4869d1
mov eax, dword [0x4f1bf0]
mov eax, dword [eax + 0x14]
cmp eax, dword [0x4f1c00]
jne 0x4869d1
test byte [ebp + 0x10], 0x10
je 0x48645f
mov al, byte [0x4869d8]
cmp al, byte [ebp + 0x10]
jne 0x4862c7
mov eax, dword [0x4e9454]
inc dword [eax]
mov eax, dword [0x4e9454]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [0x4f1c00]
call fcn.004ce158
mov dword [ebp - 0x20], eax
mov eax, dword [0x4e9454]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1c]
je 0x4862fd
mov eax, dword [0x4e9454]
xor edx, edx
mov dword [eax], edx
cmp dword [ebp - 0x20], 0
je 0x486357
test byte [ebp + 0x10], 4
je 0x486360
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x4e9518]
sub eax, dword [edx]
cmp eax, 0x3e8
jbe 0x486360
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x12], 0
jne 0x486360
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x2c], 0
jne 0x486360
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
push eax
push 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
mov edx, 0x52
mov eax, dword [ebp - 4]
call fcn.00487e34
jmp 0x4869d1
mov eax, dword [0x4e9454]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x4e95cc]
push eax
mov eax, dword [0x4e9514]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [0x4f1c00]
call fcn.004cdf18
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov edx, dword [0x4e95cc]
sub eax, dword [edx]
cdq
xor eax, edx
sub eax, edx
cmp eax, 2
jg 0x486434
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov edx, dword [0x4e9514]
sub eax, dword [edx]
cdq
xor eax, edx
sub eax, edx
cmp eax, 2
jg 0x486434
mov eax, dword [0x4e9514]
mov eax, dword [eax]
push eax
mov ecx, dword [0x4e95cc]
mov ecx, dword [ecx]
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov edx, dword [eax + 0xc]
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
call fcn.004d5b6c
and eax, 0xff
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.0048a660
test al, al
je 0x48645f
mov eax, dword [ebp - 4]
call fcn.0048a61c
test al, al
je 0x48645f
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov dx, 0xbc2
call fcn.004d7904
jmp 0x48645f
mov eax, dword [0x4e9b34]
mov byte [eax], 1
mov eax, dword [0x4e95cc]
mov eax, dword [eax]
mov edx, dword [0x4e9790]
mov dword [edx], eax
mov eax, dword [0x4e9514]
mov eax, dword [eax]
mov edx, dword [0x4e96cc]
mov dword [edx], eax
jmp 0x4869d1
test byte [ebp + 0x10], 8
je 0x4869d1
mov eax, dword [0x4e9454]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [0x4f1c00]
call fcn.004ce158
mov dword [ebp - 0x20], eax
mov eax, dword [0x4e95cc]
push eax
mov eax, dword [0x4e9514]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [0x4f1c00]
call fcn.004cdf18
mov eax, dword [0x4e93b4]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x4e9540]
cmp byte [eax + 0x44], 0
je 0x4865b9
cmp dword [ebp - 0x20], 0
jne 0x4865b9
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
cmp byte [eax + 0x16], 0
jne 0x4865b9
mov eax, dword [0x4e9540]
cmp byte [eax + 0x54], 0x13
jne 0x4865b9
mov eax, dword [0x4e9514]
mov eax, dword [eax]
push eax
mov ecx, dword [0x4e95cc]
mov ecx, dword [ecx]
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov edx, dword [eax + 0xc]
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
call fcn.004d5b6c
and eax, 0xff
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov edx, dword [eax + 0xc]
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0xc]
call fcn.004d5dcc
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [0x4f1c24]
call fcn.004a07b0
test al, al
je 0x486557
test byte [ebp + 0x10], 1
je 0x4865b9
mov eax, dword [ebp - 4]
call fcn.0048a660
test al, al
je 0x4865ac
mov eax, dword [ebp - 4]
call fcn.0048a61c
test al, al
je 0x4865ac
mov eax, dword [ebp - 4]
call fcn.0048a6b0
test al, al
je 0x4865ac
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov dx, 0xbc7
call fcn.004d7904
mov eax, dword [0x4e9904]
mov byte [eax], 1
jmp 0x4869d1
test byte [ebp + 0x10], 2
je 0x4866e2
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
cmp byte [eax + 0x16], 0
jne 0x4866e2
mov eax, dword [0x4e9514]
mov eax, dword [eax]
push eax
mov ecx, dword [0x4e95cc]
mov ecx, dword [ecx]
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov edx, dword [eax + 0xc]
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
call fcn.004d5b6c
and eax, 0xff
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.0048a660
test al, al
je 0x4866d2
mov eax, dword [ebp - 4]
call fcn.0048a61c
test al, al
je 0x4866d2
mov ecx, dword [0x4e9514]
mov ecx, dword [ecx]
mov edx, dword [0x4e95cc]
mov edx, dword [edx]
mov eax, dword [0x4f1c00]
call fcn.004cf6d0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4866a1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
push eax
mov ecx, dword [0x4e9514]
mov ecx, dword [ecx]
mov edx, dword [0x4e95cc]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.004890f4
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov dx, 0xbc4
call fcn.004d7904
jmp 0x4869d1
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov dx, 0xbc4
call fcn.004d7904
mov eax, dword [0x4e9790]
mov dword [eax], 0xffffffff
jmp 0x4869d1
cmp dword [ebp - 0x20], 0
jne 0x4866f2
test byte [ebp + 0x10], 1
je 0x48690c
mov eax, dword [0x4e9790]
mov dword [eax], 0xffffffff
cmp dword [ebp - 0x20], 0
je 0x4867c9
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x4e9518]
sub eax, dword [edx]
cmp eax, 0x5dc
jbe 0x486742
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x12], 0x32
jne 0x486742
push 0
push 0
push 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
mov edx, 0x3f2
mov eax, dword [ebp - 4]
call fcn.00487e34
jmp 0x4869d1
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x2c], 0
jne 0x4869d1
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
cmp byte [eax + 0x16], 0
jne 0x4869d1
mov eax, dword [0x4e93b4]
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x12], 0
je 0x486799
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x12], 0xc
je 0x486799
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x12], 0x32
je 0x486799
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x34]
mov eax, 0x4869e4
call fcn.004055f4
test eax, eax
je 0x4867ac
test byte [ebp + 0x10], 1
jne 0x4867ac
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x38], 0x45
jne 0x4869d1
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00485a8c
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x4e9b28]
mov dword [edx], eax
jmp 0x4869d1
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
cmp byte [eax + 0x16], 0
jne 0x4869d1
mov eax, dword [0x4e9514]
mov eax, dword [eax]
push eax
mov ecx, dword [0x4e95cc]
mov ecx, dword [ecx]
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov edx, dword [eax + 0xc]
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
call fcn.004d5b6c
and eax, 0xff
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.0048a660
test al, al
je 0x4868fa
mov eax, dword [ebp - 4]
call fcn.0048a61c
test al, al
je 0x4868fa
mov eax, dword [ebp - 4]
call fcn.0048a6b0
test al, al
je 0x4868fa
mov eax, 3
call fcn.00403354
add eax, 0xbc6
mov dword [ebp - 0x18], eax
mov eax, dword [0x4e9644]
cmp byte [eax], 0
je 0x48686d
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00494924
test al, al
je 0x48686d
mov dword [ebp - 0x18], 0xbcb
mov eax, dword [0x4e96f8]
cmp byte [eax], 0
je 0x48689b
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
cmp word [eax + 0x54], 3
jb 0x48689b
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004949cc
test al, al
je 0x48689b
mov dword [ebp - 0x18], 0xbd0
mov eax, dword [0x4e99b8]
cmp byte [eax], 0
je 0x4868c9
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
cmp word [eax + 0x54], 6
jb 0x4868c9
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00494b3c
test al, al
je 0x4868c9
mov dword [ebp - 0x18], 0xbdc
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov dx, word [ebp - 0x18]
call fcn.004d7904
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x4e98bc]
mov dword [edx], eax
jmp 0x4869d1
mov eax, dword [0x4e95cc]
mov eax, dword [eax]
mov edx, dword [0x4e96e8]
mov edx, dword [edx]
cmp eax, dword [edx + 8]
jne 0x486987
mov eax, dword [0x4e9514]
mov eax, dword [eax]
mov edx, dword [0x4e96e8]
mov edx, dword [edx]
cmp eax, dword [edx + 0xc]
jne 0x486987
mov eax, dword [0x4e9514]
mov eax, dword [eax]
push eax
mov ecx, dword [0x4e95cc]
mov ecx, dword [ecx]
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov edx, dword [eax + 0xc]
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
call fcn.004d5b6c
and eax, 0xff
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.0048a660
test al, al
je 0x4869d1
mov eax, dword [ebp - 4]
call fcn.0048a61c
test al, al
je 0x4869d1
mov eax, dword [ebp - 4]
call fcn.00488e84
jmp 0x4869d1
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x4e98bc]
sub eax, dword [edx]
cmp eax, 0x3e8
jbe 0x4869d1
test byte [ebp + 0x10], 4
je 0x4869ab
mov eax, dword [0x4e9b34]
mov byte [eax], 1
jmp 0x4869b3
mov eax, dword [0x4e9b34]
mov byte [eax], 0
mov eax, dword [0x4e95cc]
mov eax, dword [eax]
mov edx, dword [0x4e9790]
mov dword [edx], eax
mov eax, dword [0x4e9514]
mov eax, dword [eax]
mov edx, dword [0x4e96cc]
mov dword [edx], eax
mov esp, ebp
pop ebp
ret 0xc