Function at 0x6422c0
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 [0x4012b8]
call fcn.0040a268
xor eax, eax
push ebp
push 0x642c2f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x65d1c0], 0
je 0x642311
xor eax, eax
call fcn.0063934c
mov byte [ebp - 0x21], 0
mov eax, dword [0x655664]
mov eax, dword [eax]
shr eax, 0x10
cmp eax, 0x600
mov eax, dword [0x655210]
setae byte [eax]
xor ecx, ecx
push ebp
push 0x642b70
push dword fs:[ecx]
mov dword fs:[ecx], esp
cmp dword [0x65d1d0], 0
je 0x64234f
mov dl, 1
mov eax, dword [0x65d1d0]
call fcn.005f440c
cmp byte [0x65d1be], 0
je 0x6423bc
xor eax, eax
push ebp
push 0x64238f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x65d1c4], 0
jne 0x64237b
mov eax, 0x642c4c
call fcn.005f4ef0
jmp 0x642385
mov eax, dword [0x65d1c4]
call fcn.005f50d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6423bc
mov eax, 0x642cb4
call fcn.005f5130
lea eax, [ebp - 0x2c]
mov ecx, dword [0x65d1a8]
mov edx, 0x642d18
call fcn.00409a14
mov eax, dword [ebp - 0x2c]
call fcn.005f5130
lea eax, [ebp - 0x30]
mov ecx, dword [0x65d1ac]
mov edx, 0x642d58
call fcn.00409a14
mov eax, dword [ebp - 0x30]
call fcn.005f5130
lea eax, [ebp - 0x38]
call fcn.005a3658
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, 0x642d84
call fcn.00409a14
mov eax, dword [ebp - 0x34]
call fcn.005f5130
call fcn.00639414
xor eax, eax
call fcn.00641bec
mov dword [0x65d1b4], eax
mov dl, 1
mov eax, dword [0x640e98]
call fcn.006115a4
mov dword [0x6551c0], eax
mov ecx, dword [0x65d1ac]
mov edx, dword [0x65d1b4]
mov eax, dword [0x6551c0]
call fcn.006141ec
lea ecx, [ebp - 0x3c]
mov eax, dword [0x6551c0]
mov edx, dword [eax + 0x18]
mov al, 0xc4
call fcn.005ab224
mov edx, dword [ebp - 0x3c]
mov eax, 0x65d1b8
call fcn.00408aec
mov eax, dword [0x6551c0]
test byte [eax + 0x1d], 0x20
je 0x6424b7
mov eax, dword [0x655338]
cmp byte [eax], 0
jne 0x6424b7
push 1
push 1
mov eax, dword [0x65d1b8]
call fcn.004097c0
push eax
mov eax, dword [0x655788]
mov eax, dword [eax + 0x348]
call fcn.004097c0
mov ecx, 0x30
pop edx
call fcn.00639cfc
call fcn.004265a8
mov eax, dword [0x6551c0]
test byte [eax + 0x1d], 1
je 0x6424fb
mov eax, dword [0x655594]
cmp byte [eax], 0
jne 0x6424fb
push 1
push 1
mov eax, dword [0x65d1b8]
call fcn.004097c0
push eax
mov eax, dword [0x655788]
mov eax, dword [eax + 0x1f0]
call fcn.004097c0
mov ecx, 0x30
pop edx
call fcn.00639cfc
call fcn.004265a8
mov eax, dword [0x65d1b4]
xor edx, edx
mov dword [0x65d1b4], edx
call fcn.004069c8
mov al, 2
call fcn.00641bec
mov dword [0x65d1b4], eax
lea eax, [ebp - 0x20]
push eax
push 6
mov ecx, 0x86000200
mov dx, 0x20
mov eax, dword [0x6551c0]
call fcn.00611a5c
test al, al
jne 0x642540
mov eax, 0x642dc4
call fcn.005ec12c
cmp dword [0x65d1d0], 0
je 0x64255b
lea eax, [ebp - 4]
mov edx, dword [0x65560c]
mov edx, dword [edx]
call fcn.00408bd0
jmp 0x642566
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x20]
call fcn.00642260
mov eax, dword [0x6551c0]
test byte [eax + 0x1d], 0x80
setne al
call fcn.0063a330
mov eax, dword [0x6551c0]
cmp byte [eax + 0x10], 0
je 0x64259f
mov eax, dword [0x655338]
cmp byte [eax], 0
jne 0x642596
mov eax, 0x642e5c
call fcn.005ec12c
mov al, 1
call fcn.0063a458
jmp 0x6425a6
xor eax, eax
call fcn.0063a458
call fcn.0063758c
cmp dword [ebp - 4], 0
je 0x6426cc
call fcn.00636f50
call fcn.006378c4
mov eax, dword [0x655234]
mov edx, dword [0x65d1a8]
call fcn.00408aec
mov eax, dword [0x6556c0]
mov edx, dword [0x6551c0]
mov edx, dword [edx + 0x14]
call fcn.00408aec
movzx eax, byte [0x65d1bf]
or al, byte [0x65d1c0]
mov edx, dword [0x6553dc]
mov byte [edx], al
mov eax, dword [0x65595c]
mov edx, dword [ebp - 0x18]
call fcn.00408aec
mov eax, dword [0x655534]
mov edx, dword [ebp - 0x14]
call fcn.00408aec
mov eax, dword [0x655354]
mov edx, dword [ebp - 0x10]
call fcn.00408aec
mov eax, dword [0x655408]
mov edx, dword [ebp - 0xc]
call fcn.00408aec
mov edx, dword [ebp - 8]
mov eax, edx
test eax, eax
je 0x642639
sub eax, 4
mov eax, dword [eax]
add eax, eax
xchg edx, eax
call fcn.006421a8
mov dl, 1
mov eax, dword [0x62cb1c]
call fcn.0062df84
mov edx, dword [0x65543c]
mov dword [edx], eax
mov eax, 0x638dd4
mov edx, dword [0x65543c]
mov edx, dword [edx]
mov dword [edx + 0x10], eax
mov eax, 0x638ddc
mov edx, dword [0x65543c]
mov edx, dword [edx]
mov dword [edx + 0x14], eax
mov eax, 0x638de4
mov edx, dword [0x65543c]
mov edx, dword [edx]
mov dword [edx + 0x18], eax
mov eax, 0x639004
mov edx, dword [0x65543c]
mov edx, dword [edx]
mov dword [edx + 0x1c], eax
mov eax, 0x639010
mov edx, dword [0x65543c]
mov edx, dword [edx]
mov dword [edx + 0x20], eax
mov eax, 0x63901c
mov edx, dword [0x65543c]
mov edx, dword [edx]
mov dword [edx + 0x24], eax
mov ecx, dword [0x6554ec]
mov ecx, dword [ecx]
mov eax, dword [0x65543c]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.0062e07c
xor edx, edx
push ebp
push 0x642b1c
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x642a4f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x65543c]
cmp dword [eax], 0
je 0x64275d
xor edx, edx
push ebp
push 0x642731
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 2
push 0
push 1
xor eax, eax
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0x11
lea ecx, [ebp - 0x44]
mov eax, dword [0x65543c]
mov eax, dword [eax]
mov edx, 0x642ef0
call fcn.0062e6e4
pop dword fs:[0]
add esp, 8
jmp 0x64274a
test al, al
jne 0x64275d
mov eax, 0x642f80
call fcn.005f5130
call fcn.004265a8
cmp byte [0x65d1bf], 0
jne 0x642797
cmp byte [0x65d1c0], 0
jne 0x642797
push 0x124
push 1
push 6
mov eax, dword [0x6551c0]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x65d1b8]
mov al, 0x2b
call fcn.00641324
cmp eax, 6
je 0x642797
call fcn.004265a8
xor edx, edx
xor eax, eax
call fcn.00641a60
jmp 0x6427c5
push 0x31
push 1
push 2
mov eax, dword [0x6551c0]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x65d1b8]
mov al, 0xd0
call fcn.00641324
dec eax
je 0x6427c5
call fcn.004265a8
mov eax, dword [0x6551c0]
call fcn.00611aa4
test al, al
jne 0x6427a2
jmp 0x6427e8
push 0xa
call sub.kernel32.dll_Sleep
mov eax, dword [0x655774]
mov eax, dword [eax]
call fcn.005964e8
mov eax, dword [0x6559f0]
cmp byte [eax], 0
jne 0x6427d5
mov eax, dword [0x655210]
mov byte [eax], 0
lea ecx, [ebp - 0x48]
mov eax, dword [0x6551c0]
mov edx, dword [eax + 0x18]
mov al, 0xb4
call fcn.005ab224
mov edx, dword [ebp - 0x48]
mov eax, dword [0x655774]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
call fcn.005a4f58
call fcn.00641158
xor edx, edx
mov al, 1
call fcn.00641a60
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x28], eax
mov eax, dword [0x6551c0]
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x24], edx
mov ecx, 0x6415a8
mov dl, 1
mov eax, dword [0x6551c0]
call fcn.00612878
mov byte [ebp - 0x22], al
movzx eax, byte [ebp - 0x22]
mov edx, dword [0x65565c]
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, 0x642fe8
call fcn.005f53b4
mov eax, dword [0x6551c0]
cmp byte [eax + 0x1c], 0
jne 0x642893
mov eax, dword [0x6551c0]
test byte [eax + 0x1d], 8
jne 0x642893
xor eax, eax
jmp 0x642895
mov al, 1
mov byte [ebp - 0x23], al
mov eax, dword [0x65543c]
cmp dword [eax], 0
je 0x642937
mov eax, dword [0x65543c]
mov eax, dword [eax]
mov cl, 1
mov edx, 0x643014
call fcn.0062e2d8
test al, al
je 0x642937
cmp byte [ebp - 0x23], 0
jne 0x64292d
xor eax, eax
push ebp
push 0x642912
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 1
push 0
push 0
xor eax, eax
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0x11
lea ecx, [ebp - 0x44]
mov eax, dword [0x65543c]
mov eax, dword [eax]
mov edx, 0x643014
call fcn.0062e6e4
test al, al
je 0x642908
mov byte [ebp - 0x23], 1
mov eax, 0x643038
call fcn.005f5130
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x642937
mov eax, 0x643118
call fcn.005f5130
movzx eax, byte [ebp - 0x23]
mov edx, dword [0x65565c]
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, 0x6431d0
call fcn.005f53b4
cmp byte [0x65d1c0], 0
jne 0x642992
mov eax, dword [0x655774]
mov eax, dword [eax]
call fcn.005964e8
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x28]
cmp eax, 0x3e8
jae 0x642992
push 0x4ff
push 0xa
push 0
push 0
push 0
call sub.user32.dll_MsgWaitForMultipleObjects
jmp 0x642963
mov eax, dword [0x655368]
mov eax, dword [eax]
mov edx, dword [0x655368]
xor ecx, ecx
mov dword [edx], ecx
call fcn.004069c8
mov dl, 1
mov al, 2
call fcn.00641a60
cmp byte [ebp - 0x23], 0
jne 0x6429f3
cmp byte [0x65d1bf], 0
jne 0x642a3c
cmp byte [0x65d1c0], 0
jne 0x642a3c
push 0x10040
push 1
push 1
movzx eax, byte [ebp - 0x22]
movzx eax, byte [eax + 0x6551cc]
mov edx, dword [0x6551c0]
mov edx, dword [edx + 0x18]
mov ecx, dword [0x65d1b8]
call fcn.00641324
jmp 0x642a3c
cmp byte [0x65d1c1], 0
jne 0x642a2c
cmp byte [0x65d1c0], 0
jne 0x642a28
push 0x10024
push 1
push 6
mov eax, dword [0x6551c0]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x65d1b8]
mov al, 0xce
call fcn.00641324
cmp eax, 6
jne 0x642a2c
mov byte [ebp - 0x21], 1
cmp byte [ebp - 0x21], 0
jne 0x642a3c
mov eax, 0x643214
call fcn.005f5130
mov dl, 1
mov al, 3
call fcn.00641a60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x642a63
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x642b26
xor edx, edx
push ebp
push 0x642a9e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x655368]
mov eax, dword [eax]
mov edx, dword [0x655368]
xor ecx, ecx
mov dword [edx], ecx
call fcn.004069c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x642aad
mov eax, dword [0x65543c]
cmp dword [eax], 0
je 0x642b09
xor eax, eax
push ebp
push 0x642af0
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 [0x65543c]
mov eax, dword [eax]
mov edx, 0x643270
call fcn.0062e47c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x642b09
mov eax, dword [0x655774]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
call fcn.005a4fe8
ret