Function at 0x140011030
Capabilities:
Print debug messages

Disassembly:
push rbp
push rbx
push rsi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x14004e010]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rax, qword [rbp + 0x408]
mov r13d, r8d
mov rsi, qword [rbp + 0x400]
mov r12, rdx
mov qword [rbp - 0x68], rax
mov rcx, 0xffffffffffffffff
mov rax, qword [rbp + 0x410]
mov qword [rbp - 0x70], rax
xor eax, eax
movsxd rbx, r9d
mov r14d, eax
mov dword [rsp + 0x54], r8d
mov r15d, eax
mov qword [rsp + 0x68], rdx
mov dword [rsp + 0x40], 2
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x44], eax
test r9d, r9d
jne 0x1400110b8
lea eax, [rcx + 4]
jmp 0x14001117f
mov eax, 0x18
mov qword [rsp + 0x4e0], rdi
mul rbx
mov rdi, rbx
mov qword [rsp + 0x58], rbx
cmovo rax, rcx
mov rcx, rax
call fcn.14001a57c
mov qword [rsp + 0x48], rax
mov rdx, rax
test rax, rax
je 0x140011173
test ebx, ebx
jle 0x1400111dc
lfence
mov rcx, qword [rsi]
cmp word [rcx], 0x3d
jne 0x1400111b3
add rcx, 2
cmp word [rcx], r14w
je 0x1400111b3
mov qword [rsp + 0x28], r14
lea r9, [rsp + 0x50]
mov r8d, 1
mov qword [rsp + 0x20], r12
lea rdx, [rbp + 0x1f0]
call qword [sym.imp.SETUPAPI.dll_SetupDiClassGuidsFromNameExW]
test eax, eax
jne 0x140011144
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140011150
cmp dword [rsp + 0x50], r14d
jne 0x1400111a1
mov dword [rsp + 0x40], r14d
mov rbx, 0xffffffffffffffff
mov rsi, qword [rsp + 0x48]
mov rcx, rsi
call fcn.14001a574
cmp rbx, 0xffffffffffffffff
je 0x140011173
mov rcx, rbx
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov eax, dword [rsp + 0x40]
mov rdi, qword [rsp + 0x4e0]
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.14001a550
add rsp, 0x4a0
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret
mov rdx, qword [rsp + 0x48]
mov r8d, 1
mov dword [rsp + 0x44], r8d
jmp 0x1400111b6
mov r8d, r14d
cmp ebx, r8d
jle 0x1400111df
lfence
mov eax, r8d
mov rcx, qword [rsi + rax*8]
cmp word [rcx], 0x2a
jne 0x1400111e5
cmp word [rcx + 2], r14w
jne 0x1400111e5
inc r8d
mov dword [rsp + 0x44], r8d
jmp 0x1400111df
mov r8d, r14d
mov r15d, 1
mov eax, r8d
mov qword [rsp + 0x70], rax
cmp rax, rbx
jge 0x14001129e
mov r12, qword [rsp + 0x58]
lea rbx, [rax + 1]
lea rbx, [rax + rbx*2]
mov edi, eax
lea rbx, [rdx + rbx*8]
xor r13d, r13d
nop dword [rax]
mov rax, qword [rsi + rdi*8]
mov dword [rbp - 0x78], r13d
mov qword [rbp - 0x80], r13
mov qword [rsp + 0x78], rax
cmp word [rax], 0x40
jne 0x14001123c
mov rcx, rax
mov dword [rbp - 0x78], 1
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [rsp + 0x78], rax
cmp word [rax], 0x27
mov rcx, rax
jne 0x140011252
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [rsp + 0x78], rax
jmp 0x140011260
mov edx, 0x2a
call fcn.14001c024
mov qword [rbp - 0x80], rax
movups xmm0, xmmword [rsp + 0x78]
movsd xmm1, qword [rbp - 0x78]
movups xmmword [rbx - 0x10], xmm0
movsd qword [rbx], xmm1
cmp qword [rbx - 8], r13
jne 0x14001127d
cmp dword [rbx], r13d
jne 0x140011283
mov r14d, 1
inc rdi
add rbx, 0x18
cmp rdi, r12
jl 0x140011210
mov r12, qword [rsp + 0x68]
mov r13d, dword [rsp + 0x54]
mov rdi, qword [rsp + 0x58]
test r14d, r14d
jne 0x1400112cd
test r15d, r15d
jne 0x1400112cd
cmp dword [rsp + 0x50], r15d
lea rcx, [rbp + 0x1f0]
mov eax, 0
mov r8, r12
cmove rcx, rax
xor r9d, r9d
xor edx, edx
call qword [sym.imp.SETUPAPI.dll_SetupDiCreateDeviceInfoListExW]
jmp 0x14001130a
mov eax, dword [rsp + 0x50]
lea rcx, [rbp + 0x1f0]
mov edx, 0
test eax, eax
mov qword [rsp + 0x30], rdx
mov r9d, 4
cmovne r9d, edx
mov qword [rsp + 0x28], r12
or r9d, r13d
mov qword [rsp + 0x20], rdx
test eax, eax
cmove rcx, rdx
xor r8d, r8d
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsExW]
mov qword [rsp + 0x60], rax
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140011157
mov r13, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x48]
cmp r13, rdi
jge 0x140011379
mov r12, qword [rsp + 0x60]
lea rax, [r13*2]
add rax, r13
sub rdi, r13
xor r13d, r13d
lea rbx, [rsi + rax*8]
cmp dword [rbx + 0x10], r13d
je 0x140011362
mov rdx, qword [rbx]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r13
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenDeviceInfoW]
add rbx, 0x18
sub rdi, 1
jne 0x140011345
mov rdi, qword [rsp + 0x58]
mov rbx, r12
mov r13, qword [rsp + 0x70]
lea rdx, [rbp - 0x60]
mov dword [rbp - 0x60], 0x230
mov rcx, rbx
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInfoListDetailW]
test eax, eax
je 0x14001115c
xor eax, eax
mov dword [rbp + 0x1d0], 0x20
mov r12d, eax
mov dword [rsp + 0x40], eax
test r15d, r15d
lea r8, [rbp + 0x1d0]
mov rcx, rbx
cmove r12d, r14d
xor edx, edx
mov dword [rsp + 0x54], r12d
mov r14d, eax
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x1400115fe
test r12d, r12d
je 0x140011598
mov r15d, dword [rsp + 0x44]
xor esi, esi
mov qword [rsp + 0x68], r13
mov r12d, esi
cmp r13, rdi
jge 0x1400115cc
mov rdi, qword [rsp + 0x48]
lea r13, [r13 + r13*2]
lea r13, [r13 + 2]
lea r13, [rdi + r13*8]
test r12d, r12d
jne 0x140011593
mov rax, qword [rbp - 0x48]
lea rdx, [rbp + 0x200]
mov ecx, dword [rbp + 0x1e4]
xor r9d, r9d
mov r8d, 0xc8
mov qword [rsp + 0x20], rax
call qword [sym.imp.CFGMGR32.dll_CM_Get_Device_ID_ExW]
test eax, eax
je 0x14001143d
mov word [rbp + 0x200], si
cmp dword [r13], 0
je 0x14001146e
movsxd rax, r15d
lea rcx, [rax + rax*2]
lea rdx, [rdi + rcx*8]
lea rcx, [rbp + 0x200]
call fcn.140010e70
test eax, eax
je 0x140011568
mov r12d, 1
jmp 0x140011568
mov r8d, 1
lea rdx, [rbp + 0x1d0]
mov rcx, rbx
call fcn.140010c20
mov r8d, 2
lea rdx, [rbp + 0x1d0]
mov rcx, rbx
mov r14, rax
call fcn.140010c20
mov rsi, rax
mov rbx, r14
test r14, r14
je 0x1400114de
mov rcx, qword [r14]
test rcx, rcx
je 0x1400114de
movsxd rdx, r15d
lea r8, [rdx + rdx*2]
lea rdi, [rdi + r8*8]
nop dword [rax]
mov rdx, rdi
call fcn.140010e70
test eax, eax
jne 0x14001151e
mov rcx, qword [rbx + 8]
add rbx, 8
test rcx, rcx
jne 0x1400114c0
mov rdi, qword [rsp + 0x48]
mov rbx, rsi
test rsi, rsi
je 0x140011524
mov rax, qword [rsi]
test rax, rax
je 0x140011524
movsxd rcx, r15d
lea rdx, [rcx + rcx*2]
lea rdi, [rdi + rdx*8]
nop dword [rax]
mov rdx, rdi
mov rcx, rax
call fcn.140010e70
test eax, eax
jne 0x14001151e
mov rax, qword [rbx + 8]
add rbx, 8
test rax, rax
jne 0x140011500
jmp 0x140011524
mov r12d, 1
test r14, r14
je 0x140011540
mov rcx, qword [r14 - 8]
test rcx, rcx
je 0x140011537
call fcn.14001a574
lea rcx, [r14 - 8]
call fcn.14001a574
test rsi, rsi
je 0x14001155c
mov rcx, qword [rsi - 8]
test rcx, rcx
je 0x140011553
call fcn.14001a574
lea rcx, [rsi - 8]
call fcn.14001a574
mov rbx, qword [rsp + 0x60]
xor esi, esi
mov rdi, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x68]
inc r15d
inc rcx
add r13, 0x18
mov qword [rsp + 0x68], rcx
cmp rcx, qword [rsp + 0x58]
jl 0x140011404
mov r14d, dword [rsp + 0x40]
test r12d, r12d
je 0x1400115c7
jmp 0x140011598
mov r14d, dword [rsp + 0x40]
lea rcx, str._match:_n_n
mov dword [0x1400514bc], 1
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r9, qword [rbp - 0x70]
lea rdx, [rbp + 0x1d0]
mov r8d, r14d
mov rcx, rbx
call qword [rbp - 0x68]
test eax, eax
jne 0x140011609
mov rdi, qword [rsp + 0x58]
inc r14d
lea r8, [rbp + 0x1d0]
mov edx, r14d
mov dword [rsp + 0x40], r14d
mov rcx, rbx
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
mov r13, qword [rsp + 0x70]
mov r12d, dword [rsp + 0x54]
test eax, eax
jne 0x1400113d1
mov rsi, qword [rsp + 0x48]
xor eax, eax
mov dword [rsp + 0x40], eax
jmp 0x14001115c
mov dword [rsp + 0x40], eax
jmp 0x140011157