Function at 0x140012e60
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc30]
sub rsp, 0xd30
mov rax, qword [0x140200d38]
xor rax, rsp
mov qword [rbp + 0xc20], rax
xor edi, edi
mov dword [rsp + 0x30], 1
xor edx, edx
mov qword [rsp + 0x38], rdi
mov r8d, 0x800
mov dword [rsp + 0x50], reloc.OLEAUT32.dll_SetErrorInfo
lea rcx, [rbp + 0x420]
call fcn.140140210
xor edx, edx
lea rcx, [rbp + 0x20]
mov r8d, 0x400
call fcn.140140210
movsd xmm0, qword [str.0000]
mov ecx, 0x802
movzx eax, word [0x1401b27f0]
movsd qword [rsp + 0x58], xmm0
mov word [rsp + 0x60], ax
call fcn.1401224d8
movups xmm0, xmmword [str.Killer_E3000]
mov rbx, rax
movzx ecx, word [0x1401b2810]
movsd xmm1, qword [0x1401b2808]
mov r14, 0xffffffffffffffff
mov qword [rsp + 0x48], rax
xor eax, eax
mov qword [rbp - 0x66], rax
mov qword [rbp - 0x5e], rax
mov qword [rbp - 0x56], rax
mov qword [rbp - 0x4e], rax
mov qword [rbp - 0x46], rax
mov qword [rbp - 0x3e], rax
mov dword [rbp - 0x36], eax
mov word [rbp - 0x32], ax
mov eax, dword [0x1401b21b0]
mov dword [rbp - 0x18], eax
xor eax, eax
movaps xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [str.Killer_E3100G]
mov qword [rbp - 0x14], rax
movsd qword [rbp - 0x70], xmm1
movsd xmm1, qword [0x1401b21a8]
mov qword [rbp - 0xc], rax
mov qword [rbp - 4], rax
mov qword [rbp + 4], rax
mov qword [rbp + 0xc], rax
mov qword [rbp + 0x14], rax
mov dword [rbp + 0x1c], eax
lea rax, [rbp - 0x80]
movaps xmmword [rbp - 0x30], xmm0
mov dword [rsp + 0x40], 0x800
mov word [rbp - 0x68], cx
movsd qword [rbp - 0x20], xmm1
inc r14
cmp word [rax + r14*2], di
jne 0x140012f95
add r14w, r14w
lea rax, [rbp - 0x30]
mov rsi, 0xffffffffffffffff
nop
inc rsi
cmp word [rax + rsi*2], di
jne 0x140012fb0
add si, si
mov dword [rsp + 0x44], edi
lea rax, [rsp + 0x58]
mov r15, 0xffffffffffffffff
nop dword [rax]
inc r15
cmp word [rax + r15*2], di
jne 0x140012fd0
add r15w, r15w
mov dword [0x14020f7bc], edi
lea r12, str.SYSTEMCurrentControlSetControlClass4d36e972_e325_11ce_bfc1_08002be10318_
mov r13d, edi
lea rax, [rbp + 0x420]
sub r12, rax
nop dword [rax + rax]
mov edx, 0x400
lea rcx, [rbp + 0x420]
nop dword [rax]
lea rax, [rdx + 0x7ffffbfe]
test rax, rax
je 0x140013033
movzx eax, word [r12 + rcx]
test ax, ax
je 0x140013033
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140013010
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov ecx, 0x400
mov word [rax], di
lea rax, [rbp + 0x420]
nop dword [rax]
cmp word [rax], 0
je 0x140013060
add rax, 2
sub rcx, 1
jne 0x140013050
mov eax, 0x400
mov r8, rdi
sub rax, rcx
test rcx, rcx
cmovne r8, rax
je 0x1400130cd
mov edx, 0x400
lea rcx, [rbp + 0x420]
lea rcx, [rcx + r8*2]
sub rdx, r8
je 0x1400130bf
add r8, 0x7ffffbfe
lea r9, [rsp + 0x58]
add r8, rdx
sub r9, rcx
nop dword [rax + rax]
test r8, r8
je 0x1400130bf
movzx eax, word [r9 + rcx]
test ax, ax
je 0x1400130bf
mov word [rcx], ax
dec r8
add rcx, 2
sub rdx, 1
jne 0x1400130a0
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], di
lea rax, [rsp + 0x38]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x420]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
je 0x14001310c
inc r13d
cmp r13d, 5
jge 0x14001337f
jmp 0x140013232
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
xor eax, eax
mov dword [rsp + 0x40], 0x800
mov r13d, eax
lea rdx, str.DriverDesc
lea rax, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x140013232
cmp dword [rsp + 0x30], 1
jne 0x140013232
movzx r8d, r14w
lea rcx, [rbp - 0x80]
mov rdx, rbx
call fcn.1401404a0
test eax, eax
je 0x140013183
movzx r8d, si
lea rcx, [rbp - 0x30]
mov rdx, rbx
call fcn.1401404a0
test eax, eax
jne 0x140013232
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rbp + 0x20]
xor r8d, r8d
lea rdx, str.NetCfgInstanceId
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x140013232
mov ebx, dword [0x14020f7bc]
lea rcx, [0x140355e20]
mov eax, ebx
lea r9, str..RealTekCard
shl rax, 0xa
mov r8d, 0x1fe
add rcx, rax
mov rdx, rcx
sub r9, rcx
nop
lea rax, [r8 + 0x7ffffe00]
test rax, rax
je 0x140013203
movzx eax, word [r9 + rdx]
test ax, ax
je 0x140013203
mov word [rdx], ax
add rdx, 2
sub r8, 1
jne 0x1400131e0
lea rax, [rdx - 2]
test r8, r8
lea r8, [rbp + 0x20]
cmovne rax, rdx
xor edx, edx
mov word [rax], dx
mov edx, 0x1fe
call fcn.14000b0c0
inc ebx
mov dword [0x14020f7bc], ebx
cmp ebx, 5
jae 0x14001337a
mov eax, dword [rsp + 0x44]
lea rdx, [rsp + 0x68]
xor ecx, ecx
inc eax
mov r9d, 0xa
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rcx
mov r8d, r9d
mov dword [rsp + 0x78], ecx
mov ecx, eax
mov dword [rsp + 0x44], eax
call fcn.14014d9d0
lea rax, [rsp + 0x68]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140013270
movzx r8d, r15w
lea rcx, [rsp + 0x58]
xor edx, edx
call fcn.140140210
cmp ebx, 1
jne 0x1400132b9
lea rax, [rsp + 0x58]
sub rax, 2
nop dword [rax + rax]
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x1400132a0
movsd xmm0, qword [0x1401b2900]
movsd qword [rax], xmm0
jmp 0x14001331a
cmp ebx, 2
jne 0x1400132f0
lea rcx, [rsp + 0x58]
sub rcx, 2
nop word [rax + rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x1400132d0
mov eax, dword [0x1401b2908]
mov dword [rcx], eax
movzx eax, word [0x1401b290c]
mov word [rcx + 4], ax
jmp 0x14001331a
cmp ebx, 3
jne 0x140013315
lea rcx, [rsp + 0x58]
sub rcx, 2
nop
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x140013300
mov eax, dword [0x1401b2910]
mov dword [rcx], eax
jmp 0x14001331a
cmp ebx, 4
jne 0x14001337a
lea rax, [rsp + 0x58]
sub rax, 2
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x140013323
lea r8, [rsp + 0x68]
xor edx, edx
nop word [rax + rax]
movzx ecx, word [r8 + rdx*2]
mov word [rax + rdx*2], cx
lea rdx, [rdx + 1]
test cx, cx
jne 0x140013340
mov rcx, qword [rsp + 0x38]
mov edi, 0
mov rbx, qword [rsp + 0x48]
test rcx, rcx
je 0x140013000
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x38], rdi
jmp 0x140013000
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x14001338c
mov rcx, rbx
call fcn.1401218ec
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14001339c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rbp + 0xc20]
xor rcx, rsp
call fcn.140121cc0
lea r11, [rsp + 0xd30]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret