Function at 0x140127710
Capabilities:
Encode data using xor
Hash data using fnv
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x140713740]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rdi, r8
mov rbx, rdx
xor r14d, r14d
cmp qword [r8 + 0x10], r14
je 0x1401278b5
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x80], r14
mov dword [rbp - 0x70], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x30]
call fcn.14041cf40
cmp qword [rdi + 0x18], 7
jbe 0x14012777d
mov rdi, qword [rdi]
mov r9, rdi
lea r8, str.___s
mov edx, 0x104
lea rcx, [rbp - 0x30]
call fcn.1401123a0
lea r8, [rbp - 0x78]
lea rdx, str.systemCurrentControlSetServices
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1401277e7
mov rcx, qword [rbp - 0x80]
test rcx, rcx
jle 0x1401277c0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x78]
test rcx, rcx
jle 0x1401278a1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x140127c2a
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1401277f4
mov rdx, qword [rbx]
lea r8, [rbp - 0x80]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1401277b1
lea rcx, [rbp - 0x30]
mov rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [rcx + rax*2], r14w
jne 0x140127811
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x80]
test eax, eax
jne 0x1401277b5
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Type
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
mov rcx, qword [rbp - 0x80]
test rcx, rcx
jle 0x14012788e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x78]
test rcx, rcx
jle 0x14012789d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x1401278b5
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x140127c2a
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 0x34
jb 0x140127c5a
cmp qword [rbx + 0x18], 7
jbe 0x1401278da
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], reloc.WS2_32.dll_gethostbyname
lea r9, str._registrymachineSYSTEMCurrentControlSetServices_
lea rcx, [rbp - 0x68]
call fcn.140111600
nop
call fcn.1400fd420
mov r12, rax
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x68]
cmp qword [rbp - 0x50], 7
cmova rax, qword [rbp - 0x68]
mov qword [rbp - 0x80], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, str.RtlInitUnicodeString
lea rcx, [rsp + 0x40]
call fcn.1400fe440
nop
call fcn.14010e720
lea rcx, [r12 + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r8, [rsp + 0x40]
mov r15, qword [rsp + 0x40]
mov r13, qword [rsp + 0x58]
cmp r13, 0xf
cmova r8, r15
movabs rdi, 0xcbf29ce484222325
mov rdx, rdi
mov rcx, r14
movabs r9, 0x100000001b3
mov rsi, qword [rsp + 0x50]
test rsi, rsi
je 0x1401279a5
movzx eax, byte [r8 + rcx]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, rsi
jb 0x140127991
mov rcx, qword [r12 + 0x30]
and rcx, rdx
add rcx, rcx
mov rax, qword [r12 + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r12 + 8]
je 0x140127a15
mov r12, qword [rax + rcx*8]
nop word [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1401279e2
mov rdx, qword [rdx]
lea rcx, [rsp + 0x40]
cmp r13, 0xf
cmova rcx, r15
cmp rsi, rax
jne 0x140127a00
mov r8, rsi
call fcn.14041c7a0
test eax, eax
je 0x140127a0b
cmp rbx, r12
je 0x140127a11
mov rbx, qword [rbx + 8]
jmp 0x1401279d0
mov r12, qword [rbp - 0x78]
jmp 0x140127a18
mov r12, qword [rbp - 0x78]
mov rbx, r14
test rbx, rbx
je 0x140127a44
cmp rbx, qword [r12 + 8]
je 0x140127a44
mov rbx, qword [rbx + 0x30]
lea rcx, [r12 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140127a50
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x48]
call rbx
jmp 0x140127a50
lea rcx, [r12 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
cmp r13, 0xf
jbe 0x140127a87
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140127a7f
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140127c60
mov rcx, r15
call fcn.1403e5198
call fcn.1400fd420
mov r12, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, str.NtLoadDriver
lea rcx, [rsp + 0x60]
call fcn.1400fe440
nop
call fcn.14010e720
lea rcx, [r12 + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x60]
mov r15, qword [rsp + 0x60]
mov r13, qword [rsp + 0x78]
cmp r13, 0xf
cmova rdx, r15
mov rcx, r14
mov rsi, qword [rsp + 0x70]
test rsi, rsi
je 0x140127b13
movabs r8, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor rdi, rax
imul rdi, r8
inc rcx
cmp rcx, rsi
jb 0x140127b00
mov rcx, qword [r12 + 0x30]
and rcx, rdi
add rcx, rcx
mov rax, qword [r12 + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r12 + 8]
je 0x140127b7e
mov rdi, qword [rax + rcx*8]
nop dword [rax]
nop word [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140127b52
mov rdx, qword [rdx]
lea rcx, [rsp + 0x60]
cmp r13, 0xf
cmova rcx, r15
cmp rsi, rax
jne 0x140127b70
mov r8, rsi
call fcn.14041c7a0
test eax, eax
je 0x140127b7b
cmp rbx, rdi
je 0x140127b7e
mov rbx, qword [rbx + 8]
jmp 0x140127b40
mov r14, rbx
test r14, r14
je 0x140127ba8
cmp r14, qword [r12 + 8]
je 0x140127ba8
mov rbx, qword [r14 + 0x30]
lea rcx, [r12 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140127bb3
lea rcx, [rbp - 0x48]
call rbx
mov ebx, eax
jmp 0x140127bb8
lea rcx, [r12 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
cmp r13, 0xf
jbe 0x140127bec
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140127be3
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140127c60
mov rcx, r15
call fcn.1403e5198
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 7
jbe 0x140127c28
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140127c23
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140127c54
call fcn.1403e5198
mov eax, ebx
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1403e5550
mov rbx, qword [rsp + 0x330]
add rsp, 0x2f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1403eb834
int3
call fcn.1400fd2a0
nop
call fcn.1403eb834
nop
int3