Function at 0x64361c
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 0x643f8b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x65e5dc], 0
je 0x64366d
xor eax, eax
call fcn.0063afa8
mov byte [ebp - 0x21], 0
mov eax, dword [0x656760]
mov eax, dword [eax]
shr eax, 0x10
cmp eax, 0x600
mov eax, dword [0x656304]
setae byte [eax]
xor ecx, ecx
push ebp
push 0x643ecc
push dword fs:[ecx]
mov dword fs:[ecx], esp
cmp dword [0x65e5ec], 0
je 0x6436ab
mov dl, 1
mov eax, dword [0x65e5ec]
call fcn.005f7a34
cmp byte [0x65e5da], 0
je 0x643718
xor eax, eax
push ebp
push 0x6436eb
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x65e5e0], 0
jne 0x6436d7
mov eax, 0x643fa8
call fcn.005f8448
jmp 0x6436e1
mov eax, dword [0x65e5e0]
call fcn.005f862c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x643718
mov eax, 0x643ff4
call fcn.005f8688
lea eax, [ebp - 0x2c]
mov ecx, dword [0x65e5c4]
mov edx, 0x64403c
call fcn.00409a14
mov eax, dword [ebp - 0x2c]
call fcn.005f8688
lea eax, [ebp - 0x30]
mov ecx, dword [0x65e5c8]
mov edx, 0x644060
call fcn.00409a14
mov eax, dword [ebp - 0x30]
call fcn.005f8688
lea eax, [ebp - 0x38]
call fcn.005a35c8
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, 0x644080
call fcn.00409a14
mov eax, dword [ebp - 0x34]
call fcn.005f8688
call fcn.0063b070
xor eax, eax
call fcn.00642f70
mov dword [0x65e5d0], eax
mov dl, 1
mov eax, dword [0x6422f0]
call fcn.00614694
mov dword [0x6562b4], eax
mov ecx, dword [0x65e5c8]
mov edx, dword [0x65e5d0]
mov eax, dword [0x6562b4]
call fcn.00616e6c
lea ecx, [ebp - 0x3c]
mov eax, dword [0x6562b4]
mov edx, dword [eax + 0x18]
mov al, 0xc4
call fcn.005ab128
mov edx, dword [ebp - 0x3c]
mov eax, 0x65e5d4
call fcn.00408aec
mov eax, dword [0x6562b4]
test byte [eax + 0x1d], 0x20
je 0x643813
mov eax, dword [0x65642c]
cmp byte [eax], 0
jne 0x643813
push 1
push 1
mov eax, dword [0x65e5d4]
call fcn.004097c0
push eax
mov eax, dword [0x656884]
mov eax, dword [eax + 0x348]
call fcn.004097c0
mov ecx, 0x30
pop edx
call fcn.0063b7e8
call fcn.004265d8
mov eax, dword [0x6562b4]
test byte [eax + 0x1d], 1
je 0x643857
mov eax, dword [0x656690]
cmp byte [eax], 0
jne 0x643857
push 1
push 1
mov eax, dword [0x65e5d4]
call fcn.004097c0
push eax
mov eax, dword [0x656884]
mov eax, dword [eax + 0x1f0]
call fcn.004097c0
mov ecx, 0x30
pop edx
call fcn.0063b7e8
call fcn.004265d8
mov eax, dword [0x65e5d0]
xor edx, edx
mov dword [0x65e5d0], edx
call fcn.004069c8
mov al, 2
call fcn.00642f70
mov dword [0x65e5d0], eax
lea eax, [ebp - 0x20]
push eax
push 6
mov ecx, 0x86000200
mov dx, 0x20
mov eax, dword [0x6562b4]
call fcn.00614b08
test al, al
jne 0x64389c
mov eax, 0x64409c
call fcn.005ef7f8
cmp dword [0x65e5ec], 0
je 0x6438b7
lea eax, [ebp - 4]
mov edx, dword [0x656708]
mov edx, dword [edx]
call fcn.00408bd0
jmp 0x6438c2
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x20]
call fcn.006435bc
mov eax, dword [0x6562b4]
test byte [eax + 0x1d], 0x80
setne al
call fcn.0063bde0
mov eax, dword [0x6562b4]
cmp byte [eax + 0x10], 0
je 0x6438fb
mov eax, dword [0x65642c]
cmp byte [eax], 0
jne 0x6438f2
mov eax, 0x6440e8
call fcn.005ef7f8
mov al, 1
call fcn.0063bec4
jmp 0x643902
xor eax, eax
call fcn.0063bec4
call fcn.00639310
cmp dword [ebp - 4], 0
je 0x643a28
call fcn.00638d58
call fcn.006395e8
mov eax, dword [0x656328]
mov edx, dword [0x65e5c4]
call fcn.00408aec
mov eax, dword [0x6567bc]
mov edx, dword [0x6562b4]
mov edx, dword [edx + 0x14]
call fcn.00408aec
movzx eax, byte [0x65e5db]
or al, byte [0x65e5dc]
mov edx, dword [0x6564d0]
mov byte [edx], al
mov eax, dword [0x656a58]
mov edx, dword [ebp - 0x18]
call fcn.00408aec
mov eax, dword [0x656630]
mov edx, dword [ebp - 0x14]
call fcn.00408aec
mov eax, dword [0x656448]
mov edx, dword [ebp - 0x10]
call fcn.00408aec
mov eax, dword [0x6564fc]
mov edx, dword [ebp - 0xc]
call fcn.00408aec
mov edx, dword [ebp - 8]
mov eax, edx
test eax, eax
je 0x643995
sub eax, 4
mov eax, dword [eax]
add eax, eax
xchg edx, eax
call fcn.00643504
mov dl, 1
mov eax, dword [0x62ef60]
call fcn.006302d0
mov edx, dword [0x656530]
mov dword [edx], eax
mov eax, 0x63aa30
mov edx, dword [0x656530]
mov edx, dword [edx]
mov dword [edx + 0x10], eax
mov eax, 0x63aa38
mov edx, dword [0x656530]
mov edx, dword [edx]
mov dword [edx + 0x14], eax
mov eax, 0x63aa40
mov edx, dword [0x656530]
mov edx, dword [edx]
mov dword [edx + 0x18], eax
mov eax, 0x63ac60
mov edx, dword [0x656530]
mov edx, dword [edx]
mov dword [edx + 0x1c], eax
mov eax, 0x63ac6c
mov edx, dword [0x656530]
mov edx, dword [edx]
mov dword [edx + 0x20], eax
mov eax, 0x63ac78
mov edx, dword [0x656530]
mov edx, dword [edx]
mov dword [edx + 0x24], eax
mov ecx, dword [0x6565e8]
mov ecx, dword [ecx]
mov eax, dword [0x656530]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.006303c8
xor edx, edx
push ebp
push 0x643e78
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x643dab
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x656530]
cmp dword [eax], 0
je 0x643ab9
xor edx, edx
push ebp
push 0x643a8d
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 [0x656530]
mov eax, dword [eax]
mov edx, 0x644140
call fcn.00630a9c
pop dword fs:[0]
add esp, 8
jmp 0x643aa6
test al, al
jne 0x643ab9
mov eax, 0x6441ac
call fcn.005f8688
call fcn.004265d8
cmp byte [0x65e5db], 0
jne 0x643af3
cmp byte [0x65e5dc], 0
jne 0x643af3
push 0x124
push 1
push 6
mov eax, dword [0x6562b4]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x65e5d4]
mov al, 0x2b
call fcn.00642714
cmp eax, 6
je 0x643af3
call fcn.004265d8
xor edx, edx
xor eax, eax
call fcn.00642e28
jmp 0x643b21
push 0x31
push 1
push 2
mov eax, dword [0x6562b4]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x65e5d4]
mov al, 0xd0
call fcn.00642714
dec eax
je 0x643b21
call fcn.004265d8
mov eax, dword [0x6562b4]
call fcn.00614b50
test al, al
jne 0x643afe
jmp 0x643b44
push 0xa
call sub.kernel32.dll_Sleep
mov eax, dword [0x656870]
mov eax, dword [eax]
call fcn.00596458
mov eax, dword [0x656af0]
cmp byte [eax], 0
jne 0x643b31
mov eax, dword [0x656304]
mov byte [eax], 0
lea ecx, [ebp - 0x48]
mov eax, dword [0x6562b4]
mov edx, dword [eax + 0x18]
mov al, 0xb4
call fcn.005ab128
mov edx, dword [ebp - 0x48]
mov eax, dword [0x656870]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
call fcn.005a4ea4
call fcn.00642574
xor edx, edx
mov al, 1
call fcn.00642e28
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x28], eax
mov eax, dword [0x6562b4]
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x24], edx
mov ecx, 0x642998
mov dl, 1
mov eax, dword [0x6562b4]
call fcn.00615680
mov byte [ebp - 0x22], al
movzx eax, byte [ebp - 0x22]
mov edx, dword [0x656758]
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, 0x644200
call fcn.005f890c
mov eax, dword [0x6562b4]
cmp byte [eax + 0x1c], 0
jne 0x643bef
mov eax, dword [0x6562b4]
test byte [eax + 0x1d], 8
jne 0x643bef
xor eax, eax
jmp 0x643bf1
mov al, 1
mov byte [ebp - 0x23], al
mov eax, dword [0x656530]
cmp dword [eax], 0
je 0x643c93
mov eax, dword [0x656530]
mov eax, dword [eax]
mov cl, 1
mov edx, 0x64421c
call fcn.00630694
test al, al
je 0x643c93
cmp byte [ebp - 0x23], 0
jne 0x643c89
xor eax, eax
push ebp
push 0x643c6e
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 [0x656530]
mov eax, dword [eax]
mov edx, 0x64421c
call fcn.00630a9c
test al, al
je 0x643c64
mov byte [ebp - 0x23], 1
mov eax, 0x644240
call fcn.005f8688
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x643c93
mov eax, 0x6442e0
call fcn.005f8688
movzx eax, byte [ebp - 0x23]
mov edx, dword [0x656758]
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, 0x644334
call fcn.005f890c
cmp byte [0x65e5dc], 0
jne 0x643cee
mov eax, dword [0x656870]
mov eax, dword [eax]
call fcn.00596458
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x28]
cmp eax, 0x3e8
jae 0x643cee
push 0x4ff
push 0xa
push 0
push 0
push 0
call sub.user32.dll_MsgWaitForMultipleObjects
jmp 0x643cbf
mov eax, dword [0x65645c]
mov eax, dword [eax]
mov edx, dword [0x65645c]
xor ecx, ecx
mov dword [edx], ecx
call fcn.004069c8
mov dl, 1
mov al, 2
call fcn.00642e28
cmp byte [ebp - 0x23], 0
jne 0x643d4f
cmp byte [0x65e5db], 0
jne 0x643d98
cmp byte [0x65e5dc], 0
jne 0x643d98
push 0x10040
push 1
push 1
movzx eax, byte [ebp - 0x22]
movzx eax, byte [eax + 0x6562c0]
mov edx, dword [0x6562b4]
mov edx, dword [edx + 0x18]
mov ecx, dword [0x65e5d4]
call fcn.00642714
jmp 0x643d98
cmp byte [0x65e5dd], 0
jne 0x643d88
cmp byte [0x65e5dc], 0
jne 0x643d84
push 0x10024
push 1
push 6
mov eax, dword [0x6562b4]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x65e5d4]
mov al, 0xce
call fcn.00642714
cmp eax, 6
jne 0x643d88
mov byte [ebp - 0x21], 1
cmp byte [ebp - 0x21], 0
jne 0x643d98
mov eax, 0x644364
call fcn.005f8688
mov dl, 1
mov al, 3
call fcn.00642e28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x643dbf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x643e82
xor edx, edx
push ebp
push 0x643dfa
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x65645c]
mov eax, dword [eax]
mov edx, dword [0x65645c]
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 0x643e09
mov eax, dword [0x656530]
cmp dword [eax], 0
je 0x643e65
xor eax, eax
push ebp
push 0x643e4c
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 [0x656530]
mov eax, dword [eax]
mov edx, 0x644394
call fcn.00630844
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x643e65
mov eax, dword [0x656870]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
call fcn.005a4f34
ret