Function at 0x140012740
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 [0x1400dc7b8]
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 0x1400127e1
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 0x1400354e6
mov ecx, dword [rsp + 0x20]
mov r15, r12
cmp r12d, dword [rbx + 0x14]
jb 0x140035513
add rbx, 8
lea rax, [0x1400ab968]
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.140015360
lea r15, [0x1400ab888]
mov qword [rbp - 0x20], r15
mov ecx, 0x68
call fcn.140024c84
mov rbx, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov rdx, qword [rbp - 0x18]
mov rcx, rax
call fcn.140014940
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.140015418
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.1400154c0
nop
mov qword [rdi], rbx
cmp esi, dword [r14 + 0x14]
jae 0x1400128de
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 0x1400128de
sub rax, qword [r14 + 8]
sar rax, 1
test eax, eax
jle 0x1400128f8
lea ecx, [rsi + r13]
cmp eax, ecx
jb 0x1400128fd
mov edx, 0x3f
lea rcx, [rsp + 0x30]
call fcn.14000379c
cmp eax, 0xffffffff
je 0x140012a53
jmp 0x140012904
cmp eax, 0xffffffff
je 0x1400128de
sub eax, esi
cmp eax, 0xffffffff
je 0x1400128de
lea rax, [0x1400ab968]
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.140015360
mov qword [rsp + 0x40], r15
cmp dword [rsp + 0x54], 0
jbe 0x1400129be
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 0x1400129be
mov rdx, qword [rsp + 0x48]
sub rax, rdx
sar rax, 1
cmp eax, 0xffffffff
je 0x1400129be
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 0x1400129be
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 0x1400129be
mov rdx, qword [rsp + 0x48]
sub rax, rdx
sar rax, 1
cmp eax, 0xffffffff
jne 0x140012980
mov ecx, 0x68
call fcn.140024c84
mov rbx, rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.140014940
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.140015418
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.1400154c0
nop
mov qword [rdi + 8], rbx
mov qword [rsp + 0x40], r15
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140012a53
lea rax, [rsp + 0x58]
cmp rcx, rax
jne 0x140012aa3
mov qword [rbp - 0x20], r15
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140012a6d
lea rax, [rbp - 8]
cmp rcx, rax
jne 0x140035571
mov eax, 1
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140024990
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 0x140012a53
sub rax, qword [r14 + 8]
sar rax, 1
test eax, eax
jle 0x1400354fe
lea ecx, [rsi + r13]
cmp eax, ecx
jb 0x140035507
jmp 0x1400127dd
cmp eax, 0xffffffff
je 0x1400127dd
sub eax, esi
cmp eax, 0xffffffff
jne 0x14003556a
jmp 0x1400127dd
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 0x1400127f2
sub rdx, qword [rbx]
sar rdx, 1
test edx, edx
jle 0x140035555
lea eax, [r12 + rcx]
cmp edx, eax
jae 0x1400127f2
cmp edx, 0xffffffff
je 0x1400127f2
sub edx, r12d
cmp edx, 0xffffffff
je 0x1400127f2
xor eax, eax
jmp 0x140012a72
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_free]
nop dword [rax + rax]
nop
jmp 0x140012a6d