Function at 0x140002b90
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
lea rbp, [rax - 0x9f8]
sub rsp, 0xae0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1401f0b90]
xor rax, rsp
mov qword [rbp + 0x9d0], rax
lea rcx, str.RemoveInfPnfFromComponentRegistry_start
call fcn.1400052e0
xor edi, edi
mov ecx, edi
lea rsi, str.SoftwareWIDCOMMComponents
nop word [rax + rax]
movzx eax, word [rcx + rsi]
mov word [rsp + rcx + 0x68], ax
add rcx, 2
test ax, ax
jne 0x140002bf0
mov qword [rbp + 0x170], rdi
mov dword [rbp + 0x178], edi
lea rax, vtable.CBTComponentCfgIterator.0
mov qword [rsp + 0x60], rax
mov qword [rbp + 0x180], 0xffffffff80000002
mov ebx, edi
mov r13d, 0x20119
lea r12, vtable.CBTComponentCfg.0
inc ebx
mov dword [rsp + 0x40], 0x104
cmp dword [0x1401fe1c4], 0
jne 0x140002c9b
mov dword [0x1401fe1c4], 1
cmp qword [0x1401fe1e0], 0
jne 0x140002c85
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.IsWow64Process
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401fe1e0], rax
test rax, rax
je 0x140002c9b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [0x1401fe1d8]
call qword [0x1401fe1e0]
mov r9d, 0x20019
cmp dword [0x1401fe1d8], 0
cmovne r9d, r13d
cmp qword [rbp + 0x170], 0
jne 0x140002ced
lea rax, [rbp + 0x170]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140002e48
cmp qword [rbp + 0x170], 0
je 0x140002e4f
mov edx, dword [rbp + 0x178]
inc dword [rbp + 0x178]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x7c0]
mov rcx, qword [rbp + 0x170]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140002e4f
cmp ebx, 0x64
jg 0x140002e4f
lea rcx, [rbp + 0x7c0]
call fcn.140140708
lea rdx, str..INF
lea rcx, [rbp + 0x7c0]
call fcn.140140a90
test rax, rax
jne 0x140002d77
lea rdx, str..PNF
lea rcx, [rbp + 0x7c0]
call fcn.140140a90
test rax, rax
je 0x140002c35
mov rcx, rdi
nop word [rax + rax]
movzx eax, word [rbp + rcx + 0x7c0]
mov word [rbp + rcx + 0x3a0], ax
add rcx, 2
test ax, ax
jne 0x140002d80
mov rcx, rdi
nop dword [rax]
movzx eax, word [rcx + rsi]
mov word [rbp + rcx + 0x198], ax
add rcx, 2
test ax, ax
jne 0x140002da0
mov qword [rbp + 0x190], r12
mov qword [rbp + 0x5a8], 0xffffffff80000002
mov dword [rbp + 0x5b0], edi
mov word [rbp + 0x5b4], di
lea rcx, [rbp + 0x190]
call fcn.140001050
test eax, eax
jne 0x140002c35
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x68]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x140002c35
lea rdx, [rbp + 0x3a0]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x140002e38
mov dword [rbp + 0x178], edi
mov ebx, edi
lea rdx, [rbp + 0x3a0]
lea rcx, str.RemoveInfPnfFromComponentRegistry_remove__s
call fcn.1400052e0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140002c35
mov qword [rbp + 0x170], rdi
lea rcx, str.RemoveInfPnfFromComponentRegistry_end
call fcn.1400052e0
nop
lea rax, vtable.CBTCfgIterator.0
mov qword [rsp + 0x60], rax
mov rcx, qword [rbp + 0x170]
test rcx, rcx
je 0x140002e7a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x9d0]
xor rcx, rsp
call fcn.14013f9a0
lea r11, [rsp + 0xae0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rbp
ret