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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 8], eax
mov ecx, 7
lea eax, [ebp - 0x2c]
mov edx, 0x40107c
call fcn.00403980
xor eax, eax
push ebp
push 0x495b9e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x49b468], 0
je 0x495300
xor eax, eax
call fcn.0047c854
mov byte [ebp - 1], 0
mov eax, dword [0x49b380]
shr eax, 0x10
cmp eax, 0x600
setge byte [0x49b379]
xor edx, edx
push ebp
push 0x495afb
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [0x49b478], 0
je 0x49533b
mov dl, 1
mov eax, dword [0x49b478]
call fcn.00455f98
cmp byte [0x49b466], 0
je 0x4953a8
xor eax, eax
push ebp
push 0x49537b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x49b46c], 0
jne 0x495367
mov eax, 0x495bb4
call fcn.00456944
jmp 0x495371
mov eax, dword [0x49b46c]
call fcn.00456afc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4953a8
mov eax, 0x495bf0
call fcn.00456b58
mov edx, 0x495c28
lea eax, [ebp - 0x30]
call fcn.00403494
lea eax, [ebp - 0x30]
mov edx, dword [0x49b450]
call fcn.0040357c
mov eax, dword [ebp - 0x30]
call fcn.00456b58
mov edx, 0x495c4c
lea eax, [ebp - 0x30]
call fcn.00403494
lea eax, [ebp - 0x30]
mov edx, dword [0x49b454]
call fcn.0040357c
mov eax, dword [ebp - 0x30]
call fcn.00456b58
mov edx, 0x495c64
lea eax, [ebp - 0x30]
call fcn.00403494
lea eax, [ebp - 0x34]
call fcn.0042d2d0
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
call fcn.0040357c
mov eax, dword [ebp - 0x30]
call fcn.00456b58
call fcn.0047c8f0
xor eax, eax
call fcn.00494c94
mov dword [0x49b45c], eax
mov dl, 1
mov eax, 0x494230
call fcn.004594e4
mov dword [0x49908c], eax
mov ecx, dword [0x49b454]
mov edx, dword [0x49b45c]
mov eax, dword [0x49908c]
call fcn.0045bae4
lea ecx, [ebp - 0x30]
mov eax, dword [0x49908c]
mov edx, dword [eax + 0x18]
mov al, 0xab
call fcn.004507b8
mov edx, dword [ebp - 0x30]
mov eax, 0x49b460
call fcn.00403450
mov eax, dword [0x49908c]
test byte [eax + 0x1d], 0x20
je 0x4954b4
cmp byte [0x49b370], 0
jne 0x4954b4
push 1
push 1
mov eax, dword [0x49b460]
call fcn.00403738
push eax
mov eax, dword [0x49aef4]
call fcn.00403738
mov ecx, 0x30
pop edx
call fcn.0047cfe0
call fcn.00408bc0
mov eax, dword [0x49908c]
test byte [eax + 0x1d], 1
je 0x4954f1
call fcn.0042e1b8
test al, al
jne 0x4954f1
push 1
push 1
mov eax, dword [0x49b460]
call fcn.00403738
push eax
mov eax, dword [0x49ade4]
call fcn.00403738
mov ecx, 0x30
pop edx
call fcn.0047cfe0
call fcn.00408bc0
mov eax, 0x49b45c
call fcn.0042e284
mov al, 2
call fcn.00494c94
mov dword [0x49b45c], eax
lea eax, [ebp - 0x2c]
push eax
push 6
mov ecx, 0x5030b00
mov dx, 0x20
mov eax, dword [0x49908c]
call fcn.004599c4
test al, al
jne 0x49552e
mov eax, 0x495c88
call fcn.004526a4
cmp dword [0x49b478], 0
je 0x495547
lea eax, [ebp - 8]
mov edx, dword [0x49afb0]
call fcn.00403494
jmp 0x495552
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x2c]
call fcn.0049526c
mov eax, dword [ebp - 0x28]
call fcn.00403574
cmp eax, 0x20
je 0x495569
mov eax, 0x495cd8
call fcn.004526a4
mov edx, 0x49b480
mov eax, dword [ebp - 0x28]
mov ecx, 0x20
call fcn.00402738
mov dword [0x498784], 0x49b480
mov eax, dword [0x49908c]
cmp byte [eax + 0x10], 0
je 0x4955ac
cmp byte [0x49b370], 0
jne 0x4955a3
mov eax, 0x495d00
call fcn.004526a4
mov al, 1
call fcn.0047d438
jmp 0x4955b3
xor eax, eax
call fcn.0047d438
call fcn.0047b174
cmp dword [ebp - 8], 0
je 0x495699
call fcn.0047ad18
call fcn.0047b4a0
mov eax, 0x49b150
mov edx, dword [0x49b450]
call fcn.00403450
mov eax, 0x49b154
mov edx, dword [0x49908c]
mov edx, dword [edx + 0x14]
call fcn.00403450
mov al, byte [0x49b467]
or al, byte [0x49b468]
mov byte [0x49b168], al
mov eax, 0x49b158
mov edx, dword [ebp - 0x24]
call fcn.00403450
mov eax, 0x49b15c
mov edx, dword [ebp - 0x20]
call fcn.00403450
mov eax, 0x49b160
mov edx, dword [ebp - 0x1c]
call fcn.00403450
mov eax, 0x49b164
mov edx, dword [ebp - 0x18]
call fcn.00403450
mov eax, dword [ebp - 0x14]
call fcn.00403574
mov edx, eax
mov eax, dword [ebp - 0x14]
call fcn.004951bc
mov dl, 1
mov eax, 0x4927d4
call fcn.00492d6c
mov dword [0x49b3b8], eax
mov eax, dword [0x49b3b8]
mov dword [eax + 0xc], 0x47c360
mov eax, dword [0x49b3b8]
mov dword [eax + 0x10], 0x47c544
mov eax, dword [0x49b3b8]
mov dword [eax + 0x14], 0x47c550
mov eax, dword [0x49b3b8]
mov dword [eax + 0x18], 0x47c55c
mov ecx, dword [0x49afb4]
mov edx, dword [ebp - 8]
mov eax, dword [0x49b3b8]
call fcn.00492e24
xor edx, edx
push ebp
push 0x495abb
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x495a02
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [0x49b3b8], 0
je 0x495725
xor edx, edx
push ebp
push 0x4956f9
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 1
xor eax, eax
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
lea ecx, [ebp - 0x3c]
mov edx, 0x495d4c
mov eax, dword [0x49b3b8]
call fcn.00492fbc
pop dword fs:[0]
add esp, 8
jmp 0x495712
test al, al
jne 0x495725
mov eax, 0x495da4
call fcn.00456b58
call fcn.00408bc0
cmp byte [0x49b467], 0
jne 0x49575f
cmp byte [0x49b468], 0
jne 0x49575f
push 0x124
push 1
push 6
mov eax, dword [0x49908c]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x49b460]
mov al, 0x22
call fcn.00494514
cmp eax, 6
je 0x49575f
call fcn.00408bc0
xor edx, edx
xor eax, eax
call fcn.00494b78
jmp 0x49578d
push 0x31
push 1
push 2
mov eax, dword [0x49908c]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x49b460]
mov al, 0xb1
call fcn.00494514
dec eax
je 0x49578d
call fcn.00408bc0
mov eax, dword [0x49908c]
call fcn.00459a00
test al, al
jne 0x49576a
jmp 0x4957bc
push 0
push 0
mov eax, dword [0x49b460]
call fcn.00403738
mov edx, eax
mov eax, 0x495dd4
mov ecx, 0x10
call fcn.0047cfe0
cmp byte [0x49b37a], 0
jne 0x49579d
mov byte [0x49b379], 0
lea ecx, [ebp - 0x30]
mov eax, dword [0x49908c]
mov edx, dword [eax + 0x18]
mov al, 0xb5
call fcn.004507b8
mov edx, dword [ebp - 0x30]
mov eax, dword [0x49a628]
mov eax, dword [eax + 0x20]
call fcn.0042e8f4
call fcn.004943ac
xor edx, edx
mov al, 1
call fcn.00494b78
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x10], eax
mov eax, dword [0x49908c]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x24], edx
mov ecx, 0x494784
mov dl, 1
mov eax, dword [0x49908c]
call fcn.0045a510
mov byte [ebp - 9], al
xor eax, eax
mov al, byte [ebp - 9]
mov eax, dword [eax*4 + 0x498ac8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
lea edx, [ebp - 0x3c]
xor ecx, ecx
mov eax, 0x495e38
call fcn.00456d64
mov eax, dword [0x49908c]
cmp byte [eax + 0x1c], 0
jne 0x49585f
mov eax, dword [0x49908c]
test byte [eax + 0x1d], 8
jne 0x49585f
xor eax, eax
jmp 0x495861
mov al, 1
mov byte [ebp - 0xa], al
cmp dword [0x49b3b8], 0
je 0x4958fa
mov edx, 0x495e50
mov eax, dword [0x49b3b8]
call fcn.00492eac
test al, al
je 0x4958fa
cmp byte [ebp - 0xa], 0
jne 0x4958f0
xor eax, eax
push ebp
push 0x4958d5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
xor eax, eax
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
lea ecx, [ebp - 0x3c]
mov edx, 0x495e50
mov eax, dword [0x49b3b8]
call fcn.00492fbc
test al, al
je 0x4958cb
mov byte [ebp - 0xa], 1
mov eax, 0x495e70
call fcn.00456b58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4958fa
mov eax, 0x495ee8
call fcn.00456b58
xor eax, eax
mov al, byte [ebp - 0xa]
mov eax, dword [eax*4 + 0x498ac8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
lea edx, [ebp - 0x3c]
xor ecx, ecx
mov eax, 0x495f48
call fcn.00456d64
cmp byte [0x49b468], 0
jne 0x495952
mov eax, dword [0x49a628]
call fcn.00424494
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x10]
cmp eax, 0x3e8
jae 0x495952
push 0xff
push 0xa
push 0
push 0
push 0
call sub.user32.dll_MsgWaitForMultipleObjects
jmp 0x495925
mov eax, 0x49b43c
call fcn.0042e284
mov dl, 1
mov al, 2
call fcn.00494b78
cmp byte [ebp - 0xa], 0
jne 0x4959a6
cmp byte [0x49b467], 0
jne 0x4959ef
cmp byte [0x49b468], 0
jne 0x4959ef
push 0x10040
push 1
push 1
mov eax, dword [0x49908c]
mov edx, dword [eax + 0x18]
xor eax, eax
mov al, byte [ebp - 9]
mov al, byte [eax + 0x499098]
mov ecx, dword [0x49b460]
call fcn.00494514
jmp 0x4959ef
cmp byte [0x49b469], 0
jne 0x4959df
cmp byte [0x49b468], 0
jne 0x4959db
push 0x10044
push 1
push 6
mov eax, dword [0x49908c]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x49b460]
mov al, 0xaf
call fcn.00494514
cmp eax, 6
jne 0x4959df
mov byte [ebp - 1], 1
cmp byte [ebp - 1], 0
jne 0x4959ef
mov eax, 0x495f6c
call fcn.00456b58
mov dl, 1
mov al, 3
call fcn.00494b78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x495a16
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495ac5
xor eax, eax
push ebp
push 0x495a45
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x49b43c
call fcn.0042e284
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x495a54
cmp dword [0x49b3b8], 0
je 0x495aad
xor eax, eax
push ebp
push 0x495a94
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
xor eax, eax
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
lea ecx, [ebp - 0x3c]
mov edx, 0x495f9c
mov eax, dword [0x49b3b8]
call fcn.00492f08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x495aad
mov eax, dword [0x49a628]
mov eax, dword [eax + 0x20]
call fcn.0042e9a0
ret