Function at 0x64022c
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 0x640b9b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x65b1c0], 0
je 0x64027d
xor eax, eax
call fcn.0063745c
mov byte [ebp - 0x21], 0
mov eax, dword [0x65364c]
mov eax, dword [eax]
shr eax, 0x10
cmp eax, 0x600
mov eax, dword [0x6531fc]
setae byte [eax]
xor ecx, ecx
push ebp
push 0x640adc
push dword fs:[ecx]
mov dword fs:[ecx], esp
cmp dword [0x65b1d0], 0
je 0x6402bb
mov dl, 1
mov eax, dword [0x65b1d0]
call fcn.005f286c
cmp byte [0x65b1be], 0
je 0x640328
xor eax, eax
push ebp
push 0x6402fb
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x65b1c4], 0
jne 0x6402e7
mov eax, 0x640bb8
call fcn.005f3350
jmp 0x6402f1
mov eax, dword [0x65b1c4]
call fcn.005f3534
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x640328
mov eax, 0x640c20
call fcn.005f3590
lea eax, [ebp - 0x2c]
mov ecx, dword [0x65b1a8]
mov edx, 0x640c84
call fcn.00409a14
mov eax, dword [ebp - 0x2c]
call fcn.005f3590
lea eax, [ebp - 0x30]
mov ecx, dword [0x65b1ac]
mov edx, 0x640cc4
call fcn.00409a14
mov eax, dword [ebp - 0x30]
call fcn.005f3590
lea eax, [ebp - 0x38]
call fcn.005a3380
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, 0x640cf0
call fcn.00409a14
mov eax, dword [ebp - 0x34]
call fcn.005f3590
call fcn.00637524
xor eax, eax
call fcn.0063fb58
mov dword [0x65b1b4], eax
mov dl, 1
mov eax, dword [0x63ee04]
call fcn.0060f7d0
mov dword [0x6531ac], eax
mov ecx, dword [0x65b1ac]
mov edx, dword [0x65b1b4]
mov eax, dword [0x6531ac]
call fcn.00612418
lea ecx, [ebp - 0x3c]
mov eax, dword [0x6531ac]
mov edx, dword [eax + 0x18]
mov al, 0xc4
call fcn.005aaf4c
mov edx, dword [ebp - 0x3c]
mov eax, 0x65b1b8
call fcn.00408aec
mov eax, dword [0x6531ac]
test byte [eax + 0x1d], 0x20
je 0x640423
mov eax, dword [0x653324]
cmp byte [eax], 0
jne 0x640423
push 1
push 1
mov eax, dword [0x65b1b8]
call fcn.004097c0
push eax
mov eax, dword [0x65376c]
mov eax, dword [eax + 0x348]
call fcn.004097c0
mov ecx, 0x30
pop edx
call fcn.00637e0c
call fcn.00426598
mov eax, dword [0x6531ac]
test byte [eax + 0x1d], 1
je 0x640467
mov eax, dword [0x65357c]
cmp byte [eax], 0
jne 0x640467
push 1
push 1
mov eax, dword [0x65b1b8]
call fcn.004097c0
push eax
mov eax, dword [0x65376c]
mov eax, dword [eax + 0x1f0]
call fcn.004097c0
mov ecx, 0x30
pop edx
call fcn.00637e0c
call fcn.00426598
mov eax, dword [0x65b1b4]
xor edx, edx
mov dword [0x65b1b4], edx
call fcn.004069c8
mov al, 2
call fcn.0063fb58
mov dword [0x65b1b4], eax
lea eax, [ebp - 0x20]
push eax
push 6
mov ecx, 0x86000200
mov dx, 0x20
mov eax, dword [0x6531ac]
call fcn.0060fc88
test al, al
jne 0x6404ac
mov eax, 0x640d30
call fcn.005ea59c
cmp dword [0x65b1d0], 0
je 0x6404c7
lea eax, [ebp - 4]
mov edx, dword [0x6535f4]
mov edx, dword [edx]
call fcn.00408bd0
jmp 0x6404d2
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x20]
call fcn.006401cc
mov eax, dword [0x6531ac]
test byte [eax + 0x1d], 0x80
setne al
call fcn.00638440
mov eax, dword [0x6531ac]
cmp byte [eax + 0x10], 0
je 0x64050b
mov eax, dword [0x653324]
cmp byte [eax], 0
jne 0x640502
mov eax, 0x640dc8
call fcn.005ea59c
mov al, 1
call fcn.00638568
jmp 0x640512
xor eax, eax
call fcn.00638568
call fcn.0063569c
cmp dword [ebp - 4], 0
je 0x640638
call fcn.00635060
call fcn.006359d4
mov eax, dword [0x653220]
mov edx, dword [0x65b1a8]
call fcn.00408aec
mov eax, dword [0x6536a8]
mov edx, dword [0x6531ac]
mov edx, dword [edx + 0x14]
call fcn.00408aec
movzx eax, byte [0x65b1bf]
or al, byte [0x65b1c0]
mov edx, dword [0x6533c8]
mov byte [edx], al
mov eax, dword [0x653940]
mov edx, dword [ebp - 0x18]
call fcn.00408aec
mov eax, dword [0x65351c]
mov edx, dword [ebp - 0x14]
call fcn.00408aec
mov eax, dword [0x653340]
mov edx, dword [ebp - 0x10]
call fcn.00408aec
mov eax, dword [0x6533f4]
mov edx, dword [ebp - 0xc]
call fcn.00408aec
mov edx, dword [ebp - 8]
mov eax, edx
test eax, eax
je 0x6405a5
sub eax, 4
mov eax, dword [eax]
add eax, eax
xchg edx, eax
call fcn.00640114
mov dl, 1
mov eax, dword [0x62ac2c]
call fcn.0062c094
mov edx, dword [0x653428]
mov dword [edx], eax
mov eax, 0x636ee4
mov edx, dword [0x653428]
mov edx, dword [edx]
mov dword [edx + 0x10], eax
mov eax, 0x636eec
mov edx, dword [0x653428]
mov edx, dword [edx]
mov dword [edx + 0x14], eax
mov eax, 0x636ef4
mov edx, dword [0x653428]
mov edx, dword [edx]
mov dword [edx + 0x18], eax
mov eax, 0x637114
mov edx, dword [0x653428]
mov edx, dword [edx]
mov dword [edx + 0x1c], eax
mov eax, 0x637120
mov edx, dword [0x653428]
mov edx, dword [edx]
mov dword [edx + 0x20], eax
mov eax, 0x63712c
mov edx, dword [0x653428]
mov edx, dword [edx]
mov dword [edx + 0x24], eax
mov ecx, dword [0x6534d8]
mov ecx, dword [ecx]
mov eax, dword [0x653428]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.0062c18c
xor edx, edx
push ebp
push 0x640a88
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x6409bb
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x653428]
cmp dword [eax], 0
je 0x6406c9
xor edx, edx
push ebp
push 0x64069d
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 [0x653428]
mov eax, dword [eax]
mov edx, 0x640e5c
call fcn.0062c7f4
pop dword fs:[0]
add esp, 8
jmp 0x6406b6
test al, al
jne 0x6406c9
mov eax, 0x640eec
call fcn.005f3590
call fcn.00426598
cmp byte [0x65b1bf], 0
jne 0x640703
cmp byte [0x65b1c0], 0
jne 0x640703
push 0x124
push 1
push 6
mov eax, dword [0x6531ac]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x65b1b8]
mov al, 0x2b
call fcn.0063f290
cmp eax, 6
je 0x640703
call fcn.00426598
xor edx, edx
xor eax, eax
call fcn.0063f9cc
jmp 0x640731
push 0x31
push 1
push 2
mov eax, dword [0x6531ac]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x65b1b8]
mov al, 0xd0
call fcn.0063f290
dec eax
je 0x640731
call fcn.00426598
mov eax, dword [0x6531ac]
call fcn.0060fcd0
test al, al
jne 0x64070e
jmp 0x640754
push 0xa
call sub.kernel32.dll_Sleep
mov eax, dword [0x653758]
mov eax, dword [eax]
call fcn.00596210
mov eax, dword [0x6539d4]
cmp byte [eax], 0
jne 0x640741
mov eax, dword [0x6531fc]
mov byte [eax], 0
lea ecx, [ebp - 0x48]
mov eax, dword [0x6531ac]
mov edx, dword [eax + 0x18]
mov al, 0xb4
call fcn.005aaf4c
mov edx, dword [ebp - 0x48]
mov eax, dword [0x653758]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
call fcn.005a4c80
call fcn.0063f0c4
xor edx, edx
mov al, 1
call fcn.0063f9cc
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x28], eax
mov eax, dword [0x6531ac]
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x24], edx
mov ecx, 0x63f514
mov dl, 1
mov eax, dword [0x6531ac]
call fcn.00610aa4
mov byte [ebp - 0x22], al
movzx eax, byte [ebp - 0x22]
mov edx, dword [0x653644]
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, 0x640f54
call fcn.005f3814
mov eax, dword [0x6531ac]
cmp byte [eax + 0x1c], 0
jne 0x6407ff
mov eax, dword [0x6531ac]
test byte [eax + 0x1d], 8
jne 0x6407ff
xor eax, eax
jmp 0x640801
mov al, 1
mov byte [ebp - 0x23], al
mov eax, dword [0x653428]
cmp dword [eax], 0
je 0x6408a3
mov eax, dword [0x653428]
mov eax, dword [eax]
mov cl, 1
mov edx, 0x640f80
call fcn.0062c3e8
test al, al
je 0x6408a3
cmp byte [ebp - 0x23], 0
jne 0x640899
xor eax, eax
push ebp
push 0x64087e
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 [0x653428]
mov eax, dword [eax]
mov edx, 0x640f80
call fcn.0062c7f4
test al, al
je 0x640874
mov byte [ebp - 0x23], 1
mov eax, 0x640fa4
call fcn.005f3590
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6408a3
mov eax, 0x641084
call fcn.005f3590
movzx eax, byte [ebp - 0x23]
mov edx, dword [0x653644]
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, 0x64113c
call fcn.005f3814
cmp byte [0x65b1c0], 0
jne 0x6408fe
mov eax, dword [0x653758]
mov eax, dword [eax]
call fcn.00596210
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x28]
cmp eax, 0x3e8
jae 0x6408fe
push 0x4ff
push 0xa
push 0
push 0
push 0
call sub.user32.dll_MsgWaitForMultipleObjects
jmp 0x6408cf
mov eax, dword [0x653354]
mov eax, dword [eax]
mov edx, dword [0x653354]
xor ecx, ecx
mov dword [edx], ecx
call fcn.004069c8
mov dl, 1
mov al, 2
call fcn.0063f9cc
cmp byte [ebp - 0x23], 0
jne 0x64095f
cmp byte [0x65b1bf], 0
jne 0x6409a8
cmp byte [0x65b1c0], 0
jne 0x6409a8
push 0x10040
push 1
push 1
movzx eax, byte [ebp - 0x22]
movzx eax, byte [eax + 0x6531b8]
mov edx, dword [0x6531ac]
mov edx, dword [edx + 0x18]
mov ecx, dword [0x65b1b8]
call fcn.0063f290
jmp 0x6409a8
cmp byte [0x65b1c1], 0
jne 0x640998
cmp byte [0x65b1c0], 0
jne 0x640994
push 0x10024
push 1
push 6
mov eax, dword [0x6531ac]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x65b1b8]
mov al, 0xce
call fcn.0063f290
cmp eax, 6
jne 0x640998
mov byte [ebp - 0x21], 1
cmp byte [ebp - 0x21], 0
jne 0x6409a8
mov eax, 0x641180
call fcn.005f3590
mov dl, 1
mov al, 3
call fcn.0063f9cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6409cf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x640a92
xor edx, edx
push ebp
push 0x640a0a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x653354]
mov eax, dword [eax]
mov edx, dword [0x653354]
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 0x640a19
mov eax, dword [0x653428]
cmp dword [eax], 0
je 0x640a75
xor eax, eax
push ebp
push 0x640a5c
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 [0x653428]
mov eax, dword [eax]
mov edx, 0x6411dc
call fcn.0062c58c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x640a75
mov eax, dword [0x653758]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
call fcn.005a4d10
ret