Function at 0x4fbfdc
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 0x4fc914
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x50a154], 0
je 0x4fc02d
xor eax, eax
call fcn.004e03f4
mov byte [ebp - 0x21], 0
mov eax, dword [0x503c50]
mov eax, dword [eax]
shr eax, 0x10
cmp eax, 0x600
mov eax, dword [0x5038b4]
setae byte [eax]
xor edx, edx
push ebp
push 0x4fc855
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [0x50a164], 0
je 0x4fc06b
mov dl, 1
mov eax, dword [0x50a164]
call fcn.004b1858
cmp byte [0x50a152], 0
je 0x4fc0d8
xor eax, eax
push ebp
push 0x4fc0ab
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x50a158], 0
jne 0x4fc097
mov eax, 0x4fc930
call fcn.004b2340
jmp 0x4fc0a1
mov eax, dword [0x50a158]
call fcn.004b2524
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fc0d8
mov eax, 0x4fc998
call fcn.004b2580
lea eax, [ebp - 0x2c]
mov ecx, dword [0x50a13c]
mov edx, 0x4fc9fc
call fcn.00406904
mov eax, dword [ebp - 0x2c]
call fcn.004b2580
lea eax, [ebp - 0x30]
mov ecx, dword [0x50a140]
mov edx, 0x4fca3c
call fcn.00406904
mov eax, dword [ebp - 0x30]
call fcn.004b2580
lea eax, [ebp - 0x38]
call fcn.0047eabc
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, 0x4fca68
call fcn.00406904
mov eax, dword [ebp - 0x34]
call fcn.004b2580
call fcn.004e04bc
xor eax, eax
call fcn.004fb908
mov dword [0x50a148], eax
mov dl, 1
mov eax, dword [0x4fac30]
call fcn.004b543c
mov dword [0x503868], eax
mov ecx, dword [0x50a140]
mov edx, dword [0x50a148]
mov eax, dword [0x503868]
call fcn.004b8060
lea ecx, [ebp - 0x3c]
mov eax, dword [0x503868]
mov edx, dword [eax + 0x18]
mov al, 0xb7
call fcn.004ab530
mov edx, dword [ebp - 0x3c]
mov eax, 0x50a14c
call fcn.00406448
mov eax, dword [0x503868]
test byte [eax + 0x1d], 0x20
je 0x4fc1d3
mov eax, dword [0x503990]
cmp byte [eax], 0
jne 0x4fc1d3
push 1
push 1
mov eax, dword [0x50a14c]
call fcn.004064d4
push eax
mov eax, dword [0x503d30]
mov eax, dword [eax + 0x2fc]
call fcn.004064d4
mov ecx, 0x30
pop edx
call fcn.004e0da4
call fcn.004116c0
mov eax, dword [0x503868]
test byte [eax + 0x1d], 1
je 0x4fc216
call fcn.0047fb6c
test al, al
jne 0x4fc216
push 1
push 1
mov eax, dword [0x50a14c]
call fcn.004064d4
push eax
mov eax, dword [0x503d30]
mov eax, dword [eax + 0x1dc]
call fcn.004064d4
mov ecx, 0x30
pop edx
call fcn.004e0da4
call fcn.004116c0
mov eax, dword [0x50a148]
xor edx, edx
mov dword [0x50a148], edx
call fcn.00404098
mov al, 2
call fcn.004fb908
mov dword [0x50a148], eax
lea eax, [ebp - 0x20]
push eax
push 6
mov ecx, 0x85050300
mov dx, 0x20
mov eax, dword [0x503868]
call fcn.004b5908
test al, al
jne 0x4fc25b
mov eax, 0x4fcaa8
call fcn.004ad4d4
cmp dword [0x50a164], 0
je 0x4fc276
lea eax, [ebp - 4]
mov edx, dword [0x503bfc]
mov edx, dword [edx]
call fcn.0040532c
jmp 0x4fc281
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x20]
call fcn.004fbf7c
mov eax, dword [0x503868]
cmp byte [eax + 0x10], 0
je 0x4fc2a9
mov eax, dword [0x503990]
cmp byte [eax], 0
jne 0x4fc2a0
mov eax, 0x4fcb40
call fcn.004ad4d4
mov al, 1
call fcn.004e1294
jmp 0x4fc2b0
xor eax, eax
call fcn.004e1294
call fcn.004de568
cmp dword [ebp - 4], 0
je 0x4fc3b8
call fcn.004ddf44
call fcn.004de8a0
mov eax, dword [0x5038c4]
mov edx, dword [0x50a13c]
call fcn.00406448
mov eax, dword [0x503c90]
mov edx, dword [0x503868]
mov edx, dword [edx + 0x14]
call fcn.00406448
movzx eax, byte [0x50a153]
or al, byte [0x50a154]
mov edx, dword [0x503a1c]
mov byte [edx], al
mov eax, dword [0x503e88]
mov edx, dword [ebp - 0x18]
call fcn.00406448
mov eax, dword [0x503b44]
mov edx, dword [ebp - 0x14]
call fcn.00406448
mov eax, dword [0x5039ac]
mov edx, dword [ebp - 0x10]
call fcn.00406448
mov eax, dword [0x503a48]
mov edx, dword [ebp - 0xc]
call fcn.00406448
mov eax, dword [ebp - 8]
test eax, eax
je 0x4fc341
sub eax, 4
mov eax, dword [eax]
mov edx, eax
add edx, edx
mov eax, dword [ebp - 8]
call fcn.004fbec4
mov dl, 1
mov eax, dword [0x4f8c3c]
call fcn.004f9454
mov edx, dword [0x503a6c]
mov dword [edx], eax
mov eax, 0x4dfe94
mov edx, dword [0x503a6c]
mov edx, dword [edx]
mov dword [edx + 0xc], eax
mov eax, 0x4e00ac
mov edx, dword [0x503a6c]
mov edx, dword [edx]
mov dword [edx + 0x10], eax
mov eax, 0x4e00b8
mov edx, dword [0x503a6c]
mov edx, dword [edx]
mov dword [edx + 0x14], eax
mov eax, 0x4e00c4
mov edx, dword [0x503a6c]
mov edx, dword [edx]
mov dword [edx + 0x18], eax
mov ecx, dword [0x503b08]
mov ecx, dword [ecx]
mov eax, dword [0x503a6c]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.004f954c
xor edx, edx
push ebp
push 0x4fc801
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x4fc734
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x503a6c]
cmp dword [eax], 0
je 0x4fc447
xor edx, edx
push ebp
push 0x4fc41b
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 [0x503a6c]
mov eax, dword [eax]
mov edx, 0x4fcbd4
call fcn.004f9708
pop dword fs:[0]
add esp, 8
jmp 0x4fc434
test al, al
jne 0x4fc447
mov eax, 0x4fcc64
call fcn.004b2580
call fcn.004116c0
cmp byte [0x50a153], 0
jne 0x4fc481
cmp byte [0x50a154], 0
jne 0x4fc481
push 0x124
push 1
push 6
mov eax, dword [0x503868]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x50a14c]
mov al, 0x27
call fcn.004fb014
cmp eax, 6
je 0x4fc481
call fcn.004116c0
xor edx, edx
xor eax, eax
call fcn.004fb77c
jmp 0x4fc4af
push 0x31
push 1
push 2
mov eax, dword [0x503868]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x50a14c]
mov al, 0xbd
call fcn.004fb014
dec eax
je 0x4fc4af
call fcn.004116c0
mov eax, dword [0x503868]
call fcn.004b595c
test al, al
jne 0x4fc48c
jmp 0x4fc4d2
push 0xa
call sub.kernel32.dll_Sleep_1
mov eax, dword [0x503d20]
mov eax, dword [eax]
call fcn.0047bce8
mov eax, dword [0x503f00]
cmp byte [eax], 0
jne 0x4fc4bf
mov eax, dword [0x5038b4]
mov byte [eax], 0
lea ecx, [ebp - 0x48]
mov eax, dword [0x503868]
mov edx, dword [eax + 0x18]
mov al, 0xa7
call fcn.004ab530
mov edx, dword [ebp - 0x48]
mov eax, dword [0x503d20]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
call fcn.004803c0
call fcn.004fae58
xor edx, edx
mov al, 1
call fcn.004fb77c
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x28], eax
mov eax, dword [0x503868]
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x24], edx
mov ecx, 0x4fb298
mov dl, 1
mov eax, dword [0x503868]
call fcn.004b672c
mov byte [ebp - 0x22], al
movzx eax, byte [ebp - 0x22]
mov edx, dword [0x503c44]
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, 0x4fcccc
call fcn.004b2804
mov eax, dword [0x503868]
cmp byte [eax + 0x1c], 0
jne 0x4fc57d
mov eax, dword [0x503868]
test byte [eax + 0x1d], 8
jne 0x4fc57d
xor eax, eax
jmp 0x4fc57f
mov al, 1
mov byte [ebp - 0x23], al
mov eax, dword [0x503a6c]
cmp dword [eax], 0
je 0x4fc61d
mov eax, dword [0x503a6c]
mov eax, dword [eax]
mov edx, 0x4fccf8
call fcn.004f95f8
test al, al
je 0x4fc61d
cmp byte [ebp - 0x23], 0
jne 0x4fc613
xor eax, eax
push ebp
push 0x4fc5f8
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 [0x503a6c]
mov eax, dword [eax]
mov edx, 0x4fccf8
call fcn.004f9708
test al, al
je 0x4fc5ee
mov byte [ebp - 0x23], 1
mov eax, 0x4fcd1c
call fcn.004b2580
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fc61d
mov eax, 0x4fcdfc
call fcn.004b2580
movzx eax, byte [ebp - 0x23]
mov edx, dword [0x503c44]
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, 0x4fceb4
call fcn.004b2804
cmp byte [0x50a154], 0
jne 0x4fc678
mov eax, dword [0x503d20]
mov eax, dword [eax]
call fcn.0047bce8
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x28]
cmp eax, 0x3e8
jae 0x4fc678
push 0xff
push 0xa
push 0
push 0
push 0
call sub.user32.dll_MsgWaitForMultipleObjects
jmp 0x4fc649
mov eax, dword [0x5039c0]
mov eax, dword [eax]
mov edx, dword [0x5039c0]
xor ecx, ecx
mov dword [edx], ecx
call fcn.00404098
mov dl, 1
mov al, 2
call fcn.004fb77c
cmp byte [ebp - 0x23], 0
jne 0x4fc6d8
cmp byte [0x50a153], 0
jne 0x4fc721
cmp byte [0x50a154], 0
jne 0x4fc721
push 0x10040
push 1
push 1
mov eax, dword [0x503868]
mov edx, dword [eax + 0x18]
movzx eax, byte [ebp - 0x22]
movzx eax, byte [eax + 0x503874]
mov ecx, dword [0x50a14c]
call fcn.004fb014
jmp 0x4fc721
cmp byte [0x50a155], 0
jne 0x4fc711
cmp byte [0x50a154], 0
jne 0x4fc70d
push 0x10044
push 1
push 6
mov eax, dword [0x503868]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x50a14c]
mov al, 0xbb
call fcn.004fb014
cmp eax, 6
jne 0x4fc711
mov byte [ebp - 0x21], 1
cmp byte [ebp - 0x21], 0
jne 0x4fc721
mov eax, 0x4fcef8
call fcn.004b2580
mov dl, 1
mov al, 3
call fcn.004fb77c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fc748
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fc80b
xor edx, edx
push ebp
push 0x4fc783
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x5039c0]
mov eax, dword [eax]
mov edx, dword [0x5039c0]
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 0x4fc792
mov eax, dword [0x503a6c]
cmp dword [eax], 0
je 0x4fc7ee
xor eax, eax
push ebp
push 0x4fc7d5
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 [0x503a6c]
mov eax, dword [eax]
mov edx, 0x4fcf54
call fcn.004f9654
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fc7ee
mov eax, dword [0x503d20]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
call fcn.00480450
ret