Function at 0x180058380
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1370]
mov eax, 0x1470
call fcn.18006ce90
sub rsp, rax
lea r15d, [rdx + 0x12]
mov r14, r9
mov r9, r8
mov esi, edx
mov r8, rcx
cmp edx, r15d
jae 0x180058807
movzx edx, word [rbp + 0x13b8]
lea r11, [0x180000000]
movzx ebx, byte [rbp + 0x13b8]
xor r10d, r10d
mov r13d, dword [rbp + 0x13b8]
mov r12d, dword [rbp + 0x13b8]
movzx edi, byte [rbp + 0x13b8]
mov dword [rsp + 0x50], edx
nop dword [rax + rax]
lea eax, [rsi - 0xd8]
cmp eax, 0x5b
ja case.0x180058423.234
movzx eax, byte [r11 + rax + 0x5887c]
mov ecx, dword [r11 + rax*4 + 0x58830]
add rcx, r11
jmp rcx
mov ecx, 0xfffffea9
lea rdx, [rbp + 0x790]
call qword [0x1800ce8f0]
movzx eax, word [rbp + 0xcea]
mov word [0x1800ce8f8], ax
jmp 0x1800587e0
mov eax, 3
lea r8, [rbp + 0x13b8]
mov word [rbp + 0x13b8], ax
lea rdx, [rsp + 0x58]
mov rax, qword [r14]
mov ecx, 0x42
mov qword [rsp + 0x58], rax
call fcn.180018420
mov ebx, eax
jmp 0x1800587e0
movzx eax, word [rbp + 0x6fa]
mov word [0x1800ce8f8], ax
jmp case.0x180058423.234
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je case.0x180058423.234
lea rax, [rsp + 0x60]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov r13d, eax
test eax, eax
jne 0x1800584d5
mov rcx, qword [rsp + 0x60]
lea rdx, [rbp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r13d, eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1800587e0
mov rax, qword [r14]
lea rdx, [rbp + 0xd80]
mov ecx, 0xfffffe84
mov qword [rbp + 0x12d2], rax
call qword [0x1800ce8f0]
xor r10d, r10d
mov word [0x1800ce8f8], r10w
jmp 0x1800587e3
mov edx, r10d
mov qword [rsp + 0x60], r10
mov dword [rsp + 0x50], edx
jmp case.0x180058423.234
movzx eax, word [r14]
mov word [rbp + 0x5e8], ax
movzx eax, word [r8]
mov word [rbp + 0x5ea], ax
jmp case.0x180058423.234
mov eax, 1
lea r8, [rbp + 0x13b8]
mov word [rbp + 0x13b8], ax
lea rdx, [rsp + 0x58]
mov rax, qword [r14]
mov ecx, 0x42
mov qword [rsp + 0x58], rax
mov r13d, r10d
call fcn.180018420
mov word [rsp + 0x50], ax
lea r8, [rbp + 0x13b8]
mov eax, 2
lea rdx, [rsp + 0x58]
mov word [rbp + 0x13b8], ax
lea rcx, [rbp - 0x60]
mov rax, qword [r14]
mov r9d, 0x53
mov qword [rsp + 0x58], rax
call fcn.18002dab0
mov eax, 3
lea r8, [rbp + 0x13b8]
mov word [rbp + 0x13b8], ax
lea rdx, [rsp + 0x58]
mov rax, qword [r14]
lea rcx, [rbp + 0xa0]
mov r9d, 0x53
mov qword [rsp + 0x58], rax
call fcn.18002dab0
jmp 0x1800587e0
mov rax, qword [rsp + 0x70]
mov dword [rbp + 0x13b8], eax
mov rax, qword [r14]
lea r9, [rbp + 0x13b8]
mov qword [rsp + 0x40], r10
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x38], r10
xor r8d, r8d
mov qword [rsp + 0x58], rax
xor edx, edx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r10
mov dword [rsp + 0x20], 0x28
call fcn.180036ed0
jmp 0x1800587e0
movzx eax, byte [r14]
mov r12d, r10d
sub al, 0x10
test al, 0xef
jne case.0x180058423.234
mov rdx, qword [r14 + 6]
test rdx, rdx
je 0x180058654
movsxd rax, dword [r8]
test eax, eax
js 0x180058654
cmp eax, dword [r14 + 2]
jg 0x180058654
mov rcx, rax
mov rax, qword [rdx]
mov r12d, dword [rax + rcx*4]
mov edx, dword [rsp + 0x50]
mov esi, 0xfd
jmp case.0x180058423.234
movsx rax, dx
xor r9d, r9d
mov qword [rsp + 0x58], rax
xor edx, edx
lea rax, [rsp + 0x58]
xor ecx, ecx
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 0x67]
call fcn.180051020
mov qword [rsp + 0x60], rax
jmp 0x1800587e0
mov dword [rbp + 0x13b8], r13d
jmp 0x1800585e0
movzx eax, word [r14]
mov word [rbp + 0xbd8], ax
mov word [rbp + 0xcea], r10w
jmp case.0x180058423.234
mov eax, 4
lea r8, [rbp + 0x13b8]
mov word [rbp + 0x13b8], ax
lea rdx, [rsp + 0x58]
mov rax, qword [r14]
mov ecx, 0x42
mov qword [rsp + 0x58], rax
call fcn.180018420
movzx ecx, al
lea r8, [rsp + 0x68]
shl ecx, 0x10
lea rdx, [rsp + 0x78]
movzx eax, bl
shl eax, 8
or ecx, eax
movzx eax, dil
or ecx, eax
mov dword [rsp + 0x68], ecx
mov ecx, 1
call qword [sym.imp.USER32.dll_SetSysColors]
mov r8, qword [rbp + 0x13b0]
lea r11, [0x180000000]
mov edx, dword [rsp + 0x50]
xor r10d, r10d
mov r9, qword [rbp + 0x13c0]
cdqe
mov qword [rsp + 0x70], rax
test rax, rax
je case.0x180058423.234
mov eax, 1
mov qword [rsp + 0x70], rax
jmp case.0x180058423.234
mov eax, 1
mov qword [rsp + 0x70], r10
mov word [rbp + 0x13b8], ax
lea r8, [rbp + 0x13b8]
mov rax, qword [r14]
lea rdx, [rsp + 0x58]
mov ecx, 0x42
mov qword [rsp + 0x58], rax
call fcn.180018420
movsxd rcx, eax
lea r8, [rbp + 0x13b8]
mov eax, 2
mov qword [rsp + 0x78], rcx
mov word [rbp + 0x13b8], ax
lea rdx, [rsp + 0x58]
mov rax, qword [r14]
mov ecx, 0x42
mov qword [rsp + 0x58], rax
call fcn.180018420
mov edi, eax
jmp 0x1800587e0
movups xmm0, xmmword [r9]
mov eax, dword [r9 + 0x10]
lea rdx, [rbp + 0x1a0]
mov ecx, 0xffffffee
mov qword [rbp + 0x6f2], r10
movaps xmmword [rbp + 0x5a0], xmm0
mov word [rbp + 0x6fa], r10w
mov dword [rbp + 0x5b0], eax
call qword [0x1800ce8f0]
xor r10d, r10d
mov r9, qword [rbp + 0x13c0]
lea r11, [0x180000000]
mov edx, dword [rsp + 0x50]
mov r8, qword [rbp + 0x13b0]
inc esi
cmp esi, r15d
jb 0x180058400
mov eax, dword [rbp + 0x13b8]
mov rbx, qword [rsp + 0x14c8]
add rsp, 0x1470
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, r12d
jmp 0x18005880d