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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r15
sub rsp, 0x4a0
mov rax, qword [0x10004a110]
xor rax, rsp
mov qword [rsp + 0x490], rax
xor esi, esi
mov r15d, 0x104
xor edi, edi
and qword [rsp + 0x60], rsi
mov rbx, rcx
mov dword [rsp + 0x58], 0x208
mov dword [rsp + 0x54], r15d
mov dword [rsp + 0x50], 1
test rcx, rcx
jne 0x10002e7c3
mov eax, 0x80070057
jmp 0x10002eacd
and qword [rsp + 0x40], rsi
lea rax, [rsp + 0x60]
lea rdx, [0x10001c3d0]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], rsi
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 3
and dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x10002e80b
mov eax, 0x80004005
jmp 0x10002eacd
xor ebp, ebp
lea rax, [rsp + 0x58]
xor r12d, r12d
mov dword [rsp + 0x54], r15d
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x280]
mov dword [rsp + 0x58], 0x208
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], r12
xor edx, edx
jmp 0x10002e9f6
inc r12d
cmp dword [rsp + 0x50], 1
jne 0x10002e9b6
xor edi, edi
mov ecx, ebp
test ebp, ebp
je 0x10002e91d
sub ecx, 1
je 0x10002e89d
cmp ecx, 1
lea r8d, [rdi + 5]
lea rdx, [0x10001c478]
lea rcx, [rsp + 0x70]
je 0x10002e967
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
je 0x10002e9bb
lea r8d, [rdi + 2]
lea rdx, [0x10001c470]
jmp 0x10002e908
lea rdx, [0x10001c470]
lea rcx, [rsp + 0x70]
mov r8d, 2
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
jne 0x10002e9bb
lea r8d, [rax + 6]
lea rdx, [0x10001c430]
lea rcx, [rsp + 0x70]
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
je 0x10002e9bb
lea rdx, [0x10001c440]
lea rcx, [rsp + 0x70]
mov r8d, 5
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
je 0x10002e9bb
mov r8d, 0xe
lea rdx, [0x10001c450]
lea rcx, [rsp + 0x70]
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
je 0x10002e9bb
jmp 0x10002e971
lea rdx, [0x10001c430]
lea rcx, [rsp + 0x70]
mov r8d, 6
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
je 0x10002e971
lea rdx, [0x10001c440]
lea rcx, [rsp + 0x70]
mov r8d, 5
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
je 0x10002e971
mov r8d, 0xe
lea rdx, [0x10001c450]
lea rcx, [rsp + 0x70]
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
jne 0x10002e9bb
mov r9d, dword [rsp + 0x50]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x280]
lea rdx, [rsp + 0x70]
xor r8d, r8d
repne scasw ax, word [rdi]
not rcx
lea eax, [rcx + rcx]
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x280]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movsxd rdi, eax
jmp 0x10002e9bb
mov esi, 0x80004005
mov dword [rsp + 0x54], r15d
mov dword [rsp + 0x58], 0x208
test rdi, rdi
jne 0x10002ea13
lea rax, [rsp + 0x58]
mov edx, r12d
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x280]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], rdi
lea r9, [rsp + 0x54]
lea r8, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x10002e84a
jmp 0x10002ea18
mov esi, 0x80004005
inc ebp
cmp ebp, 4
jl 0x10002e80d
test esi, esi
js 0x10002eaac
lea rax, [rsp + 0x58]
mov dword [rsp + 0x54], r15d
mov dword [rsp + 0x58], 0x208
mov qword [rsp + 0x38], rax
jmp 0x10002ea69
lea rdx, [rsp + 0x70]
mov rcx, rbx
mov dword [rsp + 0x54], r15d
mov dword [rsp + 0x58], 0x208
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x38], rdx
lea rax, [rsp + 0x280]
lea r9, [rsp + 0x54]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
xor edx, edx
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x10002ea44
mov rcx, qword [rsp + 0x60]
mov rdx, rbx
call fcn.100041f20
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [0x10001c3d0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, esi
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.1000475f0
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r12
pop rdi
ret