Function at 0x140087b10
Capabilities:
Enumerate device drivers on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov qword [rbp - 0x11], 0xfffffffffffffffe
mov qword [rsp + 0x100], rbx
mov rax, qword [0x14017da30]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov qword [rbp - 0x59], rdx
mov rdi, rcx
mov qword [rbp - 0x51], rcx
xor eax, eax
mov dword [rbp - 0x69], eax
lea r8, [rbp - 0x69]
xor edx, edx
xor ecx, ecx
call sub.PSAPI.DLL_EnumDeviceDrivers
mov edx, dword [rbp - 0x69]
shr rdx, 3
lea rcx, [rbp - 0x29]
call fcn.14002b630
nop
lea r8, [rbp - 0x69]
mov edx, dword [rbp - 0x69]
mov r13, qword [rbp - 0x29]
mov rcx, r13
call sub.PSAPI.DLL_EnumDeviceDrivers
test eax, eax
je 0x140087d8f
mov rbx, r13
mov r12, qword [rbp - 0x21]
cmp r13, r12
je 0x140087d8f
mov r13, qword [rbp - 0x59]
nop dword [rax]
nop word [rax + rax]
mov rsi, qword [rbx]
mov r15, qword [rdi]
mov rax, qword [r15 + 8]
mov r14d, dword [rax + 4]
lea rcx, [rbp - 0x61]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
mov qword [rbp + 0xf], 7
xor eax, eax
mov qword [rbp + 7], rax
mov word [rbp - 9], ax
xor r8d, r8d
mov edx, 0x104
lea rcx, [rbp - 9]
call fcn.140007e20
lea rdi, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rdi, qword [rbp - 9]
xor eax, eax
movzx eax, ax
mov ecx, 0x104
rep stosw word [rdi], ax
mov qword [rbp + 7], 0x104
lea rax, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rax, qword [rbp - 9]
xor edi, edi
mov word [rax + 0x208], di
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rdx, qword [rbp - 9]
mov r8d, dword [rbp + 7]
mov rcx, rsi
call sub.PSAPI.DLL_GetDeviceDriverFileNameW
test eax, eax
je 0x140087d50
mov edx, eax
mov rax, qword [rbp + 7]
cmp rdx, rax
ja 0x140087c6b
mov qword [rbp + 7], rdx
lea rax, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rax, qword [rbp - 9]
mov word [rax + rdx*2], di
jmp 0x140087c7a
xor r8d, r8d
sub rdx, rax
lea rcx, [rbp - 9]
call fcn.140009290
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x39]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromStdWString_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64_]
mov rdx, rax
lea rcx, [rbp - 0x61]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rbp - 0x39]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rax, qword [rbp - 0x61]
cmp dword [rax + 4], r14d
jle 0x140087d43
mov r8d, r14d
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x61]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QString::left_int____ptr64]
nop
lea rdx, [rbp - 0x59]
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QString::toLower_void____ptr64]
nop
lea rcx, [rbp - 0x49]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rdx, [r15 + 8]
lea rcx, [rbp - 0x59]
call qword [sym.imp.Qt5Core.dll_bool___cdecl_operator_class_QString_const____ptr64__class_QString_const____ptr64_]
test al, al
je 0x140087d39
mov rax, qword [rbp - 0x61]
mov r8d, dword [rax + 4]
sub r8d, r14d
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x61]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QString::right_int____ptr64]
nop
mov r8, rax
mov rdx, qword [rbp - 0x51]
mov rdx, qword [rdx]
lea rcx, [rbp - 0x31]
call fcn.140087840
mov rdx, rax
lea rcx, [rbp - 0x61]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString_const____ptr64____ptr64]
lea rcx, [rbp - 0x31]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x41]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x59]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rdx, [rbp - 0x61]
mov rcx, r13
call fcn.140087900
nop
cmp qword [rbp + 0xf], 8
jb 0x140087d60
mov rcx, qword [rbp - 9]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], rdi
mov word [rbp - 9], di
lea rcx, [rbp - 0x61]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
add rbx, 8
cmp rbx, r12
mov rdi, qword [rbp - 0x51]
jne 0x140087bb0
mov r13, qword [rbp - 0x29]
test r13, r13
je 0x140087d9c
mov rcx, r13
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14010a480
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret