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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], eax
mov ecx, 7
lea eax, [ebp - 0x24]
mov edx, 0x40107c
call fcn.00403980
xor eax, eax
push ebp
push 0x48f996
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x493374], 0
je 0x48f181
xor eax, eax
call fcn.00477494
mov byte [ebp - 1], 0
xor edx, edx
push ebp
push 0x48f8fb
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [0x493384], 0
je 0x48f1a8
mov dl, 1
mov eax, dword [0x493384]
call fcn.00454dec
cmp byte [0x493372], 0
je 0x48f215
xor eax, eax
push ebp
push 0x48f1e8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x493378], 0
jne 0x48f1d4
mov eax, 0x48f9ac
call fcn.00455750
jmp 0x48f1de
mov eax, dword [0x493378]
call fcn.00455908
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48f215
mov eax, 0x48f9e8
call fcn.00455970
mov edx, 0x48fa18
lea eax, [ebp - 0x28]
call fcn.00403494
lea eax, [ebp - 0x28]
mov edx, dword [0x49335c]
call fcn.0040357c
mov eax, dword [ebp - 0x28]
call fcn.00455970
mov edx, 0x48fa3c
lea eax, [ebp - 0x28]
call fcn.00403494
lea eax, [ebp - 0x28]
mov edx, dword [0x493360]
call fcn.0040357c
mov eax, dword [ebp - 0x28]
call fcn.00455970
mov edx, 0x48fa54
lea eax, [ebp - 0x28]
call fcn.00403494
lea eax, [ebp - 0x2c]
call fcn.0042d210
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
call fcn.0040357c
mov eax, dword [ebp - 0x28]
call fcn.00455970
call fcn.00477530
xor eax, eax
call fcn.0048eb68
mov dword [0x493368], eax
mov dl, 1
mov eax, 0x48e110
call fcn.00457a98
mov dword [0x491f60], eax
mov ecx, dword [0x493360]
mov edx, dword [0x493368]
mov eax, dword [0x491f60]
call fcn.00459de0
lea ecx, [ebp - 0x28]
mov eax, dword [0x491f60]
mov edx, dword [eax + 0x18]
mov al, 0xab
call fcn.004506dc
mov edx, dword [ebp - 0x28]
mov eax, 0x49336c
call fcn.00403450
mov eax, dword [0x491f60]
test byte [eax + 0x1d], 0x20
je 0x48f321
cmp byte [0x49327c], 0
jne 0x48f321
push 1
push 1
mov eax, dword [0x49336c]
call fcn.00403738
push eax
mov eax, dword [0x492e48]
call fcn.00403738
mov ecx, 0x30
pop edx
call fcn.00477c24
call fcn.00408b80
mov eax, dword [0x491f60]
test byte [eax + 0x1d], 1
je 0x48f35e
call fcn.0042e0c8
test al, al
jne 0x48f35e
push 1
push 1
mov eax, dword [0x49336c]
call fcn.00403738
push eax
mov eax, dword [0x492d38]
call fcn.00403738
mov ecx, 0x30
pop edx
call fcn.00477c24
call fcn.00408b80
mov eax, 0x493368
call fcn.0042e1d0
mov al, 2
call fcn.0048eb68
mov dword [0x493368], eax
lea eax, [ebp - 0x24]
push eax
push 6
mov ecx, 0x5020300
mov dx, 0x20
mov eax, dword [0x491f60]
call fcn.00457f08
test al, al
jne 0x48f39b
mov eax, 0x48fa78
call fcn.00451ac0
cmp dword [0x493384], 0
je 0x48f3b2
lea eax, [ebp - 0x24]
mov edx, dword [0x492f00]
call fcn.00403494
mov eax, dword [ebp - 0x20]
call fcn.00403574
cmp eax, 0x20
je 0x48f3c9
mov eax, 0x48fac8
call fcn.00451ac0
mov edx, 0x49338c
mov eax, dword [ebp - 0x20]
mov ecx, 0x20
call fcn.00402738
mov dword [0x491784], 0x49338c
mov eax, dword [0x491f60]
cmp byte [eax + 0x10], 0
je 0x48f40c
cmp byte [0x49327c], 0
jne 0x48f403
mov eax, 0x48faf0
call fcn.00451ac0
mov al, 1
call fcn.0047807c
jmp 0x48f413
xor eax, eax
call fcn.0047807c
call fcn.00475dc4
cmp dword [ebp - 0x24], 0
je 0x48f4f9
call fcn.00475968
call fcn.004760f0
mov eax, 0x493060
mov edx, dword [0x49335c]
call fcn.00403450
mov eax, 0x493064
mov edx, dword [0x491f60]
mov edx, dword [edx + 0x14]
call fcn.00403450
mov al, byte [0x493373]
or al, byte [0x493374]
mov byte [0x493078], al
mov eax, 0x493068
mov edx, dword [ebp - 0x1c]
call fcn.00403450
mov eax, 0x49306c
mov edx, dword [ebp - 0x18]
call fcn.00403450
mov eax, 0x493070
mov edx, dword [ebp - 0x14]
call fcn.00403450
mov eax, 0x493074
mov edx, dword [ebp - 0x10]
call fcn.00403450
mov eax, dword [ebp - 0xc]
call fcn.00403574
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0048f090
mov dl, 1
mov eax, 0x48c7ac
call fcn.0048cd44
mov dword [0x4932c4], eax
mov eax, dword [0x4932c4]
mov dword [eax + 0xc], 0x476f88
mov eax, dword [0x4932c4]
mov dword [eax + 0x10], 0x47716c
mov eax, dword [0x4932c4]
mov dword [eax + 0x14], 0x477178
mov eax, dword [0x4932c4]
mov dword [eax + 0x18], 0x477184
mov ecx, dword [0x492f04]
mov edx, dword [ebp - 0x24]
mov eax, dword [0x4932c4]
call fcn.0048cdfc
xor edx, edx
push ebp
push 0x48f8bb
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x48f80f
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [0x4932c4], 0
je 0x48f585
xor edx, edx
push ebp
push 0x48f559
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 1
xor eax, eax
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
lea ecx, [ebp - 0x34]
mov edx, 0x48fb3c
mov eax, dword [0x4932c4]
call fcn.0048cf80
pop dword fs:[0]
add esp, 8
jmp 0x48f572
test al, al
jne 0x48f585
mov eax, 0x48fb94
call fcn.00455970
call fcn.00408b80
cmp byte [0x493373], 0
jne 0x48f5bf
cmp byte [0x493374], 0
jne 0x48f5bf
push 0x124
push 1
push 6
mov eax, dword [0x491f60]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x49336c]
mov al, 0x22
call fcn.0048e3e8
cmp eax, 6
je 0x48f5bf
call fcn.00408b80
xor edx, edx
xor eax, eax
call fcn.0048ea4c
jmp 0x48f5ed
push 0x31
push 1
push 2
mov eax, dword [0x491f60]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x49336c]
mov al, 0xb1
call fcn.0048e3e8
dec eax
je 0x48f5ed
call fcn.00408b80
mov eax, dword [0x491f60]
call fcn.00457f44
test al, al
jne 0x48f5ca
call fcn.0048e28c
xor edx, edx
mov al, 1
call fcn.0048ea4c
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 8], eax
mov eax, dword [0x491f60]
mov edx, dword [ebp - 8]
mov dword [eax + 0x24], edx
mov ecx, 0x48e658
mov dl, 1
mov eax, dword [0x491f60]
call fcn.004588ec
mov byte [ebp - 2], al
xor eax, eax
mov al, byte [ebp - 2]
mov eax, dword [eax*4 + 0x491a58]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
lea edx, [ebp - 0x34]
xor ecx, ecx
mov eax, 0x48fbcc
call fcn.00455b70
mov eax, dword [0x491f60]
cmp byte [eax + 0x1c], 0
jne 0x48f66c
mov eax, dword [0x491f60]
test byte [eax + 0x1d], 8
jne 0x48f66c
xor eax, eax
jmp 0x48f66e
mov al, 1
mov byte [ebp - 3], al
cmp dword [0x4932c4], 0
je 0x48f707
mov edx, 0x48fbe4
mov eax, dword [0x4932c4]
call fcn.0048ce84
test al, al
je 0x48f707
cmp byte [ebp - 3], 0
jne 0x48f6fd
xor eax, eax
push ebp
push 0x48f6e2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
xor eax, eax
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
lea ecx, [ebp - 0x34]
mov edx, 0x48fbe4
mov eax, dword [0x4932c4]
call fcn.0048cf80
test al, al
je 0x48f6d8
mov byte [ebp - 3], 1
mov eax, 0x48fc04
call fcn.00455970
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48f707
mov eax, 0x48fc7c
call fcn.00455970
xor eax, eax
mov al, byte [ebp - 3]
mov eax, dword [eax*4 + 0x491a58]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
lea edx, [ebp - 0x34]
xor ecx, ecx
mov eax, 0x48fcdc
call fcn.00455b70
cmp byte [0x493374], 0
jne 0x48f75f
mov eax, dword [0x492628]
call fcn.00424454
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 8]
cmp eax, 0x3e8
jae 0x48f75f
push 0xff
push 0xa
push 0
push 0
push 0
call sub.user32.dll_MsgWaitForMultipleObjects
jmp 0x48f732
mov eax, 0x493348
call fcn.0042e1d0
mov dl, 1
mov al, 2
call fcn.0048ea4c
cmp byte [ebp - 3], 0
jne 0x48f7b3
cmp byte [0x493373], 0
jne 0x48f7fc
cmp byte [0x493374], 0
jne 0x48f7fc
push 0x10040
push 1
push 1
mov eax, dword [0x491f60]
mov edx, dword [eax + 0x18]
xor eax, eax
mov al, byte [ebp - 2]
mov al, byte [eax + 0x491f6c]
mov ecx, dword [0x49336c]
call fcn.0048e3e8
jmp 0x48f7fc
cmp byte [0x493375], 0
jne 0x48f7ec
cmp byte [0x493374], 0
jne 0x48f7e8
push 0x10044
push 1
push 6
mov eax, dword [0x491f60]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x49336c]
mov al, 0xaf
call fcn.0048e3e8
cmp eax, 6
jne 0x48f7ec
mov byte [ebp - 1], 1
cmp byte [ebp - 1], 0
jne 0x48f7fc
mov eax, 0x48fd00
call fcn.00455970
mov dl, 1
mov al, 3
call fcn.0048ea4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48f823
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f8c5
xor eax, eax
push ebp
push 0x48f852
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x493348
call fcn.0042e1d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48f861
cmp dword [0x4932c4], 0
je 0x48f8ba
xor eax, eax
push ebp
push 0x48f8a1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
xor eax, eax
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
lea ecx, [ebp - 0x34]
mov edx, 0x48fd30
mov eax, dword [0x4932c4]
call fcn.0048cea0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48f8ba
ret