Function at 0x1401ee730
Capabilities:
Check for time delay via gettickcount

Disassembly:
test rcx, rcx
je 0x1401ee945
push rbx
sub rsp, 0x20
mov rbx, rcx
mov qword [rsp + 0x30], rsi
lea rcx, [0x1406876c0]
mov qword [rsp + 0x38], rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x140677274], 0
je 0x1401ee789
mov dword [0x140677274], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14068bee8], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
not ecx
mov dword [0x14068beec], ecx
jmp 0x1401ee78f
mov ecx, dword [0x14068beec]
mov r8d, dword [0x14068bee8]
lea r9, [rbx + 2]
mov edx, dword [0x140677278]
lea rdi, [0x14068bef0]
mov ebx, 2
lea esi, [rbx - 1]
nop
cmp edx, 4
jne 0x1401ee7f3
movzx eax, r8w
imul edx, eax, 0x9069
movzx eax, cx
shr ecx, 0x10
shr r8d, 0x10
add r8d, edx
imul edx, eax, 0x4650
mov eax, r8d
mov dword [0x14068bee8], r8d
shl eax, 0x10
add edx, ecx
add eax, edx
mov dword [0x14068beec], edx
mov ecx, edx
mov dword [0x14068bef0], eax
xor edx, edx
mov eax, edx
lea r10d, [rdx + 1]
movzx eax, byte [rax + rdi]
mov byte [r9 - 2], al
cmp r10d, 4
jne 0x1401ee946
movzx eax, r8w
imul edx, eax, 0x9069
movzx eax, cx
shr ecx, 0x10
shr r8d, 0x10
add r8d, edx
imul edx, eax, 0x4650
mov eax, r8d
mov dword [0x14068bee8], r8d
shl eax, 0x10
add edx, ecx
add eax, edx
mov dword [0x14068beec], edx
mov dword [0x14068bef0], eax
mov ecx, edx
mov byte [r9 - 1], al
lea edx, [rsi + 1]
movzx eax, byte [rsi + rdi]
mov byte [r9], al
movzx eax, byte [rdx + rdi]
lea r10d, [rdx + 1]
mov byte [r9 + 1], al
cmp r10d, 4
jne 0x1401ee9a8
movzx eax, r8w
imul edx, eax, 0x9069
movzx eax, cx
shr ecx, 0x10
shr r8d, 0x10
add r8d, edx
imul edx, eax, 0x4650
mov eax, r8d
mov dword [0x14068bee8], r8d
shl eax, 0x10
add edx, ecx
add eax, edx
mov dword [0x14068beec], edx
mov dword [0x14068bef0], eax
mov ecx, edx
mov byte [r9 + 2], al
lea edx, [rsi + 1]
movzx eax, byte [rsi + rdi]
mov byte [r9 + 3], al
movzx eax, byte [rdx + rdi]
lea r10d, [rdx + 1]
mov byte [r9 + 4], al
cmp r10d, 4
jne 0x1401ee907
movzx eax, r8w
imul edx, eax, 0x9069
movzx eax, cx
shr r8d, 0x10
shr ecx, 0x10
add r8d, edx
imul edx, eax, 0x4650
mov eax, r8d
shl eax, 0x10
add edx, ecx
add eax, edx
mov dword [0x14068bef0], eax
xor r10d, r10d
mov dword [0x14068bee8], r8d
mov ecx, edx
mov dword [0x14068beec], edx
mov eax, r10d
lea edx, [r10 + 1]
movzx eax, byte [rax + rdi]
mov byte [r9 + 5], al
add r9, 8
sub rbx, rsi
jne 0x1401ee7b0
lea rcx, [0x1406876c0]
mov dword [0x140677278], edx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
movzx eax, byte [r10 + rdi]
lea r11d, [r10 + 1]
mov byte [r9 - 1], al
cmp r11d, 4
jne 0x1401eea01
movzx eax, r8w
lea r10d, [rsi + 1]
imul edx, eax, 0x9069
movzx eax, cx
shr ecx, 0x10
shr r8d, 0x10
add r8d, edx
imul edx, eax, 0x4650
mov eax, r8d
mov dword [0x14068bee8], r8d
shl eax, 0x10
add edx, ecx
add eax, edx
mov dword [0x14068beec], edx
mov dword [0x14068bef0], eax
mov ecx, edx
mov byte [r9], al
movzx eax, byte [rsi + rdi]
mov byte [r9 + 1], al
movzx eax, byte [r10 + rdi]
lea r11d, [r10 + 1]
mov byte [r9 + 2], al
cmp r11d, 4
jne 0x1401eea62
movzx eax, r8w
lea r10d, [rsi + 1]
imul edx, eax, 0x9069
movzx eax, cx
shr r8d, 0x10
shr ecx, 0x10
add r8d, edx
imul edx, eax, 0x4650
mov eax, r8d
shl eax, 0x10
add edx, ecx
add eax, edx
mov dword [0x14068bef0], eax
mov byte [r9 + 3], al
movzx eax, byte [rsi + rdi]
mov byte [r9 + 4], al
jmp 0x1401ee8f8
movzx eax, byte [r11 + rdi]
lea edx, [r11 + 1]
mov byte [r9], al
cmp edx, 4
jne 0x1401ee855
movzx eax, r8w
lea r11d, [rsi + 1]
imul edx, eax, 0x9069
movzx eax, cx
shr ecx, 0x10
shr r8d, 0x10
add r8d, edx
imul edx, eax, 0x4650
mov eax, r8d
mov dword [0x14068bee8], r8d
shl eax, 0x10
add edx, ecx
add eax, edx
mov dword [0x14068beec], edx
mov dword [0x14068bef0], eax
mov ecx, edx
mov byte [r9 + 1], al
movzx eax, byte [rsi + rdi]
mov byte [r9 + 2], al
movzx eax, byte [r11 + rdi]
lea edx, [r11 + 1]
mov byte [r9 + 3], al
cmp edx, 4
jne 0x1401ee8b6
movzx eax, r8w
mov r10d, esi
imul edx, eax, 0x9069
movzx eax, cx
shr r8d, 0x10
shr ecx, 0x10
add r8d, edx
imul edx, eax, 0x4650
mov eax, r8d
shl eax, 0x10
add edx, ecx
add eax, edx
mov dword [0x14068bef0], eax
mov byte [r9 + 4], al
jmp 0x1401ee8f8