Function at 0x18002e6e0
Capabilities:
Query or enumerate registry key

Disassembly:
mov byte [rsp + 0x20], r9b
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x2e0
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x310], rbx
mov rax, qword [0x1801485f0]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov rsi, r8
mov r15, rdx
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x68], r8
lea r13, [0x18014e380]
mov qword [rsp + 0x60], r13
xor ebx, ebx
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x58], rbx
cmp qword [r8 + 0x18], 8
jb 0x18002e750
mov r8, qword [r8]
mov r9d, 0x20219
lea rcx, [rsp + 0x48]
call fcn.180030a40
test eax, eax
jne 0x18002e991
mov word [rsp + 0xb0], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xb2]
call fcn.1800b6c70
mov dword [rsp + 0x40], 0x104
mov edi, ebx
mov r14, qword [rsp + 0x48]
nop word [rax + rax]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
lea r8, [rsp + 0xb0]
mov edx, edi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x18002e975
inc edi
mov dword [rsp + 0x44], edi
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa0], 7
mov qword [rsp + 0x98], rbx
mov word [rsp + 0x88], bx
cmp word [rsp + 0xb0], ax
jne 0x18002e822
mov r8, rbx
jmp 0x18002e83b
lea rax, [rsp + 0xb0]
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x18002e830
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x88]
call fcn.1800166f0
nop
cmp qword [rsp + 0x98], 0
jne 0x18002e895
cmp qword [rsp + 0xa0], 8
jb 0x18002e874
mov rcx, qword [rsp + 0x88]
call fcn.1800b5700
mov qword [rsp + 0xa0], 7
mov qword [rsp + 0x98], rbx
mov word [rsp + 0x88], bx
jmp 0x18002e7a0
mov r9d, 4
xor r8d, r8d
lea rdx, str..KB
lea rcx, [rsp + 0x88]
call fcn.180016dd0
cmp rax, 0xffffffffffffffff
jne 0x18002e8ee
lea r9d, [rax + 9]
xor r8d, r8d
lea rdx, str._Office
lea rcx, [rsp + 0x88]
call fcn.180016dd0
cmp rax, 0xffffffffffffffff
jne 0x18002e8ee
lea rdx, [rsp + 0x88]
mov rcx, r13
call fcn.180014a10
jmp 0x18002e85c
cmp qword [rsp + 0xa0], 8
jb 0x18002e906
mov rcx, qword [rsp + 0x88]
call fcn.1800b5700
mov qword [rsp + 0xa0], 7
mov qword [rsp + 0x98], rbx
mov word [rsp + 0x88], bx
jmp 0x18002e7a0
test r14, r14
je 0x18002e98b
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14, rbx
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], ebx
jmp 0x18002e996
mov r14, qword [rsp + 0x48]
cmp byte [rsp + 0x328], 0
je 0x18002ebca
cmp qword [rsi + 0x18], 8
jb 0x18002e9ae
mov rsi, qword [rsi]
mov r9d, 0x20119
mov r8, rsi
mov rdx, r15
lea rcx, [rsp + 0x48]
call fcn.180030a40
mov r14, qword [rsp + 0x48]
test eax, eax
jne 0x18002ebca
mov dword [rsp + 0x40], 0x104
mov edi, ebx
nop dword [rax + rax]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
lea r8, [rsp + 0xb0]
mov edx, edi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x18002ebb0
inc edi
mov dword [rsp + 0x44], edi
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa0], 7
mov qword [rsp + 0x98], rbx
mov word [rsp + 0x88], bx
cmp word [rsp + 0xb0], ax
jne 0x18002ea62
mov r8, rbx
jmp 0x18002ea7b
lea rax, [rsp + 0xb0]
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x18002ea70
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x88]
call fcn.1800166f0
nop
cmp qword [rsp + 0x98], 0
jne 0x18002ead5
cmp qword [rsp + 0xa0], 8
jb 0x18002eab4
mov rcx, qword [rsp + 0x88]
call fcn.1800b5700
mov qword [rsp + 0xa0], 7
mov qword [rsp + 0x98], rbx
mov word [rsp + 0x88], bx
jmp 0x18002e9e0
mov r9d, 4
xor r8d, r8d
lea rdx, str..KB
lea rcx, [rsp + 0x88]
call fcn.180016dd0
cmp rax, 0xffffffffffffffff
jne 0x18002eb2e
lea r9d, [rax + 9]
xor r8d, r8d
lea rdx, str._Office
lea rcx, [rsp + 0x88]
call fcn.180016dd0
cmp rax, 0xffffffffffffffff
jne 0x18002eb2e
lea rdx, [rsp + 0x88]
mov rcx, r13
call fcn.180014a10
jmp 0x18002ea9c
cmp qword [rsp + 0xa0], 8
jb 0x18002eb46
mov rcx, qword [rsp + 0x88]
call fcn.1800b5700
mov qword [rsp + 0xa0], 7
mov qword [rsp + 0x98], rbx
mov word [rsp + 0x88], bx
jmp 0x18002e9e0
test r14, r14
je 0x18002ebc6
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14, rbx
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], ebx
mov rdi, qword [r13 + 8]
sub rdi, qword [r13]
sar rdi, 5
test r14, r14
je 0x18002ebe9
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rbx
mov eax, edi
mov dword [rsp + 0x50], ebx
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.1800b6c40
mov rbx, qword [rsp + 0x310]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret