Function at 0x454000
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub rsp, 0x8e8
mov qword [rsp + 0x8e0], rbx
mov qword [rsp + 0x8d8], rbp
mov qword [rsp + 0x8d0], rsi
mov rbp, rcx
lea rcx, [rsp + 0x490]
mov qword [rsp + 0x8c8], rdi
mov qword [rsp + 0x8c0], r12
mov qword [rsp + 0x8b8], r13
lea r13, [0x00400000]
mov rax, qword [r13 + 0xb46c8]
lea rdx, [rsp + 0x490]
mov r9d, 0x20019
mov qword [rcx], rax
mov rax, qword [r13 + 0xb46d0]
xor r8d, r8d
mov qword [rcx + 8], rax
mov rax, qword [r13 + 0xb46d8]
xor esi, esi
mov qword [rcx + 0x10], rax
mov rax, qword [r13 + 0xb46e0]
mov qword [rcx + 0x18], rax
mov rax, qword [r13 + 0xb46e8]
mov qword [rcx + 0x20], rax
lea rax, [rsp + 0x40]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45442d
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x50]
mov r9d, 0x104
xor edx, edx
xor r12d, r12d
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x4543b6
inc r12d
test esi, esi
jne 0x4543a6
xor ecx, ecx
movzx eax, byte [rsp + rcx + 0x490]
inc rcx
test al, al
mov byte [rsp + rcx + 0x15f], al
jne 0x4540e1
xor eax, eax
lea rdi, [rsp + 0x160]
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
movzx eax, word [0x004a9dfc]
mov rcx, 0xffffffffffffffff
mov word [rdi - 1], ax
xor eax, eax
lea rdi, [rsp + 0x160]
repne scasb al, byte [rdi]
xor ecx, ecx
lea rdx, [rsp + 0x50]
nop
movzx eax, byte [rdx + rcx]
inc rcx
test al, al
mov byte [rdi + rcx - 2], al
jne 0x454130
lea rax, [rsp + 0x38]
lea rdx, [rsp + 0x160]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x454385
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x50]
mov r9d, 0x104
xor edx, edx
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x45437a
inc ebx
test esi, esi
jne 0x45437a
xor ecx, ecx
nop
movzx eax, byte [rsp + rcx + 0x160]
inc rcx
test al, al
mov byte [rsp + rcx + 0x26f], al
jne 0x4541a0
xor eax, eax
lea rdi, [rsp + 0x270]
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
movzx eax, word [0x004a9dfc]
mov rcx, 0xffffffffffffffff
mov word [rdi - 1], ax
xor eax, eax
lea rdi, [rsp + 0x270]
repne scasb al, byte [rdi]
xor ecx, ecx
lea rdx, [rsp + 0x50]
nop
movzx eax, byte [rdx + rcx]
inc rcx
test al, al
mov byte [rdi + rcx - 2], al
jne 0x4541f0
lea rax, [rsp + 0x48]
lea rdx, [rsp + 0x270]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45435a
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x30]
lea rdx, str.HardwareID
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45434f
lea rdx, [rbp + 0x148]
lea rcx, [rsp + 0x50]
call fcn.00488120
test eax, eax
jne 0x45434f
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x30]
lea rdx, str.Driver
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45434f
mov esi, 1
xor ecx, ecx
nop
nop
nop
movzx eax, byte [rsp + rcx + 0x270]
inc rcx
test al, al
mov byte [rsp + rcx + 0x59f], al
jne 0x4542d0
mov rax, qword [r13 + 0xb46a0]
lea rcx, [rsp + 0x380]
lea rdi, [rsp + 0x380]
mov qword [rcx], rax
mov rax, qword [r13 + 0xb46a8]
lea rdx, [rsp + 0x50]
mov qword [rcx + 8], rax
mov rax, qword [r13 + 0xb46b0]
mov qword [rcx + 0x10], rax
mov rax, qword [r13 + 0xb46b8]
mov qword [rcx + 0x18], rax
mov rax, qword [r13 + 0xb46c0]
mov qword [rcx + 0x20], rax
xor eax, eax
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
xor ecx, ecx
nop
movzx eax, byte [rdx + rcx]
inc rcx
test al, al
mov byte [rdi + rcx - 2], al
jne 0x454340
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x50]
mov r9d, 0x104
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x454191
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x50]
mov r9d, 0x104
mov edx, r12d
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x4540d4
mov rdi, qword [rsp + 0x8c8]
mov rbx, qword [rsp + 0x8e0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
mov r12, qword [rsp + 0x8c0]
je 0x45442d
lea rcx, [rsp + 0x6b0]
mov rdx, 0xffffffff80000002
call fcn.004646c0
lea rdx, [rsp + 0x5a0]
lea rcx, [rsp + 0x6b0]
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x20], 1
call fcn.00464cc0
lea rdx, [rsp + 0x380]
lea rcx, [rsp + 0x6b0]
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x20], 1
call fcn.00464cc0
mov r13, qword [rsp + 0x8b8]
mov rsi, qword [rsp + 0x8d0]
mov rbp, qword [rsp + 0x8d8]
add rsp, 0x8e8
ret