Function at 0x6485a0
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.0040979c
xor eax, eax
push ebp
push 0x648f25
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x66455c], 0
je 0x6485f1
xor eax, eax
call fcn.0063f4ac
mov byte [ebp - 0x21], 0
mov eax, dword [0x65b328]
mov eax, dword [eax]
shr eax, 0x10
cmp eax, 0x600
mov eax, dword [0x65ae6c]
setae byte [eax]
xor edx, edx
push ebp
push 0x648e66
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [0x66456c], 0
je 0x64862f
mov dl, 1
mov eax, dword [0x66456c]
call fcn.005fa1a0
cmp byte [0x66455a], 0
je 0x64869c
xor eax, eax
push ebp
push 0x64866f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x664560], 0
jne 0x64865b
mov eax, 0x648f40
call fcn.005facd0
jmp 0x648665
mov eax, dword [0x664560]
call fcn.005faeb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x64869c
mov eax, 0x648fa8
call fcn.005faf10
lea eax, [ebp - 0x2c]
mov ecx, dword [0x664544]
mov edx, 0x649038
call fcn.00408f70
mov eax, dword [ebp - 0x2c]
call fcn.005faf10
lea eax, [ebp - 0x30]
mov ecx, dword [0x664548]
mov edx, 0x649078
call fcn.00408f70
mov eax, dword [ebp - 0x30]
call fcn.005faf10
lea eax, [ebp - 0x38]
call fcn.0059ab0c
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, 0x6490a4
call fcn.00408f70
mov eax, dword [ebp - 0x34]
call fcn.005faf10
call fcn.0063f66c
xor eax, eax
call fcn.00647ec4
mov dword [0x664550], eax
mov dl, 1
mov eax, dword [0x647170]
call fcn.00617b48
mov dword [0x65ae14], eax
mov ecx, dword [0x664548]
mov edx, dword [0x664550]
mov eax, dword [0x65ae14]
call fcn.0061a768
lea ecx, [ebp - 0x3c]
mov eax, dword [0x65ae14]
mov edx, dword [eax + 0x18]
mov al, 0xc7
call fcn.005a1198
mov edx, dword [ebp - 0x3c]
mov eax, 0x664554
call fcn.00408038
mov eax, dword [0x65ae14]
test byte [eax + 0x1d], 0x20
je 0x648797
mov eax, dword [0x65afd4]
cmp byte [eax], 0
jne 0x648797
push 1
push 1
mov eax, dword [0x664554]
call fcn.00408d1c
push eax
mov eax, dword [0x65b454]
mov eax, dword [eax + 0x354]
call fcn.00408d1c
mov ecx, 0x30
pop edx
call fcn.0063ff54
call fcn.00427bb4
mov eax, dword [0x65ae14]
test byte [eax + 0x1d], 1
je 0x6487db
mov eax, dword [0x65b250]
cmp byte [eax], 0
jne 0x6487db
push 1
push 1
mov eax, dword [0x664554]
call fcn.00408d1c
push eax
mov eax, dword [0x65b454]
mov eax, dword [eax + 0x1f8]
call fcn.00408d1c
mov ecx, 0x30
pop edx
call fcn.0063ff54
call fcn.00427bb4
mov eax, dword [0x664550]
xor edx, edx
mov dword [0x664550], edx
call fcn.004060a0
mov al, 2
call fcn.00647ec4
mov dword [0x664550], eax
lea eax, [ebp - 0x20]
push eax
push 6
mov ecx, 0x86000503
mov dx, 0x20
mov eax, dword [0x65ae14]
call fcn.00618008
test al, al
jne 0x648820
mov eax, 0x6490e4
call fcn.005f1eec
cmp dword [0x66456c], 0
je 0x64883b
lea eax, [ebp - 4]
mov edx, dword [0x65b2c4]
mov edx, dword [edx]
call fcn.0040811c
jmp 0x648846
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x20]
call fcn.00648540
mov eax, dword [0x65ae14]
test byte [eax + 0x1d], 0x80
setne al
call fcn.00640588
mov eax, dword [0x65ae14]
cmp byte [eax + 0x10], 0
je 0x64887f
mov eax, dword [0x65afd4]
cmp byte [eax], 0
jne 0x648876
mov eax, 0x64917c
call fcn.005f1eec
mov al, 1
call fcn.006406b0
jmp 0x648886
xor eax, eax
call fcn.006406b0
call fcn.0063d6d4
cmp dword [ebp - 4], 0
je 0x6489c2
call fcn.0063d044
call fcn.0063da0c
mov eax, dword [0x65ae94]
mov edx, dword [0x664544]
call fcn.00408038
mov eax, dword [0x65b384]
mov edx, dword [0x65ae14]
mov edx, dword [edx + 0x14]
call fcn.00408038
movzx eax, byte [0x66455b]
or al, byte [0x66455c]
mov edx, dword [0x65b08c]
mov byte [edx], al
mov eax, dword [0x65b640]
mov edx, dword [ebp - 0x18]
call fcn.00408038
mov eax, dword [0x65b1e0]
mov edx, dword [ebp - 0x14]
call fcn.00408038
mov eax, dword [0x65aff0]
mov edx, dword [ebp - 0x10]
call fcn.00408038
mov eax, dword [0x65b0b8]
mov edx, dword [ebp - 0xc]
call fcn.00408038
mov eax, dword [ebp - 8]
test eax, eax
je 0x648917
sub eax, 4
mov eax, dword [eax]
mov edx, eax
add edx, edx
mov eax, dword [ebp - 8]
call fcn.00648488
mov dl, 1
mov eax, dword [0x632f8c]
call fcn.006340d0
mov edx, dword [0x65b0f0]
mov dword [edx], eax
mov eax, dword [0x65b0f0]
mov eax, dword [eax]
add eax, 4
mov edx, 0x649210
call fcn.00408038
mov eax, 0x63ef1c
mov edx, dword [0x65b0f0]
mov edx, dword [edx]
mov dword [edx + 0x10], eax
mov eax, 0x63ef24
mov edx, dword [0x65b0f0]
mov edx, dword [edx]
mov dword [edx + 0x14], eax
mov eax, 0x63ef2c
mov edx, dword [0x65b0f0]
mov edx, dword [edx]
mov dword [edx + 0x18], eax
mov eax, 0x63f14c
mov edx, dword [0x65b0f0]
mov edx, dword [edx]
mov dword [edx + 0x1c], eax
mov eax, 0x63f164
mov edx, dword [0x65b0f0]
mov edx, dword [edx]
mov dword [edx + 0x20], eax
mov eax, 0x63f170
mov edx, dword [0x65b0f0]
mov edx, dword [edx]
mov dword [edx + 0x24], eax
mov ecx, dword [0x65b198]
mov ecx, dword [ecx]
mov eax, dword [0x65b0f0]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.006341c8
xor edx, edx
push ebp
push 0x648e12
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x648d45
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x65b0f0]
cmp dword [eax], 0
je 0x648a53
xor edx, edx
push ebp
push 0x648a27
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 [0x65b0f0]
mov eax, dword [eax]
mov edx, 0x649228
call fcn.00634830
pop dword fs:[0]
add esp, 8
jmp 0x648a40
test al, al
jne 0x648a53
mov eax, 0x6492b8
call fcn.005faf10
call fcn.00427bb4
cmp byte [0x66455b], 0
jne 0x648a8d
cmp byte [0x66455c], 0
jne 0x648a8d
push 0x124
push 1
push 6
mov eax, dword [0x65ae14]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x664554]
mov al, 0x2c
call fcn.006475fc
cmp eax, 6
je 0x648a8d
call fcn.00427bb4
xor edx, edx
xor eax, eax
call fcn.00647d38
jmp 0x648abb
push 0x31
push 1
push 2
mov eax, dword [0x65ae14]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x664554]
mov al, 0xd3
call fcn.006475fc
dec eax
je 0x648abb
call fcn.00427bb4
mov eax, dword [0x65ae14]
call fcn.0061805c
test al, al
jne 0x648a98
jmp 0x648ade
push 0xa
call sub.kernel32.dll_Sleep_2
mov eax, dword [0x65b440]
mov eax, dword [eax]
call fcn.0058f2ac
mov eax, dword [0x65b6dc]
cmp byte [eax], 0
jne 0x648acb
mov eax, dword [0x65ae6c]
mov byte [eax], 0
lea ecx, [ebp - 0x48]
mov eax, dword [0x65ae14]
mov edx, dword [eax + 0x18]
mov al, 0xb7
call fcn.005a1198
mov edx, dword [ebp - 0x48]
mov eax, dword [0x65b440]
mov eax, dword [eax]
mov eax, dword [eax + 0x178]
call fcn.0059c414
call fcn.00647430
xor edx, edx
mov al, 1
call fcn.00647d38
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x28], eax
mov eax, dword [0x65ae14]
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x24], edx
mov ecx, 0x647880
mov dl, 1
mov eax, dword [0x65ae14]
call fcn.00618e30
mov byte [ebp - 0x22], al
movzx eax, byte [ebp - 0x22]
mov edx, dword [0x65b31c]
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, 0x649320
call fcn.005fb194
mov eax, dword [0x65ae14]
cmp byte [eax + 0x1c], 0
jne 0x648b89
mov eax, dword [0x65ae14]
test byte [eax + 0x1d], 8
jne 0x648b89
xor eax, eax
jmp 0x648b8b
mov al, 1
mov byte [ebp - 0x23], al
mov eax, dword [0x65b0f0]
cmp dword [eax], 0
je 0x648c2d
mov eax, dword [0x65b0f0]
mov eax, dword [eax]
mov cl, 1
mov edx, 0x64934c
call fcn.00634424
test al, al
je 0x648c2d
cmp byte [ebp - 0x23], 0
jne 0x648c23
xor eax, eax
push ebp
push 0x648c08
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 [0x65b0f0]
mov eax, dword [eax]
mov edx, 0x64934c
call fcn.00634830
test al, al
je 0x648bfe
mov byte [ebp - 0x23], 1
mov eax, 0x649370
call fcn.005faf10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x648c2d
mov eax, 0x649450
call fcn.005faf10
movzx eax, byte [ebp - 0x23]
mov edx, dword [0x65b31c]
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, 0x649508
call fcn.005fb194
cmp byte [0x66455c], 0
jne 0x648c88
mov eax, dword [0x65b440]
mov eax, dword [eax]
call fcn.0058f2ac
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x28]
cmp eax, 0x3e8
jae 0x648c88
push 0x4ff
push 0xa
push 0
push 0
push 0
call sub.user32.dll_MsgWaitForMultipleObjects
jmp 0x648c59
mov eax, dword [0x65b008]
mov eax, dword [eax]
mov edx, dword [0x65b008]
xor ecx, ecx
mov dword [edx], ecx
call fcn.004060a0
mov dl, 1
mov al, 2
call fcn.00647d38
cmp byte [ebp - 0x23], 0
jne 0x648ce9
cmp byte [0x66455b], 0
jne 0x648d32
cmp byte [0x66455c], 0
jne 0x648d32
push 0x10040
push 1
push 1
movzx eax, byte [ebp - 0x22]
movzx eax, byte [eax + 0x65ae20]
mov edx, dword [0x65ae14]
mov edx, dword [edx + 0x18]
mov ecx, dword [0x664554]
call fcn.006475fc
jmp 0x648d32
cmp byte [0x66455d], 0
jne 0x648d22
cmp byte [0x66455c], 0
jne 0x648d1e
push 0x10024
push 1
push 6
mov eax, dword [0x65ae14]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x664554]
mov al, 0xd1
call fcn.006475fc
cmp eax, 6
jne 0x648d22
mov byte [ebp - 0x21], 1
cmp byte [ebp - 0x21], 0
jne 0x648d32
mov eax, 0x64954c
call fcn.005faf10
mov dl, 1
mov al, 3
call fcn.00647d38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x648d59
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x648e1c
xor edx, edx
push ebp
push 0x648d94
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x65b008]
mov eax, dword [eax]
mov edx, dword [0x65b008]
xor ecx, ecx
mov dword [edx], ecx
call fcn.004060a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x648da3
mov eax, dword [0x65b0f0]
cmp dword [eax], 0
je 0x648dff
xor eax, eax
push ebp
push 0x648de6
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 [0x65b0f0]
mov eax, dword [eax]
mov edx, 0x6495a8
call fcn.006345c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x648dff
mov eax, dword [0x65b440]
mov eax, dword [eax]
mov eax, dword [eax + 0x178]
call fcn.0059c4a4
ret