Function at 0x140031e70
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa30
mov rax, qword [0x1401c0030]
xor rax, rsp
mov qword [rsp + 0xa20], rax
cmp qword [rsp + 0xa40], 0
je 0x140031ebd
mov rcx, qword [rsp + 0xa48]
call fcn.14000c1f0
movzx eax, al
test eax, eax
je 0x140031ef7
mov dword [rsp + 0x68], 0
mov rcx, qword [rsp + 0xa48]
call fcn.14000b4e0
nop
mov rcx, qword [rsp + 0xa50]
call fcn.14000b4e0
nop
mov rcx, qword [rsp + 0xa58]
call fcn.14000b4e0
mov eax, dword [rsp + 0x68]
jmp 0x14003238a
mov qword [rsp + 0x60], 0
mov ecx, dword [rsp + 0xa60]
call fcn.140027ba0
mov dword [rsp + 0x48], eax
lea rax, [rsp + 0x610]
mov rdi, rax
xor eax, eax
mov ecx, 0x410
rep stosb byte [rdi], al
mov dword [rsp + 0x58], 0x208
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x5c], 0xffffffff
lea rcx, [rsp + 0xf0]
call fcn.140018cf0
nop
mov rcx, qword [rsp + 0xa48]
call fcn.14000b420
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x48]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0xa40]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140032347
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x610]
mov edx, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400321e5
mov qword [rsp + 0x78], 0
lea rax, [rsp + 0x400]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rax, [rsp + 0x1f0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov dword [rsp + 0x4c], 0x104
mov dword [rsp + 0x50], 0x104
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x6c], 1
mov dword [rsp + 0x54], 0
lea rdx, [rsp + 0x610]
lea rcx, [rsp + 0x1a8]
call fcn.140019710
nop
lea rax, [rsp + 0x108]
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0xa50]
mov rcx, qword [rsp + 0x90]
call fcn.14000b5f0
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x1a8]
call fcn.140039510
lea rcx, [rsp + 0x1a8]
call fcn.14000b420
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x48]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14003217b
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x4c]
lea r8, [rsp + 0x400]
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x140032170
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x188]
call fcn.140019710
xor r8d, r8d
mov rdx, qword [rsp + 0xa58]
lea rcx, [rsp + 0x188]
call fcn.140019560
cmp rax, 0xffffffffffffffff
je 0x140032144
mov dword [rsp + 0x54], 1
lea rcx, [rsp + 0x188]
call fcn.14000b4e0
jmp 0x140032170
mov dword [rsp + 0x4c], 0x104
mov dword [rsp + 0x50], 0x104
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x188]
call fcn.14000b4e0
jmp 0x1400320b0
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x54], 0
je 0x1400321c1
lea rax, [rsp + 0x128]
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0x610]
mov rcx, qword [rsp + 0xa0]
call fcn.140019710
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x60]
call fcn.1400289a0
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x58], 0x208
lea rcx, [rsp + 0x1a8]
call fcn.14000b4e0
jmp 0x140031f82
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x88]
call fcn.1400189c0
mov rax, qword [rax]
mov qword [rsp + 0xb0], rax
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0x88]
call fcn.140018a60
mov rax, qword [rax]
mov qword [rsp + 0x80], rax
jmp 0x140032244
lea rcx, [rsp + 0x80]
call fcn.140018900
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x80]
call fcn.1400188c0
movzx eax, al
test eax, eax
je 0x14003233c
lea rcx, [rsp + 0x80]
call fcn.14000d020
mov rdx, rax
lea rcx, [rsp + 0x1c8]
call fcn.14000b5f0
nop
lea rax, [rsp + 0x148]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0x168]
mov qword [rsp + 0xc8], rax
lea rdx, [rsp + 0x1c8]
mov rcx, qword [rsp + 0xb8]
call fcn.14000b5f0
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xd0], rax
lea rdx, str.Remove_registry_key
mov rcx, qword [rsp + 0xc8]
call fcn.140019710
mov qword [rsp + 0xd8], rax
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd8]
call fcn.14003a2e0
lea rcx, [rsp + 0x1c8]
call fcn.14000b420
xor r9d, r9d
mov r8d, dword [rsp + 0x48]
mov rdx, rax
mov rcx, qword [rsp + 0xa40]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov dword [rsp + 0x5c], eax
lea rcx, [rsp + 0x1c8]
call fcn.14000b4e0
jmp 0x140032237
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x70], eax
lea rcx, [rsp + 0xf0]
call fcn.140018ae0
nop
mov rcx, qword [rsp + 0xa48]
call fcn.14000b4e0
nop
mov rcx, qword [rsp + 0xa50]
call fcn.14000b4e0
nop
mov rcx, qword [rsp + 0xa58]
call fcn.14000b4e0
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0xa20]
xor rcx, rsp
call fcn.14005e8d0
add rsp, 0xa30
pop rdi
ret