Function at 0x1400120b0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x140043468]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov r14, rcx
lea rcx, str.EnumerateDevicesHwid_Start_n_n
mov qword [rbp - 0x80], rdx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
or rbx, 0xffffffffffffffff
mov r13d, eax
mov esi, eax
mov dword [rsp + 0x44], eax
mov r15d, eax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x48], eax
mov edi, eax
mov dword [rsp + 0x4c], eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov r12d, 1
mov eax, 0x18
mul r12
cmovo rax, rbx
mov rcx, rax
call fcn.14001c224
mov r8, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14001258d
mov rdx, qword [r14]
cmp word [rdx], 0x3d
jne 0x1400121a1
cmp word [rdx + 2], si
lea rcx, [rdx + 2]
je 0x1400121a1
xor eax, eax
lea r9, [rsp + 0x48]
lea rdx, [rbp + 0x1f0]
mov qword [rsp + 0x28], rax
mov r8d, r12d
mov qword [rsp + 0x20], rax
call qword [sym.imp.SETUPAPI.dll_SetupDiClassGuidsFromNameExW]
test eax, eax
jne 0x140012190
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140012574
cmp dword [rsp + 0x48], esi
je 0x140012574
mov r8, qword [rsp + 0x50]
jmp 0x1400121ad
cmp word [rdx], 0x2a
jne 0x1400121bd
cmp word [rdx + 2], si
jne 0x1400121bd
mov dword [rsp + 0x4c], r12d
mov edi, r12d
mov dword [rsp + 0x40], r12d
mov r15d, r12d
movsxd rax, edi
mov qword [rsp + 0x60], rax
mov rsi, rax
cmp rax, r12
jge 0x140012257
lea rax, [rax + rax*2]
mov r15, r12
lea rdi, [r8 + rax*8 + 0x10]
nop dword [rax]
mov rbx, qword [r14 + rsi*8]
xor eax, eax
cmp word [rbx], 0x40
mov dword [rbp - 0x68], eax
mov r12d, eax
jne 0x140012202
mov rcx, rbx
mov dword [rbp - 0x68], r15d
call qword [sym.imp.USER32.dll_CharNextW]
mov rbx, rax
cmp word [rbx], 0x27
mov rcx, rbx
jne 0x140012216
call qword [sym.imp.USER32.dll_CharNextW]
mov rbx, rax
jmp 0x140012223
mov edx, 0x2a
call fcn.14001b488
mov r12, rax
mov rax, qword [rbp - 0x68]
mov qword [rdi - 0x10], rbx
mov qword [rdi - 8], r12
mov qword [rdi], rax
cmp qword [rdi - 8], 0
jne 0x14001223e
cmp eax, 0
jne 0x140012241
mov r13d, r15d
inc rsi
add rdi, 0x18
cmp rsi, r15
jl 0x1400121e0
mov r15d, dword [rsp + 0x40]
test r13d, r13d
jne 0x140012282
test r15d, r15d
jne 0x140012282
cmp dword [rsp + 0x48], r15d
lea rcx, [rbp + 0x1f0]
mov r12d, 0
cmove rcx, r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.SETUPAPI.dll_SetupDiCreateDeviceInfoListExW]
jmp 0x1400122c3
mov eax, dword [rsp + 0x48]
mov r12d, 0
mov r9d, 4
test eax, eax
mov qword [rsp + 0x30], r12
lea rcx, [rbp + 0x1f0]
cmovne r9d, r12d
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
or r9d, 2
test eax, eax
cmove rcx, r12
xor r8d, r8d
xor edx, edx
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsExW]
mov rbx, rax
mov qword [rsp + 0x58], rax
cmp rax, 0xffffffffffffffff
je 0x140012570
mov rsi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x50]
cmp rsi, 1
jge 0x14001232e
lea rax, [rsi + rsi*2]
mov edi, 1
sub rdi, rsi
mov rsi, qword [rsp + 0x58]
lea rbx, [r14 + rax*8]
nop word [rax + rax]
cmp dword [rbx + 0x10], 0
je 0x14001231d
mov rdx, qword [rbx]
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x20], r12
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenDeviceInfoW]
add rbx, 0x18
dec rdi
jne 0x140012300
mov rbx, rsi
mov rsi, qword [rsp + 0x60]
lea rdx, [rbp - 0x60]
mov rcx, rbx
mov dword [rbp - 0x60], 0x230
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInfoListDetailW]
test eax, eax
je 0x140012570
test r15d, r15d
mov edi, r12d
mov dword [rsp + 0x40], r12d
cmovne r13d, r12d
lea r8, [rbp + 0x1d0]
mov rcx, rbx
movsxd r12, r13d
xor edx, edx
mov dword [rbp + 0x1d0], 0x20
mov qword [rsp + 0x78], r12
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x140012570
xor r15d, r15d
jmp 0x140012395
mov r14, qword [rsp + 0x50]
test r12, r12
je 0x1400124f5
mov r12d, dword [rsp + 0x4c]
mov r13, rsi
mov edi, r15d
cmp rsi, 1
jge 0x140012547
mov r15, qword [rsp + 0x68]
lea rax, [rsi + rsi*2]
lea rsi, [r14 + rax*8 + 0x10]
mov r14, qword [rsp + 0x70]
test edi, edi
jne 0x1400124ee
mov rax, qword [rbp - 0x48]
mov ecx, dword [rbp + 0x1e4]
lea rdx, [rbp + 0x200]
xor r9d, r9d
mov r8d, 0xc8
mov qword [rsp + 0x20], rax
call qword [sym.imp.SETUPAPI.dll_CM_Get_Device_ID_ExW]
test eax, eax
je 0x140012400
xor eax, eax
mov word [rbp + 0x200], ax
cmp dword [rsi], 0
je 0x140012423
movsxd rax, r12d
lea rcx, [rax + rax*2]
mov rax, qword [rsp + 0x50]
lea rdx, [rax + rcx*8]
lea rcx, [rbp + 0x200]
call fcn.1400117b0
jmp 0x140012487
lea rdx, [rbp + 0x1d0]
mov r8d, 1
mov rcx, rbx
call fcn.140011520
lea rdx, [rbp + 0x1d0]
mov r8d, 2
mov rcx, rbx
mov r15, rax
mov qword [rsp + 0x68], rax
call fcn.140011520
movsxd rcx, r12d
lea rdx, [rcx + rcx*2]
mov r14, rax
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x50]
mov rcx, r15
lea rbx, [rax + rdx*8]
mov rdx, rbx
call fcn.140011960
test eax, eax
jne 0x14001248b
mov rdx, rbx
mov rcx, r14
call fcn.140011960
test eax, eax
je 0x140012490
mov edi, 1
test r15, r15
je 0x1400124ac
mov rcx, qword [r15 - 8]
test rcx, rcx
je 0x1400124a3
call fcn.14001b480
lea rcx, [r15 - 8]
call fcn.14001b480
test r14, r14
je 0x1400124c8
mov rcx, qword [r14 - 8]
test rcx, rcx
je 0x1400124bf
call fcn.14001b480
lea rcx, [r14 - 8]
call fcn.14001b480
mov rbx, qword [rsp + 0x58]
inc r13
inc r12d
add rsi, 0x18
cmp r13, 1
jl 0x1400123c6
xor r15d, r15d
test edi, edi
mov edi, dword [rsp + 0x40]
je 0x140012540
jmp 0x1400124f5
mov edi, dword [rsp + 0x40]
xor r15d, r15d
lea rcx, str.wlan_enumerate_device__match:_n_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rdx, [rbp + 0x1d0]
mov r8d, 1
mov rcx, rbx
call fcn.140011520
mov rbx, rax
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rax, qword [rbp - 0x80]
mov qword [rax], rbx
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rbx, qword [rsp + 0x58]
mov dword [rsp + 0x44], 1
mov rsi, qword [rsp + 0x60]
jmp 0x14001254b
mov edi, dword [rsp + 0x40]
inc edi
lea r8, [rbp + 0x1d0]
mov rcx, rbx
mov edx, edi
mov dword [rsp + 0x40], edi
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
mov r12, qword [rsp + 0x78]
test eax, eax
jne 0x140012390
mov esi, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x50]
call fcn.14001b480
cmp rbx, 0xffffffffffffffff
je 0x14001258d
mov rcx, rbx
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
lea rcx, str.EnumerateDeviceshwid_End_n_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, esi
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.14001a650
mov rbx, qword [rsp + 0x4f0]
add rsp, 0x4a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret