Function at 0x14000bda0
Capabilities:
Persist via windows service
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rsi
push r12
push r13
push r14
sub rsp, 0x6f0
mov rax, qword [0x1401dd3a0]
xor rax, rsp
mov qword [rsp + 0x6e0], rax
mov r13, rdx
mov r12, rcx
xor r14d, r14d
lea rdx, str.SystemCurrentControlSetServicesWinSock2ParametersProtocol_Catalog9Catalog_Entries
lea r8, [rsp + 0x48]
mov rcx, 0xffffffff80000002
mov esi, r14d
mov dword [rsp + 0x50], 0x378
mov ebp, r14d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x14000bdfd
xor eax, eax
jmp 0x14000c042
xor edx, edx
lea rcx, [rsp + 0x2e1]
mov byte [rsp + 0x2e0], sil
lea r8d, [rdx + 0x7f]
call fcn.1400e5f10
mov qword [rsp + 0x730], rbx
mov qword [rsp + 0x738], rdi
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
lea r8, [rsp + 0x2e0]
mov r9d, 0x80
mov edx, esi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x14000c025
mov rcx, qword [rsp + 0x48]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x2e0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x14000c025
lea rcx, [rsp + 0x361]
xor edx, edx
mov r8d, 0x377
mov byte [rsp + 0x360], r14b
call fcn.1400e5f10
mov rcx, qword [rsp + 0x40]
lea r11, [rsp + 0x50]
lea rax, [rsp + 0x360]
lea rdx, str.PackedCatalogItem
mov qword [rsp + 0x28], r11
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000c01a
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x464]
mov r8d, 0x274
call fcn.1400e1e90
mov rcx, qword [r13 + 0x14]
lea rax, [rsp + 0x74]
cmp rcx, qword [rax]
jne 0x14000befc
mov rcx, qword [r13 + 0x1c]
cmp rcx, qword [rax + 8]
jne 0x14000befc
mov eax, r14d
jmp 0x14000bf01
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x14000bffb
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
or r9d, 0xffffffff
mov r8, r12
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
test eax, eax
je 0x14000c01a
mov rcx, rdi
call fcn.1400de0cc
mov rbx, rax
test rax, rax
je 0x14000c01a
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
or r9d, 0xffffffff
mov r8, r12
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x14000c012
lea rcx, [rsp + 0x360]
mov rdx, rbx
mov r8d, 0x104
call fcn.1400e1e90
mov rcx, rbx
call fcn.1400ddfa0
lea rcx, [rsp + 0x464]
mov rdx, r13
mov r8d, 0x274
call fcn.1400e1e90
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x360]
lea rdx, str.PackedCatalogItem
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], 0x378
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14000bfe6
lea ebp, [rax + 1]
jmp 0x14000bffb
call fcn.1400de36c
lea rdx, str.updateProvider2k_failed_to_call_RegSetValueEx___n
lea rcx, [rax + 0x60]
call fcn.1400df124
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc esi
test ebp, ebp
je 0x14000be30
jmp 0x14000c025
mov rcx, rbx
call fcn.1400ddfa0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x738]
mov rbx, qword [rsp + 0x730]
mov eax, ebp
mov rcx, qword [rsp + 0x6e0]
xor rcx, rsp
call fcn.1400dd780
add rsp, 0x6f0
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret