Function at 0x180034240
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x1c8]
sub rsp, 0x2c8
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x18005b0d0]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rsi, r9
mov r13, r8
mov r12, rdx
mov ebx, ecx
mov rdi, qword [rbp + 0x220]
mov dword [rsp + 0x70], Ordinal_38
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0xa0]
call sub.MSVCR100.dll_memset
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc100.dll_Ordinal_316]
nop
lea rdx, str.SYSTEMCurrentControlSetControlClass_
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc100.dll_Ordinal_1294]
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x70]
call sub.MSVCR100.dll_memset
mov dword [rsp + 0x40], 0x104
lea r8, [rsp + 0x70]
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x1800344f2
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x104
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 9]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyA]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc100.dll_Ordinal_300]
nop
lea rdx, [rbp + 0xa0]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc100.dll_Ordinal_1461]
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x180034370
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc100.dll_Ordinal_889]
nop
jmp 0x1800344f2
mov dword [rsp + 0x44], 1
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
lea rdx, str.DriverDesc
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1800343ba
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc100.dll_Ordinal_889]
nop
jmp 0x1800344f2
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc100.dll_Ordinal_310]
nop
mov rdx, rax
mov rcx, r12
call qword [sym.imp.mfc100.dll_Ordinal_1291]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc100.dll_Ordinal_889]
mov dword [rsp + 0x44], 1
mov dword [rsp + 0x40], 0x104
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
lea rdx, str.DriverVersion
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x180034434
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc100.dll_Ordinal_889]
nop
jmp 0x1800344f2
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc100.dll_Ordinal_310]
nop
mov rdx, rax
mov rcx, r13
call qword [sym.imp.mfc100.dll_Ordinal_1291]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc100.dll_Ordinal_889]
mov dword [rsp + 0x44], 1
mov dword [rsp + 0x40], 0x104
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
lea rdx, str.DriverDate
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1800344ab
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc100.dll_Ordinal_889]
nop
jmp 0x1800344f2
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc100.dll_Ordinal_310]
nop
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.mfc100.dll_Ordinal_1291]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc100.dll_Ordinal_889]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc100.dll_Ordinal_889]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc100.dll_Ordinal_889]
mov eax, 1
jmp 0x1800344ff
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc100.dll_Ordinal_889]
xor eax, eax
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.18003c580
add rsp, 0x2c8
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret