Function at 0x6440d8
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 0x644a47
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x65e5e4], 0
je 0x644129
xor eax, eax
call fcn.0063b948
mov byte [ebp - 0x21], 0
mov eax, dword [0x65676c]
mov eax, dword [eax]
shr eax, 0x10
cmp eax, 0x600
mov eax, dword [0x65630c]
setae byte [eax]
xor ecx, ecx
push ebp
push 0x644988
push dword fs:[ecx]
mov dword fs:[ecx], esp
cmp dword [0x65e5f4], 0
je 0x644167
mov dl, 1
mov eax, dword [0x65e5f4]
call fcn.005f7fe0
cmp byte [0x65e5e2], 0
je 0x6441d4
xor eax, eax
push ebp
push 0x6441a7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x65e5e8], 0
jne 0x644193
mov eax, 0x644a64
call fcn.005f8a54
jmp 0x64419d
mov eax, dword [0x65e5e8]
call fcn.005f8c38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6441d4
mov eax, 0x644ab0
call fcn.005f8c94
lea eax, [ebp - 0x2c]
mov ecx, dword [0x65e5cc]
mov edx, 0x644af8
call fcn.00409a14
mov eax, dword [ebp - 0x2c]
call fcn.005f8c94
lea eax, [ebp - 0x30]
mov ecx, dword [0x65e5d0]
mov edx, 0x644b1c
call fcn.00409a14
mov eax, dword [ebp - 0x30]
call fcn.005f8c94
lea eax, [ebp - 0x38]
call fcn.005a35c8
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, 0x644b3c
call fcn.00409a14
mov eax, dword [ebp - 0x34]
call fcn.005f8c94
call fcn.0063badc
xor eax, eax
call fcn.00643a2c
mov dword [0x65e5d8], eax
mov dl, 1
mov eax, dword [0x642dac]
call fcn.00614ec4
mov dword [0x6562bc], eax
mov ecx, dword [0x65e5d0]
mov edx, dword [0x65e5d8]
mov eax, dword [0x6562bc]
call fcn.0061769c
lea ecx, [ebp - 0x3c]
mov eax, dword [0x6562bc]
mov edx, dword [eax + 0x18]
mov al, 0xc7
call fcn.005ab17c
mov edx, dword [ebp - 0x3c]
mov eax, 0x65e5dc
call fcn.00408aec
mov eax, dword [0x6562bc]
test byte [eax + 0x1d], 0x20
je 0x6442cf
mov eax, dword [0x656434]
cmp byte [eax], 0
jne 0x6442cf
push 1
push 1
mov eax, dword [0x65e5dc]
call fcn.004097c0
push eax
mov eax, dword [0x656890]
mov eax, dword [eax + 0x354]
call fcn.004097c0
mov ecx, 0x30
pop edx
call fcn.0063c254
call fcn.004265d8
mov eax, dword [0x6562bc]
test byte [eax + 0x1d], 1
je 0x644313
mov eax, dword [0x656698]
cmp byte [eax], 0
jne 0x644313
push 1
push 1
mov eax, dword [0x65e5dc]
call fcn.004097c0
push eax
mov eax, dword [0x656890]
mov eax, dword [eax + 0x1f8]
call fcn.004097c0
mov ecx, 0x30
pop edx
call fcn.0063c254
call fcn.004265d8
mov eax, dword [0x65e5d8]
xor edx, edx
mov dword [0x65e5d8], edx
call fcn.004069c8
mov al, 2
call fcn.00643a2c
mov dword [0x65e5d8], eax
lea eax, [ebp - 0x20]
push eax
push 6
mov ecx, 0x86000300
mov dx, 0x20
mov eax, dword [0x6562bc]
call fcn.00615338
test al, al
jne 0x644358
mov eax, 0x644b58
call fcn.005efda4
cmp dword [0x65e5f4], 0
je 0x644373
lea eax, [ebp - 4]
mov edx, dword [0x656714]
mov edx, dword [edx]
call fcn.00408bd0
jmp 0x64437e
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x20]
call fcn.00644078
mov eax, dword [0x6562bc]
test byte [eax + 0x1d], 0x80
setne al
call fcn.0063c84c
mov eax, dword [0x6562bc]
cmp byte [eax + 0x10], 0
je 0x6443b7
mov eax, dword [0x656434]
cmp byte [eax], 0
jne 0x6443ae
mov eax, 0x644ba4
call fcn.005efda4
mov al, 1
call fcn.0063c930
jmp 0x6443be
xor eax, eax
call fcn.0063c930
call fcn.00639c94
cmp dword [ebp - 4], 0
je 0x6444e4
call fcn.006396dc
call fcn.00639f6c
mov eax, dword [0x656330]
mov edx, dword [0x65e5cc]
call fcn.00408aec
mov eax, dword [0x6567c8]
mov edx, dword [0x6562bc]
mov edx, dword [edx + 0x14]
call fcn.00408aec
movzx eax, byte [0x65e5e3]
or al, byte [0x65e5e4]
mov edx, dword [0x6564d8]
mov byte [edx], al
mov eax, dword [0x656a64]
mov edx, dword [ebp - 0x18]
call fcn.00408aec
mov eax, dword [0x656638]
mov edx, dword [ebp - 0x14]
call fcn.00408aec
mov eax, dword [0x656450]
mov edx, dword [ebp - 0x10]
call fcn.00408aec
mov eax, dword [0x656504]
mov edx, dword [ebp - 0xc]
call fcn.00408aec
mov edx, dword [ebp - 8]
mov eax, edx
test eax, eax
je 0x644451
sub eax, 4
mov eax, dword [eax]
add eax, eax
xchg edx, eax
call fcn.00643fc0
mov dl, 1
mov eax, dword [0x62f81c]
call fcn.00630bdc
mov edx, dword [0x656538]
mov dword [edx], eax
mov eax, 0x63b3b8
mov edx, dword [0x656538]
mov edx, dword [edx]
mov dword [edx + 0x10], eax
mov eax, 0x63b3c0
mov edx, dword [0x656538]
mov edx, dword [edx]
mov dword [edx + 0x14], eax
mov eax, 0x63b3c8
mov edx, dword [0x656538]
mov edx, dword [edx]
mov dword [edx + 0x18], eax
mov eax, 0x63b5e8
mov edx, dword [0x656538]
mov edx, dword [edx]
mov dword [edx + 0x1c], eax
mov eax, 0x63b600
mov edx, dword [0x656538]
mov edx, dword [edx]
mov dword [edx + 0x20], eax
mov eax, 0x63b60c
mov edx, dword [0x656538]
mov edx, dword [edx]
mov dword [edx + 0x24], eax
mov ecx, dword [0x6565f0]
mov ecx, dword [ecx]
mov eax, dword [0x656538]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.00630cd4
xor edx, edx
push ebp
push 0x644934
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x644867
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x656538]
cmp dword [eax], 0
je 0x644575
xor edx, edx
push ebp
push 0x644549
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 [0x656538]
mov eax, dword [eax]
mov edx, 0x644bfc
call fcn.0063137c
pop dword fs:[0]
add esp, 8
jmp 0x644562
test al, al
jne 0x644575
mov eax, 0x644c68
call fcn.005f8c94
call fcn.004265d8
cmp byte [0x65e5e3], 0
jne 0x6445af
cmp byte [0x65e5e4], 0
jne 0x6445af
push 0x124
push 1
push 6
mov eax, dword [0x6562bc]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x65e5dc]
mov al, 0x2c
call fcn.006431d0
cmp eax, 6
je 0x6445af
call fcn.004265d8
xor edx, edx
xor eax, eax
call fcn.006438e4
jmp 0x6445dd
push 0x31
push 1
push 2
mov eax, dword [0x6562bc]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x65e5dc]
mov al, 0xd3
call fcn.006431d0
dec eax
je 0x6445dd
call fcn.004265d8
mov eax, dword [0x6562bc]
call fcn.00615380
test al, al
jne 0x6445ba
jmp 0x644600
push 0xa
call sub.kernel32.dll_Sleep
mov eax, dword [0x65687c]
mov eax, dword [eax]
call fcn.00596458
mov eax, dword [0x656afc]
cmp byte [eax], 0
jne 0x6445ed
mov eax, dword [0x65630c]
mov byte [eax], 0
lea ecx, [ebp - 0x48]
mov eax, dword [0x6562bc]
mov edx, dword [eax + 0x18]
mov al, 0xb7
call fcn.005ab17c
mov edx, dword [ebp - 0x48]
mov eax, dword [0x65687c]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
call fcn.005a4ea4
call fcn.00643030
xor edx, edx
mov al, 1
call fcn.006438e4
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x28], eax
mov eax, dword [0x6562bc]
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x24], edx
mov ecx, 0x643454
mov dl, 1
mov eax, dword [0x6562bc]
call fcn.00615eb0
mov byte [ebp - 0x22], al
movzx eax, byte [ebp - 0x22]
mov edx, dword [0x656764]
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, 0x644cbc
call fcn.005f8f18
mov eax, dword [0x6562bc]
cmp byte [eax + 0x1c], 0
jne 0x6446ab
mov eax, dword [0x6562bc]
test byte [eax + 0x1d], 8
jne 0x6446ab
xor eax, eax
jmp 0x6446ad
mov al, 1
mov byte [ebp - 0x23], al
mov eax, dword [0x656538]
cmp dword [eax], 0
je 0x64474f
mov eax, dword [0x656538]
mov eax, dword [eax]
mov cl, 1
mov edx, 0x644cd8
call fcn.00630f74
test al, al
je 0x64474f
cmp byte [ebp - 0x23], 0
jne 0x644745
xor eax, eax
push ebp
push 0x64472a
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 [0x656538]
mov eax, dword [eax]
mov edx, 0x644cd8
call fcn.0063137c
test al, al
je 0x644720
mov byte [ebp - 0x23], 1
mov eax, 0x644cfc
call fcn.005f8c94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x64474f
mov eax, 0x644d9c
call fcn.005f8c94
movzx eax, byte [ebp - 0x23]
mov edx, dword [0x656764]
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, 0x644df0
call fcn.005f8f18
cmp byte [0x65e5e4], 0
jne 0x6447aa
mov eax, dword [0x65687c]
mov eax, dword [eax]
call fcn.00596458
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x28]
cmp eax, 0x3e8
jae 0x6447aa
push 0x4ff
push 0xa
push 0
push 0
push 0
call sub.user32.dll_MsgWaitForMultipleObjects
jmp 0x64477b
mov eax, dword [0x656464]
mov eax, dword [eax]
mov edx, dword [0x656464]
xor ecx, ecx
mov dword [edx], ecx
call fcn.004069c8
mov dl, 1
mov al, 2
call fcn.006438e4
cmp byte [ebp - 0x23], 0
jne 0x64480b
cmp byte [0x65e5e3], 0
jne 0x644854
cmp byte [0x65e5e4], 0
jne 0x644854
push 0x10040
push 1
push 1
movzx eax, byte [ebp - 0x22]
movzx eax, byte [eax + 0x6562c8]
mov edx, dword [0x6562bc]
mov edx, dword [edx + 0x18]
mov ecx, dword [0x65e5dc]
call fcn.006431d0
jmp 0x644854
cmp byte [0x65e5e5], 0
jne 0x644844
cmp byte [0x65e5e4], 0
jne 0x644840
push 0x10024
push 1
push 6
mov eax, dword [0x6562bc]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x65e5dc]
mov al, 0xd1
call fcn.006431d0
cmp eax, 6
jne 0x644844
mov byte [ebp - 0x21], 1
cmp byte [ebp - 0x21], 0
jne 0x644854
mov eax, 0x644e20
call fcn.005f8c94
mov dl, 1
mov al, 3
call fcn.006438e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x64487b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64493e
xor edx, edx
push ebp
push 0x6448b6
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x656464]
mov eax, dword [eax]
mov edx, dword [0x656464]
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 0x6448c5
mov eax, dword [0x656538]
cmp dword [eax], 0
je 0x644921
xor eax, eax
push ebp
push 0x644908
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 [0x656538]
mov eax, dword [eax]
mov edx, 0x644e50
call fcn.00631124
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x644921
mov eax, dword [0x65687c]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
call fcn.005a4f34
ret