Function at 0x6455e8
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 0x645f6b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x6605e4], 0
je 0x645639
xor eax, eax
call fcn.0063cdf8
mov byte [ebp - 0x21], 0
mov eax, dword [0x658784]
mov eax, dword [eax]
shr eax, 0x10
cmp eax, 0x600
mov eax, dword [0x658320]
setae byte [eax]
xor ecx, ecx
push ebp
push 0x645eac
push dword fs:[ecx]
mov dword fs:[ecx], esp
cmp dword [0x6605f4], 0
je 0x645677
mov dl, 1
mov eax, dword [0x6605f4]
call fcn.005f88d8
cmp byte [0x6605e2], 0
je 0x6456e4
xor eax, eax
push ebp
push 0x6456b7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x6605e8], 0
jne 0x6456a3
mov eax, 0x645f88
call fcn.005f934c
jmp 0x6456ad
mov eax, dword [0x6605e8]
call fcn.005f9530
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6456e4
mov eax, 0x645fd4
call fcn.005f958c
lea eax, [ebp - 0x2c]
mov ecx, dword [0x6605cc]
mov edx, 0x64601c
call fcn.00409a14
mov eax, dword [ebp - 0x2c]
call fcn.005f958c
lea eax, [ebp - 0x30]
mov ecx, dword [0x6605d0]
mov edx, 0x646040
call fcn.00409a14
mov eax, dword [ebp - 0x30]
call fcn.005f958c
lea eax, [ebp - 0x38]
call fcn.005a3784
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, 0x646060
call fcn.00409a14
mov eax, dword [ebp - 0x34]
call fcn.005f958c
call fcn.0063cf8c
xor eax, eax
call fcn.00644f3c
mov dword [0x6605d8], eax
mov dl, 1
mov eax, dword [0x6442bc]
call fcn.00616248
mov dword [0x6582d0], eax
mov ecx, dword [0x6605d0]
mov edx, dword [0x6605d8]
mov eax, dword [0x6582d0]
call fcn.00618a20
lea ecx, [ebp - 0x3c]
mov eax, dword [0x6582d0]
mov edx, dword [eax + 0x18]
mov al, 0xc7
call fcn.005ab338
mov edx, dword [ebp - 0x3c]
mov eax, 0x6605dc
call fcn.00408aec
mov eax, dword [0x6582d0]
test byte [eax + 0x1d], 0x20
je 0x6457df
mov eax, dword [0x658448]
cmp byte [eax], 0
jne 0x6457df
push 1
push 1
mov eax, dword [0x6605dc]
call fcn.004097c0
push eax
mov eax, dword [0x6588a8]
mov eax, dword [eax + 0x354]
call fcn.004097c0
mov ecx, 0x30
pop edx
call fcn.0063d704
call fcn.004265e0
mov eax, dword [0x6582d0]
test byte [eax + 0x1d], 1
je 0x645823
mov eax, dword [0x6586b0]
cmp byte [eax], 0
jne 0x645823
push 1
push 1
mov eax, dword [0x6605dc]
call fcn.004097c0
push eax
mov eax, dword [0x6588a8]
mov eax, dword [eax + 0x1f8]
call fcn.004097c0
mov ecx, 0x30
pop edx
call fcn.0063d704
call fcn.004265e0
mov eax, dword [0x6605d8]
xor edx, edx
mov dword [0x6605d8], edx
call fcn.004069c8
mov al, 2
call fcn.00644f3c
mov dword [0x6605d8], eax
lea eax, [ebp - 0x20]
push eax
push 6
mov ecx, 0x86000500
mov dx, 0x20
mov eax, dword [0x6582d0]
call fcn.006166bc
test al, al
jne 0x645868
mov eax, 0x64607c
call fcn.005f069c
cmp dword [0x6605f4], 0
je 0x645883
lea eax, [ebp - 4]
mov edx, dword [0x65872c]
mov edx, dword [edx]
call fcn.00408bd0
jmp 0x64588e
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x20]
call fcn.00645588
mov eax, dword [0x6582d0]
test byte [eax + 0x1d], 0x80
setne al
call fcn.0063dcfc
mov eax, dword [0x6582d0]
cmp byte [eax + 0x10], 0
je 0x6458c7
mov eax, dword [0x658448]
cmp byte [eax], 0
jne 0x6458be
mov eax, 0x6460c8
call fcn.005f069c
mov al, 1
call fcn.0063dde0
jmp 0x6458ce
xor eax, eax
call fcn.0063dde0
call fcn.0063b170
cmp dword [ebp - 4], 0
je 0x645a08
call fcn.0063ab64
call fcn.0063b448
mov eax, dword [0x658344]
mov edx, dword [0x6605cc]
call fcn.00408aec
mov eax, dword [0x6587e0]
mov edx, dword [0x6582d0]
mov edx, dword [edx + 0x14]
call fcn.00408aec
movzx eax, byte [0x6605e3]
or al, byte [0x6605e4]
mov edx, dword [0x6584ec]
mov byte [edx], al
mov eax, dword [0x658a7c]
mov edx, dword [ebp - 0x18]
call fcn.00408aec
mov eax, dword [0x658650]
mov edx, dword [ebp - 0x14]
call fcn.00408aec
mov eax, dword [0x658464]
mov edx, dword [ebp - 0x10]
call fcn.00408aec
mov eax, dword [0x658518]
mov edx, dword [ebp - 0xc]
call fcn.00408aec
mov edx, dword [ebp - 8]
mov eax, edx
test eax, eax
je 0x645961
sub eax, 4
mov eax, dword [eax]
add eax, eax
xchg edx, eax
call fcn.006454d0
mov dl, 1
mov eax, dword [0x630c04]
call fcn.00631fc4
mov edx, dword [0x65854c]
mov dword [edx], eax
mov eax, dword [0x65854c]
mov eax, dword [eax]
add eax, 4
mov edx, 0x646120
call fcn.00408aec
mov eax, 0x63c868
mov edx, dword [0x65854c]
mov edx, dword [edx]
mov dword [edx + 0x10], eax
mov eax, 0x63c870
mov edx, dword [0x65854c]
mov edx, dword [edx]
mov dword [edx + 0x14], eax
mov eax, 0x63c878
mov edx, dword [0x65854c]
mov edx, dword [edx]
mov dword [edx + 0x18], eax
mov eax, 0x63ca98
mov edx, dword [0x65854c]
mov edx, dword [edx]
mov dword [edx + 0x1c], eax
mov eax, 0x63cab0
mov edx, dword [0x65854c]
mov edx, dword [edx]
mov dword [edx + 0x20], eax
mov eax, 0x63cabc
mov edx, dword [0x65854c]
mov edx, dword [edx]
mov dword [edx + 0x24], eax
mov ecx, dword [0x658608]
mov ecx, dword [ecx]
mov eax, dword [0x65854c]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.006320bc
xor edx, edx
push ebp
push 0x645e58
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x645d8b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x65854c]
cmp dword [eax], 0
je 0x645a99
xor edx, edx
push ebp
push 0x645a6d
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 [0x65854c]
mov eax, dword [eax]
mov edx, 0x646138
call fcn.00632764
pop dword fs:[0]
add esp, 8
jmp 0x645a86
test al, al
jne 0x645a99
mov eax, 0x6461a4
call fcn.005f958c
call fcn.004265e0
cmp byte [0x6605e3], 0
jne 0x645ad3
cmp byte [0x6605e4], 0
jne 0x645ad3
push 0x124
push 1
push 6
mov eax, dword [0x6582d0]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x6605dc]
mov al, 0x2c
call fcn.006446e0
cmp eax, 6
je 0x645ad3
call fcn.004265e0
xor edx, edx
xor eax, eax
call fcn.00644df4
jmp 0x645b01
push 0x31
push 1
push 2
mov eax, dword [0x6582d0]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x6605dc]
mov al, 0xd3
call fcn.006446e0
dec eax
je 0x645b01
call fcn.004265e0
mov eax, dword [0x6582d0]
call fcn.00616704
test al, al
jne 0x645ade
jmp 0x645b24
push 0xa
call sub.kernel32.dll_Sleep
mov eax, dword [0x658894]
mov eax, dword [eax]
call fcn.00596614
mov eax, dword [0x658b14]
cmp byte [eax], 0
jne 0x645b11
mov eax, dword [0x658320]
mov byte [eax], 0
lea ecx, [ebp - 0x48]
mov eax, dword [0x6582d0]
mov edx, dword [eax + 0x18]
mov al, 0xb7
call fcn.005ab338
mov edx, dword [ebp - 0x48]
mov eax, dword [0x658894]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
call fcn.005a5060
call fcn.00644540
xor edx, edx
mov al, 1
call fcn.00644df4
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x28], eax
mov eax, dword [0x6582d0]
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x24], edx
mov ecx, 0x644964
mov dl, 1
mov eax, dword [0x6582d0]
call fcn.00617234
mov byte [ebp - 0x22], al
movzx eax, byte [ebp - 0x22]
mov edx, dword [0x65877c]
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, 0x6461f8
call fcn.005f9810
mov eax, dword [0x6582d0]
cmp byte [eax + 0x1c], 0
jne 0x645bcf
mov eax, dword [0x6582d0]
test byte [eax + 0x1d], 8
jne 0x645bcf
xor eax, eax
jmp 0x645bd1
mov al, 1
mov byte [ebp - 0x23], al
mov eax, dword [0x65854c]
cmp dword [eax], 0
je 0x645c73
mov eax, dword [0x65854c]
mov eax, dword [eax]
mov cl, 1
mov edx, 0x646214
call fcn.0063235c
test al, al
je 0x645c73
cmp byte [ebp - 0x23], 0
jne 0x645c69
xor eax, eax
push ebp
push 0x645c4e
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 [0x65854c]
mov eax, dword [eax]
mov edx, 0x646214
call fcn.00632764
test al, al
je 0x645c44
mov byte [ebp - 0x23], 1
mov eax, 0x646238
call fcn.005f958c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x645c73
mov eax, 0x6462d8
call fcn.005f958c
movzx eax, byte [ebp - 0x23]
mov edx, dword [0x65877c]
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, 0x64632c
call fcn.005f9810
cmp byte [0x6605e4], 0
jne 0x645cce
mov eax, dword [0x658894]
mov eax, dword [eax]
call fcn.00596614
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x28]
cmp eax, 0x3e8
jae 0x645cce
push 0x4ff
push 0xa
push 0
push 0
push 0
call sub.user32.dll_MsgWaitForMultipleObjects
jmp 0x645c9f
mov eax, dword [0x658478]
mov eax, dword [eax]
mov edx, dword [0x658478]
xor ecx, ecx
mov dword [edx], ecx
call fcn.004069c8
mov dl, 1
mov al, 2
call fcn.00644df4
cmp byte [ebp - 0x23], 0
jne 0x645d2f
cmp byte [0x6605e3], 0
jne 0x645d78
cmp byte [0x6605e4], 0
jne 0x645d78
push 0x10040
push 1
push 1
movzx eax, byte [ebp - 0x22]
movzx eax, byte [eax + 0x6582dc]
mov edx, dword [0x6582d0]
mov edx, dword [edx + 0x18]
mov ecx, dword [0x6605dc]
call fcn.006446e0
jmp 0x645d78
cmp byte [0x6605e5], 0
jne 0x645d68
cmp byte [0x6605e4], 0
jne 0x645d64
push 0x10024
push 1
push 6
mov eax, dword [0x6582d0]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x6605dc]
mov al, 0xd1
call fcn.006446e0
cmp eax, 6
jne 0x645d68
mov byte [ebp - 0x21], 1
cmp byte [ebp - 0x21], 0
jne 0x645d78
mov eax, 0x64635c
call fcn.005f958c
mov dl, 1
mov al, 3
call fcn.00644df4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x645d9f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x645e62
xor edx, edx
push ebp
push 0x645dda
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x658478]
mov eax, dword [eax]
mov edx, dword [0x658478]
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 0x645de9
mov eax, dword [0x65854c]
cmp dword [eax], 0
je 0x645e45
xor eax, eax
push ebp
push 0x645e2c
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 [0x65854c]
mov eax, dword [eax]
mov edx, 0x64638c
call fcn.0063250c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x645e45
mov eax, dword [0x658894]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
call fcn.005a50f0
ret