Function at 0x140001180
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp - 0x10], rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
movzx eax, word [0x140003410]
movups xmm0, xmmword [str.DESKTOP_]
mov word [rbp - 0x20], ax
xor eax, eax
mov word [rbp - 0x3e], ax
movups xmmword [rbp - 0x30], xmm0
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ecx, eax
lea rbx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
mov eax, 0xdd67c8a7
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x25
sub ecx, eax
movsxd rax, ecx
lea rcx, [rbp - 0x30]
sub rcx, 2
movzx eax, word [rbx + rax*2]
mov word [rbp - 0x40], ax
nop word [rax + rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x140001200
lea r8, [rbp - 0x40]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x140001220
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ecx, eax
mov eax, 0xdd67c8a7
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x25
sub ecx, eax
movsxd rax, ecx
lea rcx, [rbp - 0x30]
sub rcx, 2
movzx eax, word [rbx + rax*2]
mov word [rbp - 0x40], ax
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x140001265
lea r8, [rbp - 0x40]
xor edx, edx
nop word [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x140001280
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ecx, eax
mov eax, 0xdd67c8a7
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x25
sub ecx, eax
movsxd rax, ecx
lea rcx, [rbp - 0x30]
sub rcx, 2
movzx eax, word [rbx + rax*2]
mov word [rbp - 0x40], ax
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x1400012c5
lea r8, [rbp - 0x40]
xor edx, edx
nop word [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x1400012e0
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ecx, eax
mov eax, 0xdd67c8a7
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x25
sub ecx, eax
movsxd rax, ecx
lea rcx, [rbp - 0x30]
sub rcx, 2
movzx eax, word [rbx + rax*2]
mov word [rbp - 0x40], ax
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x140001325
lea r8, [rbp - 0x40]
xor edx, edx
nop word [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x140001340
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ecx, eax
mov eax, 0xdd67c8a7
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x25
sub ecx, eax
movsxd rax, ecx
lea rcx, [rbp - 0x30]
sub rcx, 2
movzx eax, word [rbx + rax*2]
mov word [rbp - 0x40], ax
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x140001385
lea r8, [rbp - 0x40]
xor edx, edx
nop word [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x1400013a0
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ecx, eax
mov eax, 0xdd67c8a7
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x25
lea rdx, [rbp - 0x30]
sub ecx, eax
movsxd rax, ecx
sub rdx, 2
movzx eax, word [rbx + rax*2]
mov word [rbp - 0x40], ax
cmp word [rdx + 2], 0
lea rdx, [rdx + 2]
jne 0x1400013e5
lea r9, [rbp - 0x40]
xor r8d, r8d
nop word [rax + rax]
movzx ecx, word [r9 + r8*2]
mov word [rdx + r8*2], cx
lea r8, [r8 + 1]
test cx, cx
jne 0x140001400
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0xdd67c8a7
imul r8d
add edx, r8d
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x25
sub r8d, ecx
lea rcx, [rbp - 0x30]
movsxd rax, r8d
sub rcx, 2
movzx eax, word [rbx + rax*2]
mov word [rbp - 0x40], ax
nop word [rax + rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x140001450
lea r8, [rbp - 0x40]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x140001470
lea rax, [rbp - 0x38]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMCurrentControlSetServicesTcpipParameters
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140001508
lea rcx, [rbp - 0x30]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
cmp word [rcx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x1400014c0
mov rcx, qword [rbp - 0x38]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rdx, str.HostName
lea rax, [rbp - 0x30]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140001508
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400021b0
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rbp
ret