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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor ebx, ebx
lea rbp, sym.MZ_kiv9nMDWjqg_I7rrTcpI88_u4Z_bB_FPuaQ9q_
cmp byte [0x14013a44e], bl
movzx r12d, r8w
movzx edi, dl
movzx r15d, r9b
mov r13, rcx
mov edx, 0x100
movabs r8, 0x61fe00001000
je 0x14000927b
movzx eax, byte [0x14013a44a]
cmp al, 0xa0
je 0x1400091d1
cmp al, 0x10
jne 0x14000927b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x14013a458]
mov edx, 0x100
cmp eax, 0x16
jae 0x140009271
test dx, r12w
jne 0x14000920f
cmp dil, 0x2e
ja 0x14000920f
movzx eax, dil
movabs rcx, 0x61fe00001000
bt rcx, rax
jae 0x14000920f
mov al, 1
jmp 0x140009211
xor al, al
cmp byte [0x14013a44b], bl
jne 0x140009234
mov rax, rbx
nop dword [rax]
cmp byte [rax + rbp + 0x13a460], bl
jne 0x14000923d
inc rax
cmp rax, 0x16
jl 0x140009220
jmp 0x140009271
test r15b, r15b
je 0x140009246
test al, al
je 0x140009271
mov byte [0x14013a449], 1
jmp 0x14000924a
test al, al
je 0x140009271
movzx eax, byte [0x14013a44f]
mov byte [0x14013522c], al
movzx eax, byte [0x14013a45c]
mov byte [0x140135240], al
movzx eax, byte [0x14013a45d]
mov byte [0x1401352d0], al
movabs r8, 0x61fe00001000
movzx eax, byte [0x14013522c]
mov byte [0x14013a44f], al
movzx eax, byte [0x140135240]
mov byte [0x14013a45c], al
movzx eax, byte [0x1401352d0]
movzx r14d, dil
imul rcx, r14, 0x128
mov byte [0x14013a45d], al
mov rax, qword [0x140135380]
movzx esi, byte [rcx + rax + 8]
test sil, sil
je case.default.0x140009378
test byte [r13 + 8], 0x10
mov rbp, qword [r13 + 0x10]
je 0x1400092d4
xor al, al
jmp 0x1400093c2
cmp dil, 0xa0
je 0x1400092e4
cmp dil, 0x10
jne 0x1400093b4
test r15b, r15b
jne 0x1400093b4
cmp byte [0x14013a449], bl
je 0x14000937a
mov rax, rbx
lea rcx, sym.MZ_kiv9nMDWjqg_I7rrTcpI88_u4Z_bB_FPuaQ9q_
cmp byte [rax + rcx + 0x13a460], bl
jne 0x14000937a
inc rax
cmp rax, 0x16
jl 0x140009303
mov byte [0x14013a449], bl
xor al, al
cmp byte [rsp + 0x70], bl
jne 0x14000933b
or byte [0x14013522e], sil
mov edx, 0xffc3d44f
cmp rbp, rdx
je 0x14000933b
or byte [0x14013522d], sil
lea rbp, sym.MZ_kiv9nMDWjqg_I7rrTcpI88_u4Z_bB_FPuaQ9q_
test al, al
je case.default.0x140009378
or byte [0x14013522c], sil
movzx eax, dil
add eax, 0xffffff60
mov byte [r14 + rbp + 0x135230], 0x80
cmp eax, 5
ja case.default.0x140009378
cdqe
mov ecx, dword [rbp + rax*4 + 0x953c]
add rcx, rbp
jmp rcx
cmp byte [0x14013a44b], bl
je 0x1400093b4
test word [0x14013a44c], dx
jne 0x1400093b4
movzx eax, byte [0x14013a44a]
cmp al, 0x2e
ja 0x1400093b4
movzx eax, al
bt r8, rax
jae 0x1400093b4
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x14013a458]
cmp eax, 0x16
jb 0x14000931b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14013a3bc], eax
mov al, 1
test r15b, r15b
je 0x14000931d
cmp byte [rsp + 0x70], bl
jne 0x1400093ed
movzx ecx, sil
mov edx, 0xffc3d44f
not cl
and byte [0x14013522e], cl
cmp rbp, rdx
je 0x1400093ed
and byte [0x14013522d], cl
lea rbp, sym.MZ_kiv9nMDWjqg_I7rrTcpI88_u4Z_bB_FPuaQ9q_
test al, al
je case.default.0x140009378
not sil
movzx eax, dil
and byte [0x14013522c], sil
add eax, 0xffffff60
mov byte [r14 + rbp + 0x135230], bl
cmp eax, 5
ja case.default.0x140009378
cdqe
mov ecx, dword [rbp + rax*4 + 0x9554]
add rcx, rbp
jmp rcx
movzx eax, byte [0x1401352d1]
mov byte [0x140135240], al
jmp case.default.0x140009378
movzx eax, byte [0x1401352d0]
mov byte [0x140135240], al
jmp case.default.0x140009378
movzx eax, byte [0x1401352d3]
mov byte [0x140135241], al
jmp case.default.0x140009378
movzx eax, byte [0x1401352d2]
mov byte [0x140135241], al
jmp case.default.0x140009378
movzx eax, byte [0x1401352d5]
mov byte [0x140135242], al
jmp case.default.0x140009378
movzx eax, byte [0x1401352d4]
mov byte [0x140135242], al
jmp case.default.0x140009378
mov byte [0x140135240], 0x80
jmp case.default.0x140009378
mov byte [0x140135241], 0x80
jmp case.default.0x140009378
mov byte [0x140135242], 0x80
test byte [r13 + 8], 0x10
mov byte [0x14013a44a], dil
mov word [0x14013a44c], r12w
mov byte [0x14013a44b], r15b
jne 0x1400094fa
cmp dil, 0xa0
je 0x1400094ca
cmp dil, 0x10
jne 0x1400094fe
test r15b, r15b
jne 0x1400094fe
cmp byte [0x14013a449], bl
je 0x1400094fe
nop word [rax + rax]
cmp byte [rbx + rbp + 0x13a460], 0
jne 0x1400094fe
inc rbx
cmp rbx, 0x16
jl 0x1400094e0
mov byte [0x14013a449], 0
xor al, al
jmp 0x14000950c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14013a3bc], eax
mov al, 1
mov byte [0x14013a44e], al
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov dword [0x14013a458], eax
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret