Function at 0x18000b0e0
Capabilities:
Copy file
Create service
Delete file
Delete service
Enumerate network shares
Start service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x18004d020]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r13, rdx
mov qword [rbp + 7], rcx
xor r12d, r12d
mov qword [rbp - 0x11], r12
mov edi, r12d
mov qword [rbp - 0x31], r12
mov dword [rbp - 0x39], r12d
mov dword [rbp - 0x29], r12d
mov qword [rsp + 0x30], r12
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x39]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
lea r8, [rbp - 0x31]
lea edx, [r12 + 2]
mov rcx, r13
call qword [sym.imp.NETAPI32.dll_NetShareEnum]
test eax, eax
jne 0x18000b1f4
cmp qword [rbp - 0x31], r12
je 0x18000b79b
lea ecx, [rax + 0x18]
call fcn.18000ddb4
mov rdi, rax
mov qword [rax], r12
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
mov r14d, r12d
cmp dword [rbp - 0x39], r12d
jbe 0x18000b1f4
nop
mov eax, r14d
imul rcx, rax, 0x38
add rcx, qword [rbp - 0x31]
mov esi, dword [rcx + 8]
mov rbx, qword [rcx + 0x28]
mov rcx, qword [rcx]
call fcn.180001740
mov qword [rbp + 0xf], rax
mov rcx, rbx
call fcn.180001740
mov qword [rbp + 0x17], rax
mov dword [rbp + 0x1f], esi
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x18000b1df
movups xmm0, xmmword [rbp + 0xf]
movups xmmword [rdx], xmm0
movsd xmm1, qword [rbp + 0x1f]
movsd qword [rdx + 0x10], xmm1
add qword [rdi + 8], 0x18
jmp 0x18000b1eb
lea r8, [rbp + 0xf]
mov rcx, rdi
call fcn.18000b990
inc r14d
cmp r14d, dword [rbp - 0x39]
jb 0x18000b190
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x18000b203
call qword [sym.imp.NETAPI32.dll_NetApiBufferFree]
test rdi, rdi
je 0x18000b79b
mov rcx, qword [rdi + 8]
sub rcx, qword [rdi]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x18000b34e
mov r8, rdx
mov rdx, r13
lea rcx, str._ls___u___
call fcn.180001740
mov rbx, rax
mov r15d, r12d
mov r8, qword [rdi + 8]
mov r9, qword [rdi]
mov rcx, r8
sub rcx, r9
movabs r10, 0x2aaaaaaaaaaaaaab
mov rax, r10
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x18000b31f
mov r14, r12
mov rsi, r12
nop dword [rax]
nop word [rax + rax]
sub r8, r9
mov rax, r10
imul r8
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, r14
jbe 0x18000b804
mov r8, qword [r9 + rsi]
mov rdx, rbx
lea rcx, str._ls_ls__
call fcn.180001740
mov r12, rax
test rbx, rbx
je 0x18000b2d8
mov edx, 2
mov rcx, rbx
call fcn.18000db10
mov rbx, r12
inc r15d
inc r14
add rsi, 0x18
mov r8, qword [rdi + 8]
mov r9, qword [rdi]
mov rcx, r8
sub rcx, r9
movabs r10, 0x2aaaaaaaaaaaaaab
mov rax, r10
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rax, r15d
cmp rax, rdx
jb 0x18000b290
xor r12d, r12d
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x20], rbx
mov r9b, 1
movzx r8d, r9b
lea rdx, [0x1800464e8]
call fcn.1800029a0
test rbx, rbx
je 0x18000b34e
mov edx, 2
mov rcx, rbx
call fcn.18000db10
xor r15b, r15b
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], r12
mov qword [rbp + 0x27], 7
mov word [rbp + 0xf], r12w
lea rcx, [rbp + 0xf]
call fcn.18000ae80
test al, al
je 0x18000b69f
mov rbx, qword [rdi]
cmp rbx, qword [rdi + 8]
je 0x18000b6b2
mov eax, dword [rbx + 0x10]
test eax, eax
je 0x18000b399
cmp eax, 0x80000000
jne 0x18000b63a
call fcn.180008060
mov rsi, rax
mov rdx, rax
lea rcx, str.DUMMY__ls
call fcn.180001740
mov r14, rax
mov qword [rbp - 0x21], rax
mov edx, 2
mov rcx, rsi
call fcn.18000db10
mov r9, r14
mov r8, qword [rbx]
mov rdx, r13
lea rcx, str._ls_ls_ls.exe
call fcn.180001740
mov rsi, rax
mov qword [rbp - 0x19], rax
lea r8, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae r8, qword [rbp + 0xf]
lea rdx, str.Log:EDRdummy.exe_path____ls__n
mov rcx, qword [0x18004f940]
call fcn.180002140
lea rcx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rcx, qword [rbp + 0xf]
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov r8, qword [rbx]
mov r9, r14
mov rdx, r13
lea rcx, str._ls_ls_ls.exe
test eax, eax
je 0x18000b5ec
call fcn.180001740
mov rsi, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], rax
mov r9b, 1
movzx r8d, r9b
lea rdx, str.copy
call fcn.1800029a0
mov edx, 2
mov rcx, rsi
call fcn.18000db10
mov r8, r14
mov rdx, qword [rbx + 8]
lea rcx, str.___ls_ls.exe_
call fcn.180001740
mov r12, rax
mov r8d, 0xf003f
lea rdx, str.ServicesActive
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
mov qword [rbp - 9], rax
test rax, rax
je 0x18000b5b7
call fcn.180008060
mov qword [rbp - 1], rax
xor ecx, ecx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], socket
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov r14, rax
test rax, rax
je 0x18000b584
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8b, 1
lea rdx, [0x180046588]
call fcn.1800029a0
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov r15, rax
nop dword [rax + rax]
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x18000b569
cmp eax, 0x41f
jne 0x18000b569
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, rax
mov eax, r15d
sub rcx, rax
cmp rcx, 0x4e20
jb 0x18000b530
mov r15b, 1
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rsi, qword [rbp - 9]
jmp 0x18000b59a
mov r8, r13
lea rdx, str.log:CreateServiceW_failed_on___ls__n
mov rcx, qword [0x18004f940]
call fcn.180002140
mov edx, 2
mov rcx, qword [rbp - 1]
call fcn.18000db10
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov r14, qword [rbp - 0x21]
jmp 0x18000b5cd
mov r8, r13
lea rdx, str.log:OpenSCManagerW_failed_on__ls__n
mov rcx, qword [0x18004f940]
call fcn.180002140
mov edx, 2
mov rcx, r12
call fcn.18000db10
mov rsi, qword [rbp - 0x19]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r12d, r12d
jmp 0x18000b61b
call fcn.180001740
mov rsi, rax
mov r8, rax
lea rdx, str.log:copy_failed_to__ls__n
mov rcx, qword [0x18004f940]
call fcn.180002140
mov edx, 2
mov rcx, rsi
call fcn.18000db10
mov rsi, qword [rbp - 0x19]
mov edx, 2
mov rcx, rsi
call fcn.18000db10
mov edx, 2
mov rcx, r14
call fcn.18000db10
test r15b, r15b
jne 0x18000b661
mov qword [rsp + 0x20], r12
mov r9b, 1
xor r8d, r8d
lea rdx, str.serviceExecution
call fcn.180002860
add rbx, 0x18
cmp rbx, qword [rdi + 8]
jne 0x18000b387
jmp 0x18000b6b2
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8b, 1
lea rdx, str.serviceExecution
call fcn.180002860
mov ecx, 0x20
call fcn.18000ddb4
mov qword [rbp - 0x11], rax
mov qword [rbp - 0x21], rax
mov dword [rax], r12d
mov qword [rax + 8], r12
mov rcx, qword [rbp + 7]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], r13
jmp 0x18000b6b2
lea rdx, str.Log:EDRDummy_not_found._n
mov rcx, qword [0x18004f940]
call fcn.180002140
mov rbx, qword [rdi]
cmp rbx, qword [rdi + 8]
je 0x18000b6e5
nop dword [rax + rax]
mov edx, 2
mov rcx, qword [rbx]
call fcn.18000db10
mov edx, 2
mov rcx, qword [rbx + 8]
call fcn.18000db10
add rbx, 0x18
cmp rbx, qword [rdi + 8]
jne 0x18000b6c0
mov r8, qword [rdi]
test r8, r8
je 0x18000b74f
mov rcx, qword [rdi + 0x10]
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 3
cmp rdx, 0x1000
jb 0x18000b73c
add rdx, 0x27
mov rcx, qword [r8 - 8]
sub r8, rcx
lea rax, [r8 - 8]
cmp rax, 0x1f
ja 0x18000b7fe
mov r8, rcx
mov rcx, r8
call fcn.18000db10
mov qword [rdi], r12
mov qword [rdi + 8], r12
mov qword [rdi + 0x10], r12
mov edx, 0x18
mov rcx, rdi
call fcn.18000db10
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x18000b7cd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000b794
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000b80a
call fcn.18000db10
jmp 0x18000b7cd
mov r8, r13
lea rdx, str.log:NetShareEnum_failed_on__ls__n
mov rcx, qword [0x18004f940]
call fcn.180002140
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x20], r12
mov r9b, 1
xor r8d, r8d
lea rdx, [0x1800464e8]
call fcn.1800029a0
mov rax, qword [rbp - 0x11]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.18000daf0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1800195d8
nop
call fcn.18000ad00
int3
call fcn.1800195d8
int3