Function at 0x1400021cb
Capabilities:
Create directory
Get session user name
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xf8
lea rax, [0x1406310ab]
lea r13, str.PAR_TEMP
xor edx, edx
lea rsi, str.PAR_TMPDIR
mov qword [rsp + 0x70], rax
lea rax, str.C:TEMP
mov rbp, rcx
lea rdi, [rsp + 0xc0]
mov qword [rsp + 0x78], rax
lea rax, [0x140631074]
mov ecx, 0xc
rep movsd dword [rdi], dword [rsi]
mov qword [rsp + 0x80], rax
xor eax, eax
mov rcx, r13
mov qword [rsp + 0x88], rax
lea rax, str.USER
mov qword [rsp + 0x58], rax
lea rax, str.USERNAME
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdx
call fcn.1400016d0
mov rbx, rax
test rax, rax
je 0x140002286
cmp byte [rax], 0
je 0x140002286
mov rcx, rax
call fcn.14000214e
mov rcx, rbx
add rsp, 0xf8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov ecx, 0x7fff
lea r12, [rsp + 0x94]
lea rsi, [rsp + 0x58]
mov dword [rsp + 0x94], 0x7fff
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rdx, r12
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400022e1
call fcn.1400016d0
mov rcx, rax
test rax, rax
je 0x1400022db
cmp byte [rax], 0
je 0x1400022db
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov rbx, rax
test rax, rax
jne 0x1400022e8
add rsi, 8
jmp 0x1400022b4
lea rbx, str.SYSTEM
mov rcx, rbx
lea r14, str._02x
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rcx, [rax + rax + 1]
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rdi, rax
mov rsi, rax
movzx r8d, byte [rbx]
test r8b, r8b
je 0x140002324
mov rcx, rsi
mov rdx, r14
inc rbx
add rsi, 2
call fcn.14000174e
jmp 0x140002307
lea rsi, [rsp + 0xc0]
mov rcx, qword [rsi]
test rcx, rcx
je 0x14000236a
call fcn.1400016d0
mov rbx, rax
test rax, rax
je 0x140002364
cmp byte [rax], 0
je 0x140002364
mov rcx, rax
call fcn.140001a45
test eax, eax
je 0x140002364
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov rsi, rax
test rax, rax
jne 0x1400023ca
jmp 0x14000236a
add rsi, 8
jmp 0x14000232c
lea rcx, str.WinDir
call fcn.1400016d0
test rax, rax
je 0x140002380
cmp byte [rax], 0
jne 0x140002384
xor esi, esi
jmp 0x1400023ca
mov rcx, rax
mov qword [rsp + 0x48], rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rcx, [rax + 6]
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r8, qword [rsp + 0x48]
lea rdx, str._s_temp
mov rbx, rax
mov rcx, rax
mov rsi, rax
call fcn.14000174e
mov rcx, rbx
call fcn.140001a45
test eax, eax
jne 0x1400023ca
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x140002380
lea r14, [rsp + 0x70]
test rsi, rsi
jne 0x1400023fe
mov rbx, qword [r14]
test rbx, rbx
je 0x1400023fe
cmp byte [rbx], 0
je 0x1400023fe
mov rcx, rbx
call fcn.140001a45
test eax, eax
je 0x1400023f8
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov rsi, rax
add r14, 8
jmp 0x1400023cf
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rcx, rdi
mov rbx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea r15d, [rbx + rax + 0x404]
movsxd r15, r15d
mov rcx, r15
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov qword [rsp + 0x28], rdi
lea rdx, str._s_s_s_s
mov r8, rsi
mov rbx, rax
lea rax, str.par_
lea r9, [0x1406310ab]
mov qword [rsp + 0x20], rax
mov rcx, rbx
call fcn.14000174e
mov rcx, rbx
mov r14, qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
call r14
mov rcx, r15
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
lea rcx, str.PATH
mov qword [rsp + 0x48], rax
call fcn.1400016d0
mov rdx, rax
test rax, rax
jne 0x140002485
mov rsi, qword [rbp]
jmp 0x140002496
mov rcx, qword [rbp]
call fcn.140001cbc
mov rsi, rax
test rax, rax
je 0x14000247f
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r15, rax
cmp eax, 7
jle 0x140002502
cdqe
mov rdi, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
lea rdx, str.parl.exe
lea rcx, [rsi + rax - 8]
call rdi
test eax, eax
jne 0x140002502
cmp r15d, 8
je 0x1400024d5
sub r15d, 9
movsxd r15, r15d
cmp byte [rsi + r15], 0x5c
jne 0x140002502
mov r15, qword [rbp + 8]
test r15, r15
je 0x140002502
mov rcx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
cmp rax, 3
jbe 0x140002502
lea rcx, [r15 + rax - 4]
lea rdx, str..par
call rdi
test eax, eax
jne 0x140002502
mov rsi, qword [rbp + 8]
call fcn.140002003
lea rbp, [0x140631092]
test eax, eax
jne 0x1400025de
mov rcx, rsi
mov edx, 0x8000
call sub.api_ms_win_crt_stdio_l1_1_0.dll__open
mov esi, eax
test eax, eax
je 0x1400025de
mov ecx, eax
call fcn.140002083
mov edi, eax
test eax, eax
js 0x1400025de
xor r8d, r8d
lea edx, [rax - 0xa]
lea r15, [rsp + 0x52]
mov ecx, esi
call sub.api_ms_win_crt_stdio_l1_1_0.dll__lseek
mov r8d, 6
mov rdx, r15
mov ecx, esi
call sub.api_ms_win_crt_stdio_l1_1_0.dll__read
cmp eax, 6
je 0x140002571
lea rcx, str.short_read
call fcn.140002037
mov r8d, 6
lea rdx, [0x1406311d6]
mov rcx, r15
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
test eax, eax
jne 0x1400025de
xor r8d, r8d
lea edx, [rdi - 0x32]
mov ecx, esi
call sub.api_ms_win_crt_stdio_l1_1_0.dll__lseek
mov r8d, 0x28
mov rdx, r12
mov ecx, esi
call sub.api_ms_win_crt_stdio_l1_1_0.dll__read
cmp eax, 0x28
jne 0x140002565
mov qword [rsp + 0x28], rbp
mov rcx, qword [rsp + 0x48]
lea r9, [0x1406310ab]
mov r8, rbx
mov qword [rsp + 0x20], r12
lea rdx, str._s_scache__s_s
mov byte [rsp + 0xbc], 0
call fcn.14000174e
jmp 0x14000266e
lea rdx, [0x14063115e]
lea rcx, str.PAR_CLEAN
xor esi, esi
call fcn.140001c52
lea rdi, [0x1406310ab]
lea r12, str._s_stemp__u__u_s
call sub.api_ms_win_crt_runtime_l1_1_0.dll__getpid
mov qword [rsp + 0x28], rbp
mov rcx, qword [rsp + 0x48]
mov r8, rbx
mov dword [rsp + 0x20], eax
lea r9, [0x1406310ab]
lea rdx, str._s_stemp__u_s
call fcn.14000174e
mov r15, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rcx, qword [rsp + 0x48]
call r14
inc eax
jne 0x14000266e
call r15
cmp dword [rax], 0x11
jne 0x14000266e
call sub.api_ms_win_crt_runtime_l1_1_0.dll__getpid
inc esi
mov qword [rsp + 0x30], rbp
mov r9, rdi
mov dword [rsp + 0x28], esi
mov rcx, qword [rsp + 0x48]
mov r8, rbx
mov rdx, r12
mov dword [rsp + 0x20], eax
call fcn.14000174e
jmp 0x140002631
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rdx, qword [rsp + 0x48]
mov rcx, r13
call fcn.140001c52
mov rcx, qword [rsp + 0x48]
call fcn.14000214e
mov rax, qword [rsp + 0x48]
add rsp, 0xf8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret