Function at 0x1400021e0
Capabilities:
Check if file exists
Create directory
Delete directory
Delete file
Enumerate files on windows
Get common file path
Get file attributes
Get session user name
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0xc30]
sub rsp, 0xd30
mov rax, qword [0x140048360]
xor rax, rsp
mov qword [rbp + 0xc20], rax
mov rdi, rcx
lea rcx, [rbp + 0x1d2]
xor esi, esi
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x1d0], si
call fcn.1400198d0
lea rcx, [rbp + 0x3e2]
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x3e0], si
call fcn.1400198d0
lea ecx, [rsi + 8]
mov dword [rsp + 0x40], 0x104
mov dword [rsp + 0x60], 0x18
mov dword [rsp + 0x70], esi
mov dword [rsp + 0x50], esi
call fcn.140017420
lea ecx, [rsi + 8]
mov qword [rsp + 0x78], rax
call fcn.140017420
lea ecx, [rsi + 0x28]
mov rbx, rax
call fcn.140017420
lea edx, [rsi + 1]
mov rcx, rax
mov qword [rsp + 0x58], rax
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
lea rax, [rsp + 0x60]
test rax, rax
je 0x1400025c4
lea r8, [rsp + 0x68]
lea edx, [rsi + 1]
lea rcx, str.D:_A_OICIID_FA___BA__A_OICIID_FA___SY__A_OICIID_0x1200a9___BU__D_ID_0x1301bf___AU__A_OICIIOID_SDGXGWGR___AU_
xor r9d, r9d
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
je 0x1400025c4
lea rcx, [rbp + 0x1d0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [rsi + 0x5c]
lea rcx, [rbp + 0x1d0]
call fcn.14001815c
test rax, rax
je 0x1400022ea
mov word [rax], si
lea rcx, [rbp + 0x1d0]
mov edx, 0x5c
call fcn.14001815c
test rax, rax
je 0x14000231c
lea r8, str.Intelgp_
lea rcx, [rbp + 0x1d0]
mov edx, 0x104
mov word [rax + 2], si
call fcn.140018068
lea r8, str.C:Intelgp
lea rcx, [rbp + 0xa10]
mov edx, 0x104
call fcn.1400180f0
lea r8, [0x140031cc0]
lea rcx, [rbp + 0xa10]
mov edx, 0x104
call fcn.140018068
lea r8, str.C:Intelgp
lea rcx, [rbp + 0x5f0]
mov edx, 0x104
call fcn.1400180f0
lea r8, [0x140031ad8]
lea rcx, [rbp + 0x5f0]
mov edx, 0x104
call fcn.140018068
lea rcx, str.C:Intelgp
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140002493
test al, 0x10
je 0x140002493
xor r9d, r9d
lea rax, [rsp + 0x58]
lea rcx, [rbp + 0x5f0]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
lea edx, [r9 + 1]
lea r8d, [r9 + 4]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
test eax, eax
jne 0x140002598
mov rcx, qword [rsp + 0x58]
mov edx, 1
lea rax, [rsp + 0x50]
lea r8d, [rdx + 3]
mov r9, rbx
mov qword [rsp + 0x20], rax
call sub.ADVAPI32.dll_ConvertSecurityDescriptorToStringSecurityDescriptorW
test eax, eax
je 0x1400025a3
mov rcx, qword [rbx]
lea rdx, str._A_ID_0x1301bf___AU_
call fcn.14001820c
test rax, rax
je 0x140002493
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xa10]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140002493
lea r8, [rbp + 0x5f0]
lea rcx, [rbp + 0x800]
mov edx, 0x104
call fcn.1400180f0
lea r8, [rbp - 0x54]
lea rcx, [rbp + 0x800]
mov edx, 0x104
call fcn.140018068
lea rcx, [rbp + 0x800]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140002432
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, str.C:Intelgp
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400025ae
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rax, rax
jne 0x1400025b9
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x3e0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x140002570
lea r8, str.profile_
lea rcx, [rbp + 0x1d0]
mov edx, 0x104
call fcn.140018068
lea r8, [rbp + 0x3e0]
lea rcx, [rbp + 0x1d0]
mov edx, 0x104
call fcn.140018068
lea r8, str..dat
lea rcx, [rbp + 0x1d0]
mov edx, 0x104
call fcn.140018068
lea r8, [0x140031d1c]
lea rdx, [rbp + 0x1d0]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x48], rsi
call fcn.14001889c
test eax, eax
jne 0x140002570
mov r9, qword [rsp + 0x48]
lea edx, [rax + 1]
lea rcx, [0x14004ba90]
mov r8d, 0x35c8
call fcn.140018c44
mov rcx, qword [rsp + 0x48]
call fcn.140018a4c
mov rcx, rdi
call fcn.140002c90
mov rcx, qword [rbp + 0xc20]
xor rcx, rsp
call fcn.1400198a0
lea r11, [rsp + 0xd30]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov ecx, 1
call fcn.140017ad4
int3
mov ecx, 1
call fcn.140017ad4
int3
mov ecx, 1
call fcn.140017ad4
int3
mov ecx, 1
call fcn.140017ad4
int3
mov ecx, 1
call fcn.140017ad4
int3