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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], eax
mov ecx, 7
lea eax, [ebp - 0x20]
mov edx, dword [0x4010ac]
call fcn.004071dc
xor eax, eax
push ebp
push 0x4f7b3c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x505094], 0
je 0x4f7249
xor eax, eax
call fcn.004db918
mov byte [ebp - 0x21], 0
mov eax, dword [0x4fecc0]
mov eax, dword [eax]
shr eax, 0x10
cmp eax, 0x600
mov eax, dword [0x4fe940]
setae byte [eax]
xor edx, edx
push ebp
push 0x4f7a7d
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [0x5050a4], 0
je 0x4f7287
mov dl, 1
mov eax, dword [0x5050a4]
call fcn.004af1f8
cmp byte [0x505092], 0
je 0x4f72f4
xor eax, eax
push ebp
push 0x4f72c7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x505098], 0
jne 0x4f72b3
mov eax, 0x4f7b58
call fcn.004afce0
jmp 0x4f72bd
mov eax, dword [0x505098]
call fcn.004afec4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f72f4
mov eax, 0x4f7bc0
call fcn.004aff20
lea eax, [ebp - 0x2c]
mov ecx, dword [0x50507c]
mov edx, 0x4f7c24
call fcn.00406904
mov eax, dword [ebp - 0x2c]
call fcn.004aff20
lea eax, [ebp - 0x30]
mov ecx, dword [0x505080]
mov edx, 0x4f7c64
call fcn.00406904
mov eax, dword [ebp - 0x30]
call fcn.004aff20
lea eax, [ebp - 0x38]
call fcn.0047eb7c
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, 0x4f7c90
call fcn.00406904
mov eax, dword [ebp - 0x34]
call fcn.004aff20
call fcn.004db9e0
xor eax, eax
call fcn.004f6b24
mov dword [0x505088], eax
mov dl, 1
mov eax, dword [0x4f5e4c]
call fcn.004b2ddc
mov dword [0x4fe8f8], eax
mov ecx, dword [0x505080]
mov edx, dword [0x505088]
mov eax, dword [0x4fe8f8]
call fcn.004b5a00
lea ecx, [ebp - 0x3c]
mov eax, dword [0x4fe8f8]
mov edx, dword [eax + 0x18]
mov al, 0xab
call fcn.004a9314
mov edx, dword [ebp - 0x3c]
mov eax, 0x50508c
call fcn.00406448
mov eax, dword [0x4fe8f8]
test byte [eax + 0x1d], 0x20
je 0x4f73ef
mov eax, dword [0x4fea14]
cmp byte [eax], 0
jne 0x4f73ef
push 1
push 1
mov eax, dword [0x50508c]
call fcn.004064d4
push eax
mov eax, dword [0x4fed8c]
mov eax, dword [eax + 0x2cc]
call fcn.004064d4
mov ecx, 0x30
pop edx
call fcn.004dc2c8
call fcn.00411a50
mov eax, dword [0x4fe8f8]
test byte [eax + 0x1d], 1
je 0x4f7432
call fcn.0047fb78
test al, al
jne 0x4f7432
push 1
push 1
mov eax, dword [0x50508c]
call fcn.004064d4
push eax
mov eax, dword [0x4fed8c]
mov eax, dword [eax + 0x1bc]
call fcn.004064d4
mov ecx, 0x30
pop edx
call fcn.004dc2c8
call fcn.00411a50
mov eax, dword [0x505088]
xor edx, edx
mov dword [0x505088], edx
call fcn.00404098
mov al, 2
call fcn.004f6b24
mov dword [0x505088], eax
lea eax, [ebp - 0x20]
push eax
push 6
mov ecx, 0x85040300
mov dx, 0x20
mov eax, dword [0x4fe8f8]
call fcn.004b32a8
test al, al
jne 0x4f7477
mov eax, 0x4f7cd0
call fcn.004ab2b8
cmp dword [0x5050a4], 0
je 0x4f7492
lea eax, [ebp - 4]
mov edx, dword [0x4fec6c]
mov edx, dword [edx]
call fcn.0040532c
jmp 0x4f749d
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x20]
call fcn.004f7198
mov eax, dword [0x4fe8f8]
cmp byte [eax + 0x10], 0
je 0x4f74c5
mov eax, dword [0x4fea14]
cmp byte [eax], 0
jne 0x4f74bc
mov eax, 0x4f7d68
call fcn.004ab2b8
mov al, 1
call fcn.004dc7b8
jmp 0x4f74cc
xor eax, eax
call fcn.004dc7b8
call fcn.004da050
cmp dword [ebp - 4], 0
je 0x4f75d4
call fcn.004d9af4
call fcn.004da388
mov eax, dword [0x4fe950]
mov edx, dword [0x50507c]
call fcn.00406448
mov eax, dword [0x4fed00]
mov edx, dword [0x4fe8f8]
mov edx, dword [edx + 0x14]
call fcn.00406448
movzx eax, byte [0x505093]
or al, byte [0x505094]
mov edx, dword [0x4feaa0]
mov byte [edx], al
mov eax, dword [0x4feee8]
mov edx, dword [ebp - 0x18]
call fcn.00406448
mov eax, dword [0x4febc0]
mov edx, dword [ebp - 0x14]
call fcn.00406448
mov eax, dword [0x4fea30]
mov edx, dword [ebp - 0x10]
call fcn.00406448
mov eax, dword [0x4feac8]
mov edx, dword [ebp - 0xc]
call fcn.00406448
mov eax, dword [ebp - 8]
test eax, eax
je 0x4f755d
sub eax, 4
mov eax, dword [eax]
mov edx, eax
add edx, edx
mov eax, dword [ebp - 8]
call fcn.004f70e0
mov dl, 1
mov eax, dword [0x4f3e5c]
call fcn.004f4674
mov edx, dword [0x4feaec]
mov dword [edx], eax
mov eax, 0x4db3bc
mov edx, dword [0x4feaec]
mov edx, dword [edx]
mov dword [edx + 0xc], eax
mov eax, 0x4db5d4
mov edx, dword [0x4feaec]
mov edx, dword [edx]
mov dword [edx + 0x10], eax
mov eax, 0x4db5e0
mov edx, dword [0x4feaec]
mov edx, dword [edx]
mov dword [edx + 0x14], eax
mov eax, 0x4db5ec
mov edx, dword [0x4feaec]
mov edx, dword [edx]
mov dword [edx + 0x18], eax
mov ecx, dword [0x4feb84]
mov ecx, dword [ecx]
mov eax, dword [0x4feaec]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.004f476c
xor edx, edx
push ebp
push 0x4f7a29
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x4f795c
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x4feaec]
cmp dword [eax], 0
je 0x4f7663
xor edx, edx
push ebp
push 0x4f7637
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 1
xor eax, eax
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0x11
lea ecx, [ebp - 0x44]
mov eax, dword [0x4feaec]
mov eax, dword [eax]
mov edx, 0x4f7dfc
call fcn.004f4928
pop dword fs:[0]
add esp, 8
jmp 0x4f7650
test al, al
jne 0x4f7663
mov eax, 0x4f7e8c
call fcn.004aff20
call fcn.00411a50
cmp byte [0x505093], 0
jne 0x4f769d
cmp byte [0x505094], 0
jne 0x4f769d
push 0x124
push 1
push 6
mov eax, dword [0x4fe8f8]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x50508c]
mov al, 0x22
call fcn.004f6230
cmp eax, 6
je 0x4f769d
call fcn.00411a50
xor edx, edx
xor eax, eax
call fcn.004f6998
jmp 0x4f76cb
push 0x31
push 1
push 2
mov eax, dword [0x4fe8f8]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x50508c]
mov al, 0xb1
call fcn.004f6230
dec eax
je 0x4f76cb
call fcn.00411a50
mov eax, dword [0x4fe8f8]
call fcn.004b32fc
test al, al
jne 0x4f76a8
jmp 0x4f76fa
push 0
push 0
mov eax, dword [0x50508c]
call fcn.004064d4
mov edx, eax
mov eax, 0x4f7ee8
mov ecx, 0x10
call fcn.004dc2c8
mov eax, dword [0x4fef58]
cmp byte [eax], 0
jne 0x4f76db
mov eax, dword [0x4fe940]
mov byte [eax], 0
lea ecx, [ebp - 0x48]
mov eax, dword [0x4fe8f8]
mov edx, dword [eax + 0x18]
mov al, 0xb5
call fcn.004a9314
mov edx, dword [ebp - 0x48]
mov eax, dword [0x4fed7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
call fcn.004802f8
call fcn.004f6074
xor edx, edx
mov al, 1
call fcn.004f6998
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x28], eax
mov eax, dword [0x4fe8f8]
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x24], edx
mov ecx, 0x4f64b4
mov dl, 1
mov eax, dword [0x4fe8f8]
call fcn.004b40cc
mov byte [ebp - 0x22], al
movzx eax, byte [ebp - 0x22]
mov edx, dword [0x4fecb4]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0x11
lea edx, [ebp - 0x44]
xor ecx, ecx
mov eax, 0x4f7fac
call fcn.004b01a4
mov eax, dword [0x4fe8f8]
cmp byte [eax + 0x1c], 0
jne 0x4f77a5
mov eax, dword [0x4fe8f8]
test byte [eax + 0x1d], 8
jne 0x4f77a5
xor eax, eax
jmp 0x4f77a7
mov al, 1
mov byte [ebp - 0x23], al
mov eax, dword [0x4feaec]
cmp dword [eax], 0
je 0x4f7845
mov eax, dword [0x4feaec]
mov eax, dword [eax]
mov edx, 0x4f7fd8
call fcn.004f4818
test al, al
je 0x4f7845
cmp byte [ebp - 0x23], 0
jne 0x4f783b
xor eax, eax
push ebp
push 0x4f7820
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
xor eax, eax
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0x11
lea ecx, [ebp - 0x44]
mov eax, dword [0x4feaec]
mov eax, dword [eax]
mov edx, 0x4f7fd8
call fcn.004f4928
test al, al
je 0x4f7816
mov byte [ebp - 0x23], 1
mov eax, 0x4f7ffc
call fcn.004aff20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f7845
mov eax, 0x4f80dc
call fcn.004aff20
movzx eax, byte [ebp - 0x23]
mov edx, dword [0x4fecb4]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0x11
lea edx, [ebp - 0x44]
xor ecx, ecx
mov eax, 0x4f8194
call fcn.004b01a4
cmp byte [0x505094], 0
jne 0x4f78a0
mov eax, dword [0x4fed7c]
mov eax, dword [eax]
call fcn.0047bdfc
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x28]
cmp eax, 0x3e8
jae 0x4f78a0
push 0xff
push 0xa
push 0
push 0
push 0
call sub.user32.dll_MsgWaitForMultipleObjects
jmp 0x4f7871
mov eax, dword [0x4fea44]
mov eax, dword [eax]
mov edx, dword [0x4fea44]
xor ecx, ecx
mov dword [edx], ecx
call fcn.00404098
mov dl, 1
mov al, 2
call fcn.004f6998
cmp byte [ebp - 0x23], 0
jne 0x4f7900
cmp byte [0x505093], 0
jne 0x4f7949
cmp byte [0x505094], 0
jne 0x4f7949
push 0x10040
push 1
push 1
mov eax, dword [0x4fe8f8]
mov edx, dword [eax + 0x18]
movzx eax, byte [ebp - 0x22]
movzx eax, byte [eax + 0x4fe904]
mov ecx, dword [0x50508c]
call fcn.004f6230
jmp 0x4f7949
cmp byte [0x505095], 0
jne 0x4f7939
cmp byte [0x505094], 0
jne 0x4f7935
push 0x10044
push 1
push 6
mov eax, dword [0x4fe8f8]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x50508c]
mov al, 0xaf
call fcn.004f6230
cmp eax, 6
jne 0x4f7939
mov byte [ebp - 0x21], 1
cmp byte [ebp - 0x21], 0
jne 0x4f7949
mov eax, 0x4f81d8
call fcn.004aff20
mov dl, 1
mov al, 3
call fcn.004f6998
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f7970
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f7a33
xor edx, edx
push ebp
push 0x4f79ab
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x4fea44]
mov eax, dword [eax]
mov edx, dword [0x4fea44]
xor ecx, ecx
mov dword [edx], ecx
call fcn.00404098
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f79ba
mov eax, dword [0x4feaec]
cmp dword [eax], 0
je 0x4f7a16
xor eax, eax
push ebp
push 0x4f79fd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
xor eax, eax
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0x11
lea ecx, [ebp - 0x44]
mov eax, dword [0x4feaec]
mov eax, dword [eax]
mov edx, 0x4f8234
call fcn.004f4874
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f7a16
mov eax, dword [0x4fed7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
call fcn.00480388
ret