Function at 0x140001890
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2a0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x180], rax
xor ebx, ebx
mov dword [rsp + 0x40], 0xb41627
mov dword [rsp + 0x44], 0x429e04c4
mov dword [rsp + 0x48], 0x65026ea2
mov dword [rsp + 0x4c], 0xfac850cf
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.1400012b0
test al, al
je 0x14000193a
lea rcx, [rbp - 0x80]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], bx
jne 0x140001920
test rax, rax
jne 0x140001980
lea rcx, str.GetDevicePath_got_empty_device_path_n
call fcn.140001070
lea rcx, str.failed_to_get_ParsecVDD_device_handle._n
call fcn.140001070
mov eax, 1
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140001cb0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rdx, [rbp - 0x80]
lea rcx, str.Idd_device:_try_open__s_n
call fcn.140001010
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
inc rax
test rax, 0xfffffffffffffffe
jne 0x1400019d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateFile_failed_0x_lx_n
call fcn.140001070
test rsi, rsi
je 0x14000193a
cmp rsi, 0xffffffffffffffff
je 0x14000193a
mov edx, 0x22a008
mov rcx, rsi
call fcn.1400014d0
mov edx, 0x22a00c
mov rcx, rsi
call fcn.1400014d0
mov edx, 0x22e004
mov rcx, rsi
call fcn.1400014d0
mov edx, 0x22a00c
mov rcx, rsi
call fcn.1400014d0
mov ecx, 8
call fcn.140001f6c
lea rcx, [0x1400015c0]
mov qword [rax], rcx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140001c70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140001c33
movabs r13, 0x7ffffffffa0a1eff
movabs r12, 0x7fffffffffffffff
movabs r14, 0x311cdad160000
movabs r15, 0x112e0be826d694b3
movsd xmm6, qword [0x140003648]
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x140001ab6
imul rdi, rax, 0x64
jmp 0x140001ad1
cqo
idiv rbx
imul rdi, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rdi, rax
cmp rdi, r13
jge 0x140001adf
add rdi, 0x5f5e100
jmp 0x140001ae2
mov rdi, r12
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x140001b00
imul rax, rax, 0x64
jmp 0x140001b1b
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, rdi
jge 0x140001b91
mov rbx, rdi
sub rbx, rax
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
imul rdx, rax, 0x64
xorps xmm0, xmm0
cvtsi2sd xmm0, rbx
comisd xmm0, xmm6
seta r8b
test r8b, r8b
lea rcx, [rdx + r14]
jne 0x140001b4d
lea rcx, [rdx + rbx]
lea rax, [rdx + rbx]
add rdx, r14
test r8b, r8b
cmove rdx, rax
mov rax, r15
imul rdx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rsp + 0x70], rdx
imul rax, rdx, 0x3b9aca00
sub ecx, eax
mov dword [rsp + 0x78], ecx
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll__Thrd_sleep]
jmp 0x140001ae2
mov edx, 0x22a00c
mov rcx, rsi
call fcn.1400014d0
cmp byte [0x1400056c0], 0
je 0x140001a98
cmp dword [rsp + 0x58], 0
jne 0x140001bbe
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rsp + 0x58], eax
jne 0x140001bd6
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x70], xmm0
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x140001bfe
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
mov edx, 0x22a008
mov rcx, rsi
call fcn.1400014d0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp dword [rsp + 0x58], 0
je 0x140001c2c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xor eax, eax
jmp 0x14000194b
mov dword [rsp + 0x58], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3