Function at 0x14002c1d0
Capabilities:
Create thread

Disassembly:
push rbp
push rsi
lea rbp, [rsp - 0x4f]
sub rsp, 0xa8
mov rax, qword [0x140074050]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rsi, qword [0x140078508]
test rsi, rsi
jne 0x14002c203
mov eax, 0xe0000013
jmp 0x14002c46f
mov qword [rsp + 0xc0], rbx
xorps xmm0, xmm0
mov qword [rsp + 0xd0], r12
mov ebx, 0xe0000001
xor r12d, r12d
mov qword [rsp + 0xa0], r15
cmp qword [rsi], 0xffffffffffffffff
mov r15d, r12d
movups xmmword [rbp + 0x1f], xmm0
mov dword [rbp + 0x1f], 0x20
movups xmmword [rbp + 0x2f], xmm0
mov dword [rbp - 0x19], r12d
je 0x14002c24a
lea eax, [rbx + 0x11]
jmp 0x14002c457
mov qword [rsp + 0xc8], rdi
lea rcx, [0x140069150]
mov r9d, send
mov qword [rsp + 0xd8], r14
xor r8d, r8d
xor edx, edx
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
xor r9d, r9d
lea r8, [0x140069150]
mov r14, rax
xor edx, edx
lea rax, [rbp + 0x1f]
mov rcx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
test eax, eax
je 0x14002c43c
nop dword [rax + rax]
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], r12
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp + 0x1f]
mov rcx, r14
inc r15d
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailW]
mov ecx, dword [rbp - 0x19]
call fcn.14003edac
mov rdi, rax
mov qword [rsp + 0x28], r12
mov r8, rdi
lea rdx, [rbp + 0x1f]
mov rcx, r14
mov dword [rax], 8
lea rax, [rbp - 0x19]
mov r9d, dword [rbp - 0x19]
mov qword [rsp + 0x20], rax
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailW]
test eax, eax
jne 0x14002c305
mov ebx, 0xe0000001
jmp 0x14002c3d3
xor r9d, r9d
mov qword [rsp + 0x30], r12
lea rcx, [rdi + 4]
mov dword [rsp + 0x28], 0xe0000080
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsi], rax
cmp rax, 0xffffffffffffffff
jne 0x14002c343
mov ebx, 0xe0000009
jmp 0x14002c3d3
xorps xmm0, xmm0
mov dword [rbp + 0xf], r12d
xor r9d, r9d
mov qword [rbp - 0x11], r12
xor r8d, r8d
xor edx, edx
xor ecx, ecx
movdqu xmmword [rbp - 9], xmm0
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [rsi]
lea r8, [rbp + 0x17]
mov qword [rbp + 7], rax
mov r9d, 8
lea rax, [rbp - 0x11]
mov dword [rbp + 0x17], 8
mov qword [rsp + 0x38], rax
mov edx, 0x2aa00c
lea rax, [rbp + 0xf]
mov dword [rbp + 0x1b], 1
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, qword [rsi]
lea r8, [rbp + 0xf]
mov r9d, 1
lea rdx, [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x14002c403
mov rcx, qword [rbp + 7]
mov ebx, 0xe0000008
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.14003da04
lea rax, [rbp + 0x1f]
mov r9d, r15d
lea r8, [0x140069150]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, r14
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
test eax, eax
jne 0x14002c2a0
jmp 0x14002c43c
mov qword [rsp + 0x28], r12
lea r8, [0x14002c050]
mov r9, rsi
mov dword [rsp + 0x20], r12d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rdi
mov qword [rsi + 8], rax
mov ebx, 0x20000000
call fcn.14003da04
mov rcx, qword [rbp + 7]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov r14, qword [rsp + 0xd8]
mov eax, ebx
mov rdi, qword [rsp + 0xc8]
mov r12, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc0]
mov r15, qword [rsp + 0xa0]
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14002f130
add rsp, 0xa8
pop rsi
pop rbp
ret