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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 0xbc6
mov eax, dword [0x4e9540]
cmp byte [eax + 0x53], 6
jne 0x485ab1
mov dword [ebp - 0x18], 0xbc7
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
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 - 8]
mov ecx, dword [ecx + 8]
call fcn.004d5b6c
and eax, 0xff
mov dword [ebp - 0xc], eax
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 8]
sub eax, dword [edx + 8]
cdq
xor eax, edx
sub eax, edx
dec eax
jg 0x485db0
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 8]
sub eax, dword [edx + 0xc]
cdq
xor eax, edx
sub eax, edx
dec eax
jg 0x485db0
mov eax, dword [ebp - 8]
cmp byte [eax + 0x2c], 0
jne 0x485db0
mov eax, dword [ebp - 4]
call fcn.0048a660
test al, al
je 0x485d9e
mov eax, dword [ebp - 4]
call fcn.0048a61c
test al, al
je 0x485d9e
mov eax, dword [ebp - 4]
call fcn.0048a6b0
test al, al
je 0x485d9e
mov eax, dword [0x4e98e0]
cmp byte [eax], 0
je 0x485b80
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
cmp word [eax + 0x54], 7
jb 0x485b80
mov eax, dword [0x4e98e0]
mov byte [eax], 0
mov dword [ebp - 0x18], 0xbd1
jmp 0x485d3c
mov eax, dword [0x4e9b18]
cmp byte [eax], 0
je 0x485bac
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
cmp word [eax + 0x54], 7
jb 0x485bac
mov eax, dword [0x4e9b18]
mov byte [eax], 0
mov dword [ebp - 0x18], 0xbd7
jmp 0x485d3c
mov eax, dword [0x4e9ab0]
cmp byte [eax], 0
je 0x485bd8
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
cmp word [eax + 0x54], 0xa
jb 0x485bd8
mov eax, dword [0x4e9ab0]
mov byte [eax], 0
mov dword [ebp - 0x18], 0xbe2
jmp 0x485d3c
mov eax, dword [0x4e9720]
cmp byte [eax], 0
je 0x485bf6
mov eax, dword [0x4e9720]
mov byte [eax], 0
mov dword [ebp - 0x18], 0xbca
jmp 0x485d3c
mov eax, dword [0x4e96ac]
cmp byte [eax], 0
je 0x485c22
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
cmp word [eax + 0x54], 0xa
jb 0x485c22
mov eax, dword [0x4e96ac]
mov byte [eax], 0
mov dword [ebp - 0x18], 0xbde
jmp 0x485d3c
mov eax, dword [0x4e9858]
cmp byte [eax], 0
je 0x485c4e
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
cmp word [eax + 0x54], 0xa
jb 0x485c4e
mov eax, dword [0x4e9858]
mov byte [eax], 0
mov dword [ebp - 0x18], 0xbe1
jmp 0x485d3c
mov eax, dword [0x4e9ac0]
cmp byte [eax], 0
je 0x485c7a
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
cmp word [eax + 0x54], 0xa
jb 0x485c7a
mov eax, dword [0x4e9ac0]
mov byte [eax], 0
mov dword [ebp - 0x18], 0xbe0
jmp 0x485d3c
mov eax, dword [0x4e94c8]
cmp byte [eax], 0
je 0x485cba
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
cmp byte [eax + 0x18], 0
jne 0x485cba
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004949cc
test al, al
je 0x485cba
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
cmp word [eax + 0x54], 3
jb 0x485cba
mov dword [ebp - 0x18], 0xbd0
jmp 0x485d3c
mov eax, dword [0x4e96f8]
cmp byte [eax], 0
je 0x485cdb
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
cmp word [eax + 0x54], 3
jb 0x485cdb
mov dword [ebp - 0x18], 0xbd0
jmp 0x485d3c
mov eax, dword [0x4e99b8]
cmp byte [eax], 0
je 0x485cfc
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
cmp word [eax + 0x54], 6
jb 0x485cfc
mov dword [ebp - 0x18], 0xbdc
jmp 0x485d3c
mov eax, dword [0x4e97a8]
cmp byte [eax], 0
je 0x485d1c
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
cmp byte [eax + 0x18], 0
jne 0x485d1c
mov dword [ebp - 0x18], 0xbcb
jmp 0x485d3c
mov eax, dword [0x4e9644]
cmp byte [eax], 0
je 0x485d3c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00494924
test al, al
je 0x485d3c
mov dword [ebp - 0x18], 0xbcb
mov eax, dword [0x4e91e8]
cmp byte [eax], 0
je 0x485d4e
mov eax, dword [ebp - 4]
call fcn.004943f8
mov eax, dword [0x4e99e8]
cmp byte [eax], 0
je 0x485d60
mov eax, dword [ebp - 4]
call fcn.004944c0
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 [0x4e9b28]
mov dword [edx], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x4e98bc]
mov dword [edx], eax
jmp 0x48620a
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 8]
sub eax, dword [edx + 8]
cdq
xor eax, edx
sub eax, edx
cmp eax, 2
jg 0x485fc8
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 8]
sub eax, dword [edx + 0xc]
cdq
xor eax, edx
sub eax, edx
cmp eax, 2
jg 0x485fc8
mov eax, dword [ebp - 8]
cmp byte [eax + 0x2c], 0
jne 0x485fc8
mov eax, dword [0x4e9858]
cmp byte [eax], 0
je 0x485eda
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
cmp word [eax + 0x54], 0xa
jb 0x485eda
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
call fcn.004947c8
test al, al
je 0x485eda
mov eax, dword [ebp - 4]
call fcn.0048a660
test al, al
je 0x4861da
mov eax, dword [ebp - 4]
call fcn.0048a61c
test al, al
je 0x4861da
mov eax, dword [ebp - 4]
call fcn.0048a6b0
test al, al
je 0x4861da
mov eax, dword [0x4e9858]
mov byte [eax], 0
mov dword [ebp - 0x18], 0xbe1
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 [0x4e9b28]
mov dword [edx], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x4e98bc]
mov dword [edx], eax
jmp 0x4861da
mov eax, dword [0x4e9ab0]
cmp byte [eax], 0
je 0x485fbb
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
cmp word [eax + 0x54], 0xa
jb 0x485fbb
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
call fcn.00494854
test al, al
je 0x485fbb
mov eax, dword [ebp - 4]
call fcn.0048a660
test al, al
je 0x4861da
mov eax, dword [ebp - 4]
call fcn.0048a61c
test al, al
je 0x4861da
mov eax, dword [ebp - 4]
call fcn.0048a6b0
test al, al
je 0x4861da
mov eax, dword [0x4e9ab0]
mov byte [eax], 0
mov dword [ebp - 0x18], 0xbe2
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 [0x4e9b28]
mov dword [edx], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x4e98bc]
mov dword [edx], eax
jmp 0x4861da
mov eax, dword [0x4e9b34]
mov byte [eax], 1
jmp 0x4861da
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 8]
sub eax, dword [edx + 8]
cdq
xor eax, edx
sub eax, edx
cmp eax, 4
jg 0x4861d2
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 8]
sub eax, dword [edx + 0xc]
cdq
xor eax, edx
sub eax, edx
cmp eax, 4
jg 0x4861d2
mov eax, dword [ebp - 8]
cmp byte [eax + 0x2c], 0
jne 0x4861d2
mov eax, dword [0x4e96ac]
cmp byte [eax], 0
je 0x4860f2
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
cmp word [eax + 0x54], 0xa
jb 0x4860f2
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
call fcn.00494854
test al, al
je 0x4860f2
mov eax, dword [ebp - 4]
call fcn.0048a660
test al, al
je 0x4861da
mov eax, dword [ebp - 4]
call fcn.0048a61c
test al, al
je 0x4861da
mov eax, dword [ebp - 4]
call fcn.0048a6b0
test al, al
je 0x4861da
mov eax, dword [0x4e96ac]
mov byte [eax], 0
mov dword [ebp - 0x18], 0xbde
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 [0x4e9b28]
mov dword [edx], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x4e98bc]
mov dword [edx], eax
jmp 0x4861da
mov eax, dword [0x4e9ab0]
cmp byte [eax], 0
je 0x4861c8
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
cmp word [eax + 0x54], 0xa
jb 0x4861c8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
call fcn.00494854
test al, al
je 0x4861c8
mov eax, dword [ebp - 4]
call fcn.0048a660
test al, al
je 0x4861da
mov eax, dword [ebp - 4]
call fcn.0048a61c
test al, al
je 0x4861da
mov eax, dword [ebp - 4]
call fcn.0048a6b0
test al, al
je 0x4861da
mov eax, dword [0x4e9ab0]
mov byte [eax], 0
mov dword [ebp - 0x18], 0xbe2
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 [0x4e9b28]
mov dword [edx], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x4e98bc]
mov dword [edx], eax
jmp 0x4861da
mov eax, dword [0x4e9b34]
mov byte [eax], 1
jmp 0x4861da
mov eax, dword [0x4e9b34]
mov byte [eax], 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
call fcn.004d5d2c
mov eax, dword [0x4e9790]
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, dword [0x4e96cc]
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
mov esp, ebp
pop ebp
ret