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

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x260
mov rax, qword [0x1801dc960]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbp, rcx
mov rbx, r8
mov edi, edx
lea rcx, [rsp + 0x41]
xor edx, edx
mov r8d, 0x207
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 0x208
mov byte [rsp + 0x40], 0
call fcn.1800f4fb0
lea rdx, [rsp + 0x34]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rdx
lea r9, [rsp + 0x30]
lea rdx, str.ProxyOverride
xor r8d, r8d
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp byte [rsp + 0x40], 0
je 0x18006a6a9
lea rcx, [rsp + 0x40]
call fcn.1801241b4
test edi, edi
je 0x18006a74d
lea rdx, str._local_
lea rcx, [rsp + 0x40]
call fcn.1800f4d08
test rax, rax
jne 0x18006a7fc
cmp byte [rsp + 0x40], al
jne 0x18006a6e9
lea rdi, [rsp + 0x40]
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rax, qword [str._local_]
mov qword [rdi - 1], rax
jmp 0x18006a70b
xor eax, eax
lea rdi, [rsp + 0x40]
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rax, qword [str.__local_]
mov qword [rdi - 1], rax
movzx eax, byte [0x18015d710]
mov byte [rdi + 7], al
mov r9d, dword [rsp + 0x30]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x40]
lea rdx, str.ProxyOverride
xor r8d, r8d
repne scasb al, byte [rdi]
lea rax, [rsp + 0x40]
not rcx
dec rcx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x34], ecx
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x18006a7fc
lea rdx, str._local_
lea rcx, [rsp + 0x40]
call fcn.1800f4d08
mov r11, rax
test rax, rax
je 0x18006a7fc
mov qword [rsp + 0x288], rsi
lea rdi, str._local_
lea rsi, [rsp + 0x40]
mov ecx, 8
repe cmpsb byte [rsi], byte [rdi]
mov rsi, qword [rsp + 0x288]
jne 0x18006a7a1
lea rdx, str.ProxyOverride
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x18006a7fc
or rcx, 0xffffffffffffffff
lea rdx, [rax + 7]
xor eax, eax
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call fcn.1800f6e10
mov r9d, dword [rsp + 0x30]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x40]
lea rdx, str.ProxyOverride
repne scasb al, byte [rdi]
lea rax, [rsp + 0x40]
xor r8d, r8d
not rcx
dec rcx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x34], ecx
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test rbx, rbx
je 0x18006a8dc
cmp byte [rbx], 0
je 0x18006a8dc
lea rcx, [rsp + 0x40]
mov rdx, rbx
call fcn.1800f4d08
test rax, rax
jne 0x18006a8dc
cmp byte [rsp + 0x40], al
jne 0x18006a842
lea rcx, [rsp + 0x40]
sub rcx, rbx
movzx eax, byte [rbx]
inc rbx
mov byte [rcx + rbx - 1], al
test al, al
jne 0x18006a832
jmp 0x18006a89f
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x40]
repne scasb al, byte [rdi]
lea rax, [rsp + 0x40]
not rcx
cmp byte [rcx + rax - 2], 0x3b
je 0x18006a876
xor eax, eax
lea rdi, [rsp + 0x40]
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
movzx eax, word [0x18015284c]
mov word [rdi - 1], ax
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x40]
repne scasb al, byte [rdi]
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
inc rcx
mov byte [rdi + rcx - 2], al
test al, al
jne 0x18006a890
mov r9d, dword [rsp + 0x30]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x40]
lea rdx, str.ProxyOverride
xor r8d, r8d
repne scasb al, byte [rdi]
lea rax, [rsp + 0x40]
not rcx
dec rcx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x34], ecx
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1800f4f80
add rsp, 0x260
pop rdi
pop rbp
pop rbx
ret