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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x1400de7a8]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rdi, rcx
mov r12d, dword [rcx + 0x1d8]
mov ecx, dword [rcx + 0x1dc]
mov dword [rsp + 0x20], ecx
mov rbx, qword [rdi + 0x1e0]
mov esi, dword [rdi + 0x1c8]
mov dword [rsp + 0x30], esi
mov r13d, dword [rdi + 0x1cc]
mov dword [rsp + 0x34], r13d
mov r14, qword [rdi + 0x1d0]
mov qword [rsp + 0x38], r14
cmp esi, dword [r14 + 0x14]
jae 0x140012821
mov rax, qword [r14 + 8]
lea rcx, [rax + rsi*2]
mov edx, 0x7c
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcschr]
nop dword [rax + rax]
test rax, rax
jne 0x1400361c4
mov ecx, dword [rsp + 0x20]
mov r15, r12
cmp r12d, dword [rbx + 0x14]
jb 0x1400361f1
add rbx, 8
lea rax, [0x1400ac968]
mov qword [rbp - 0x20], rax
lea rax, [rbp - 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x10], 0x41
mov rax, qword [rbx]
lea rdx, [rax + r15*2]
mov r8d, ecx
lea rcx, [rbp - 0x20]
call fcn.1400153a0
lea r15, [0x1400ac888]
mov qword [rbp - 0x20], r15
mov ecx, 0x68
call fcn.140024f04
mov rbx, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov rdx, qword [rbp - 0x18]
mov rcx, rax
call fcn.140014980
nop
lea rcx, [rbx + 0x30]
mov eax, dword [rbx + 4]
xor r12d, r12d
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
add rax, 0x20
shr rax, 5
mov dword [rcx], eax
call fcn.140015458
nop
mov eax, dword [rbx + 4]
mov dword [rbx + 0x4c], eax
mov qword [rbx + 0x50], r12
mov qword [rbx + 0x58], r12
mov dword [rbx + 0x60], 0xbb8
mov eax, dword [rsp + 0x20]
mov dword [rbx + 0x64], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov dword [rbx + 0x64], eax
mov rcx, rbx
call fcn.140015500
nop
mov qword [rdi], rbx
cmp esi, dword [r14 + 0x14]
jae 0x14001291e
mov rax, qword [r14 + 8]
lea rcx, [rax + rsi*2]
lea edx, [r12 + 0x2a]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcschr]
nop dword [rax + rax]
test rax, rax
je 0x14001291e
sub rax, qword [r14 + 8]
sar rax, 1
test eax, eax
jle 0x140012938
lea ecx, [rsi + r13]
cmp eax, ecx
jb 0x14001293d
mov edx, 0x3f
lea rcx, [rsp + 0x30]
call fcn.14000379c
cmp eax, 0xffffffff
je 0x140012a93
jmp 0x140012944
cmp eax, 0xffffffff
je 0x14001291e
sub eax, esi
cmp eax, 0xffffffff
je 0x14001291e
lea rax, [0x1400ac968]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0x41
mov rax, qword [r14 + 8]
lea rdx, [rax + rsi*2]
mov r8d, r13d
lea rcx, [rsp + 0x40]
call fcn.1400153a0
mov qword [rsp + 0x40], r15
cmp dword [rsp + 0x54], 0
jbe 0x1400129fe
mov edx, 0x5c
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcschr]
nop dword [rax + rax]
test rax, rax
je 0x1400129fe
mov rdx, qword [rsp + 0x48]
sub rax, rdx
sar rax, 1
cmp eax, 0xffffffff
je 0x1400129fe
mov ebx, 0x2f
nop dword [rax]
nop word [rax + rax]
mov ecx, eax
mov word [rdx + rcx*2], bx
lea ecx, [rax + 1]
cmp ecx, dword [rsp + 0x54]
jae 0x1400129fe
mov rax, qword [rsp + 0x48]
lea rcx, [rax + rcx*2]
mov edx, 0x5c
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcschr]
nop dword [rax + rax]
test rax, rax
je 0x1400129fe
mov rdx, qword [rsp + 0x48]
sub rax, rdx
sar rax, 1
cmp eax, 0xffffffff
jne 0x1400129c0
mov ecx, 0x68
call fcn.140024f04
mov rbx, rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.140014980
nop
lea rcx, [rbx + 0x30]
mov eax, dword [rbx + 4]
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
add rax, 0x20
shr rax, 5
mov dword [rcx], eax
call fcn.140015458
nop
mov eax, dword [rbx + 4]
mov dword [rbx + 0x4c], eax
mov qword [rbx + 0x50], r12
mov qword [rbx + 0x58], r12
mov dword [rbx + 0x60], 0xbb8
mov eax, dword [rsp + 0x20]
mov dword [rbx + 0x64], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov dword [rbx + 0x64], eax
mov rcx, rbx
call fcn.140015500
nop
mov qword [rdi + 8], rbx
mov qword [rsp + 0x40], r15
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140012a93
lea rax, [rsp + 0x58]
cmp rcx, rax
jne 0x140012ae3
mov qword [rbp - 0x20], r15
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140012aad
lea rax, [rbp - 8]
cmp rcx, rax
jne 0x14003624f
mov eax, 1
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140024c10
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_free]
nop dword [rax + rax]
nop
jmp 0x140012a93
sub rax, qword [r14 + 8]
sar rax, 1
test eax, eax
jle 0x1400361dc
lea ecx, [rsi + r13]
cmp eax, ecx
jb 0x1400361e5
jmp 0x14001281d
cmp eax, 0xffffffff
je 0x14001281d
sub eax, esi
cmp eax, 0xffffffff
jne 0x140036248
jmp 0x14001281d
add rbx, 8
mov rax, qword [rbx]
lea rcx, [rax + r12*2]
mov edx, 0x7c
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcschr]
nop dword [rax + rax]
mov rdx, rax
mov ecx, dword [rsp + 0x20]
test rax, rax
je 0x140012832
sub rdx, qword [rbx]
sar rdx, 1
test edx, edx
jle 0x140036233
lea eax, [r12 + rcx]
cmp edx, eax
jae 0x140012832
cmp edx, 0xffffffff
je 0x140012832
sub edx, r12d
cmp edx, 0xffffffff
je 0x140012832
xor eax, eax
jmp 0x140012ab2
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_free]
nop dword [rax + rax]
nop
jmp 0x140012aad