Function at 0x10064040
Capabilities:
Check for time delay via gettickcount
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100b0450
push 0x1007c8d9
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100b300c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
cmp dword [0x100bea94], eax
ja 0x100640e5
mov eax, dword [0x100bac10]
inc eax
mov dword [0x100bac10], eax
cmp eax, 0x3d
jne 0x100640c0
mov dword [0x100bac10], 0
mov eax, dword [0x100bb6ec]
inc eax
mov dword [0x100bb6ec], eax
cmp eax, 0x3d
jne 0x100640c0
inc dword [0x100babac]
mov dword [0x100bb6ec], 0
sub dword [0x100b3018], 1
jne 0x100640d9
mov dword [0x100b3018], 0x3c
dec dword [0x100b3028]
call esi
add eax, 0x3e8
mov dword [0x100bea94], eax
call fcn.100191d0
mov esi, eax
mov ecx, esi
call fcn.10076490
push dword [0x100bac10]
push dword [0x100bb6ec]
push dword [0x100babac]
push esi
push 0x100b9f50
call fcn.10008c40
add esp, 0x14
wait
mov dword [ebp - 4], 0
mov ecx, dword [0x100ba5e8]
mov eax, dword [ecx]
push dword [0x100bed18]
call dword [eax + 4]
mov eax, dword [eax]
mov dword [0x100bbd30], eax
call fcn.10019bf0
mov dword [0x100bb918], eax
mov eax, dword [0x100bed18]
mov ecx, dword [eax + 0x264]
mov eax, dword [0x100bbd30]
mov edi, dword [eax + ecx]
test edi, edi
je 0x10064562
mov eax, dword [edi]
push 0x100ba5cc
push edi
call dword [eax + 0xc0]
add dword [0x100b3464], 2
add dword [0x100b3050], 3
add dword [0x100b3038], 4
call fcn.100192b0
call fcn.1002d120
cmp dword [0x100b3470], 0
je 0x100641fc
mov byte [ebp - 0x2d], 0
call fcn.100645a0
mov esi, eax
mov ecx, esi
call fcn.10068690
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
push dword [eax]
push dword [eax + 4]
push dword [eax + 8]
push esi
push 0x100bad50
call fcn.10008c40
add esp, 0x1c
call fcn.1002c950
mov byte [ebp - 0x2e], 0
call fcn.10064680
mov esi, eax
mov ecx, esi
call fcn.10068630
mov edx, esi
call fcn.1002ce80
call fcn.1002cef0
call fcn.1002ca60
call fcn.1002cbc0
call fcn.1002cd20
mov ecx, dword [0x100ba5e8]
mov eax, dword [ecx]
call dword [eax + 0xa8]
test eax, eax
je 0x10064562
mov ecx, edi
call fcn.10063170
call fcn.10016960
test eax, eax
je 0x1006422a
push edi
call fcn.10063c10
jmp 0x10064251
call fcn.10016cb0
test eax, eax
je 0x1006423b
push edi
call fcn.10063cd0
jmp 0x10064251
call fcn.10016a70
push edi
test eax, eax
je 0x1006424c
call fcn.10063c70
jmp 0x10064251
call fcn.10063b80
cmp dword [0x100bc494], 0
jne 0x10064323
push 0xffff0000
mov edx, 0x100babd8
mov ecx, edi
call fcn.10063f80
push 0xff00b4ff
mov edx, 0x100b9d84
mov ecx, edi
call fcn.10063f80
push 0xffff7276
mov edx, 0x100bb6f0
mov ecx, edi
call fcn.10063f80
push 0xffccffff
mov edx, 0x100bed24
mov ecx, edi
call fcn.10063f80
push 0xffffff00
mov edx, 0x100bacdc
mov ecx, edi
call fcn.10063f80
push 0xff00ff00
mov edx, 0x100bb7b8
mov ecx, edi
call fcn.10063f80
push 0xff0000ff
mov edx, 0x100bac4c
mov ecx, edi
call fcn.10063f80
push 0xff660099
mov edx, 0x100baa34
mov ecx, edi
call fcn.10063f80
push 0xffff1493
mov edx, 0x100b9930
mov ecx, edi
call fcn.10063f80
push 0xffff9600
mov edx, 0x100be498
mov ecx, edi
call fcn.10063f80
push 0xffffffffffffffff
mov edx, 0x100bedbc
mov ecx, edi
call fcn.10063f80
add esp, 0x2c
mov dword [0x100bc494], 1
cmp dword [0x100b3470], 0
je 0x100643a1
cmp dword [0x100be944], 0
je 0x100643a1
mov edx, 1
lea ecx, [edx + 0x10]
call fcn.10017210
test eax, eax
je 0x100643a1
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x24]
mov dword [0x100b301c], ecx
mov eax, dword [ebp - 0x20]
add eax, 2
mov dword [0x100b3034], eax
mov dword [0x100b47bc], ecx
mov dword [0x100b4710], eax
mov dword [0x100b4970], ecx
mov dword [0x100b40c0], eax
mov dword [0x100b4524], ecx
mov dword [0x100b40f4], eax
mov dword [0x100b4460], ecx
mov dword [0x100b40a4], eax
call fcn.10026570
call fcn.10016cb0
mov ecx, edi
test eax, eax
je 0x100643b8
call fcn.1002c880
jmp 0x100643bd
call fcn.1002c470
cmp dword [0x100b9d4c], 0
je 0x1006443b
push str.cb.cbm
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor edx, edx
lea ecx, [edx + 0x70]
call fcn.10017210
test eax, eax
je 0x10064406
xor esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_SuspendThread]
mov dword [ebp - 0x34], esi
mov eax, dword [0x100bee64]
mov ecx, dword [0x100bee60]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x10064406
push dword [ecx + esi*4]
call edi
inc esi
jmp 0x100643e7
xor edx, edx
lea ecx, [edx + 0x71]
call fcn.10017210
test eax, eax
je 0x1006443b
xor esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [ebp - 0x38], esi
mov eax, dword [0x100bee64]
mov ecx, dword [0x100bee60]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x1006443b
push dword [ecx + esi*4]
call edi
inc esi
jmp 0x1006441c
cmp dword [0x100bb74c], 0
jne 0x10064562
cmp dword [0x100b3470], 1
jne 0x1006447e
cmp dword [0x100bdde0], 0
jne 0x1006447e
xor edx, edx
lea ecx, [edx + 0x2e]
call fcn.10017210
test al, 1
je 0x1006447e
mov dword [0x100bdde0], 1
mov dword [0x100b3470], 0
jmp 0x10064487
cmp dword [0x100b3470], 0
jne 0x100644b4
cmp dword [0x100bdde0], 1
jne 0x100644b4
xor edx, edx
lea ecx, [edx + 0x2e]
call fcn.10017210
test al, 1
je 0x100644b4
mov dword [0x100bdde0], 0
mov dword [0x100b3470], 1
jmp 0x100644bd
cmp dword [0x100b3470], 1
jne 0x1006450c
cmp dword [0x100bdde0], 0
jne 0x1006450c
mov edx, 1
lea ecx, [edx + 0x10]
call fcn.10017210
test eax, eax
je 0x1006450c
mov edx, 1
lea ecx, [edx + 0x43]
call fcn.10017210
test eax, eax
je 0x1006450c
xor edx, edx
lea ecx, [edx + 0x30]
call fcn.10017210
test eax, eax
je 0x1006450c
mov dword [0x100bdde0], 2
mov dword [0x100b3470], 0
jmp 0x10064515
cmp dword [0x100b3470], 0
jne 0x10064562
cmp dword [0x100bdde0], 2
jne 0x10064562
mov edx, 1
lea ecx, [edx + 0x10]
call fcn.10017210
test eax, eax
je 0x10064562
mov edx, 1
lea ecx, [edx + 0x43]
call fcn.10017210
test eax, eax
je 0x10064562
xor edx, edx
lea ecx, [edx + 0x30]
call fcn.10017210
test eax, eax
je 0x10064562
mov dword [0x100bdde0], 0
mov dword [0x100b3470], 1
wait
jmp 0x1006456e
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1007c649
mov esp, ebp
pop ebp
ret