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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x3c8]
sub rsp, 0x4a0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov r15d, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14019d17a
call fcn.14019b210
mov r15d, eax
cmp eax, 0xffffffff
jne 0x14019d17a
xor al, al
jmp 0x14019d3cc
xor r12d, r12d
mov qword [rsp + 0x30], r12
lea rdx, [rbx + 0xb0]
cmp qword [rdx + 0x18], 0x10
jb 0x14019d193
mov rdx, qword [rdx]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, qword [rbx + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rdi, qword [rsp + 0x30]
test eax, eax
je 0x14019d1d6
test rdi, rdi
je 0x14019d3ca
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, r12
mov qword [rsp + 0x30], r12
test rdi, rdi
je 0x14019d3ca
mov esi, 1
mov ebx, esi
cmp r15d, ebx
jl 0x14019d3c1
nop
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp - 0x70]
call fcn.140141ad0
mov dword [rsp + 0x38], 0x3ff
mov edx, ebx
lea rcx, [rsp + 0x48]
call fcn.1401a3d80
nop
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rdx, qword [rsp + 0x48]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14019d332
cmp esi, ebx
je 0x14019d330
mov edx, esi
lea rcx, [rsp + 0x68]
call fcn.1401a3d80
mov rdx, rax
cmp qword [rax + 0x18], 0x10
jb 0x14019d272
mov rdx, qword [rax]
lea rcx, [rbp - 0x70]
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x14019d280
inc eax
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
sete r14b
mov rax, qword [rbp - 0x80]
cmp rax, 0x10
jb 0x14019d2ff
inc rax
mov rcx, qword [rsp + 0x68]
cmp rax, 0x1000
jb 0x14019d2fa
test cl, 0x1f
jne 0x14019d3a3
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14019d39d
sub rcx, rax
cmp rcx, 8
jb 0x14019d397
cmp rcx, 0x27
ja 0x14019d391
mov rcx, rax
call fcn.1400dbae0
mov qword [rbp - 0x80], reloc.WSOCK32.dll_ntohs
mov qword [rsp + 0x78], r12
mov byte [rsp + 0x68], 0
test r14b, r14b
je 0x14019d330
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rdx, qword [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
inc esi
mov rax, qword [rsp + 0x60]
cmp rax, 0x10
jb 0x14019d372
mov rcx, qword [rsp + 0x48]
inc rax
cmp rax, 0x1000
jb 0x14019d36d
test cl, 0x1f
jne 0x14019d3bb
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14019d3b5
sub rcx, rax
cmp rcx, 8
jb 0x14019d3af
cmp rcx, 0x27
ja 0x14019d3a9
mov rcx, rax
call fcn.1400dbae0
mov qword [rsp + 0x60], reloc.WSOCK32.dll_ntohs
mov qword [rsp + 0x58], r12
mov byte [rsp + 0x48], 0
inc ebx
cmp ebx, r15d
jg 0x14019d3c1
jmp 0x14019d1f0
call fcn.14014b4d8
int3
call fcn.14014b4d8
int3
call fcn.14014b4d8
int3
call fcn.14014b4d8
nop
call fcn.14014b4d8
int3
call fcn.14014b4d8
int3
call fcn.14014b4d8
int3
call fcn.14014b4d8
int3
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.140113910
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret