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

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp + 0x37], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rdi, r8
mov r14, rdx
mov rbx, rcx
xor r15d, r15d
lea rcx, [rbp - 9]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
mov r8, rbx
lea rdx, str.SYSTEMCurrentControlSetServicesEventLog_s
lea rcx, [rbp - 9]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea rcx, [rbp - 9]
call qword [sym.imp.mfc110u.dll_Ordinal_1632]
mov rdx, rax
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006a277
lea rax, [rbp + 7]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 1]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14006a26c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
lea r9d, [r15 + 1]
xor r8d, r8d
lea rdx, str.EventMessageFile
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14006a0e1
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x20], rax
lea r9d, [r15 + 4]
xor r8d, r8d
lea rdx, str.TypesSupported
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14006a0e1
lea r15d, [rax + 1]
jmp 0x14006a0e4
xor r15d, r15d
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 0xf]
call sub.mfc110u.dll_Ordinal_956
nop
mov rsi, qword [rbp - 0x11]
xor ebx, ebx
or r8, 0xffffffffffffffff
xor edx, edx
lea rcx, [rbp + 0xf]
call sub.mfc110u.dll_Ordinal_13418
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x15]
xor r8d, r8d
lea rdx, str.Sources
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14006a263
cmp dword [rbp - 0x15], 7
jne 0x14006a257
mov ecx, dword [rbp - 0x19]
add ecx, 2
call sub.mfc110u.dll_Ordinal_265
mov rdi, rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x15]
xor r8d, r8d
lea rdx, str.Sources
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14006a1d2
mov ecx, dword [rbp - 0x19]
mov byte [rcx + rdi], bl
mov eax, dword [rbp - 0x19]
inc eax
mov byte [rax + rdi], bl
mov rbx, rdi
cmp word [rdi], 0
je 0x14006a1cd
nop word [rax + rax]
mov r8, rbx
mov rdx, qword [rbp + 0x1f]
lea rcx, [rbp + 0xf]
call sub.mfc110u.dll_Ordinal_12753
or rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [rbx + rax*2], 0
jne 0x14006a1b4
lea rbx, [rbx + rax*2]
add rbx, 2
cmp word [rbx], 0
jne 0x14006a1a0
mov ebx, 1
mov rcx, rdi
call sub.mfc110u.dll_Ordinal_266
test ebx, ebx
je 0x14006a263
xor ecx, ecx
xor ebx, ebx
mov rdx, qword [rbp + 0x1f]
test rdx, rdx
jle 0x14006a232
nop
test ecx, ecx
jne 0x14006a263
movsxd rcx, ebx
test ebx, ebx
js 0x14006a22c
cmp rcx, rdx
jge 0x14006a22c
mov rax, qword [rbp + 0x17]
lea rcx, [rax + rcx*8]
mov rdx, r14
call qword [sym.imp.mfc110u.dll_Ordinal_2848]
xor ecx, ecx
test eax, eax
sete cl
inc ebx
movsxd rax, ebx
mov rdx, qword [rbp + 0x1f]
cmp rax, rdx
jl 0x14006a1f0
test ecx, ecx
jne 0x14006a263
jmp 0x14006a232
call sub.mfc110u.dll_Ordinal_2290
int3
mov r8, r14
lea rcx, [rbp + 0xf]
call sub.mfc110u.dll_Ordinal_12753
xor r9d, r9d
lea r8, [rbp + 0xf]
lea rdx, str.Sources
mov rcx, qword [rbp - 0x11]
call fcn.14006a600
jmp 0x14006a263
mov ecx, reloc.WS2_32.dll_listen
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
lea rcx, [rbp + 0xf]
call sub.mfc110u.dll_Ordinal_1419
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp - 9]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
mov eax, r15d
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret