Function at 0x1400351bc
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r15
sub rsp, 0x4a0
mov rax, qword [0x140094940]
xor rax, rsp
mov qword [rsp + 0x490], rax
xor ebx, ebx
mov rsi, rcx
mov edi, ebx
mov rcx, qword [str.___t_]
lea r15, str.___t_
lea r12, [0x1400836a8]
cmp rcx, r15
je 0x140035225
test byte [rcx + 0x1c], 4
je 0x140035225
cmp byte [rcx + 0x19], 5
jb 0x140035225
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x30]
mov r8, r12
call fcn.140001024
mov r9, qword [0x140098428]
lea r8, str._s._s
mov edx, 0x104
mov qword [rsp + 0x20], rsi
lea rcx, [rsp + 0x280]
mov r9, qword [r9 + 0x60]
call fcn.1400029e8
test eax, eax
jns 0x140035285
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x14003527e
test byte [rcx + 0x1c], 4
je 0x14003527e
cmp byte [rcx + 0x19], 2
jb 0x14003527e
mov rcx, qword [rcx + 0x10]
mov edx, 0x31
mov r9d, eax
mov r8, r12
call fcn.140001048
xor eax, eax
jmp 0x140035441
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x1400352e5
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x1400352db
test byte [rcx + 0x1c], 4
je 0x1400352db
cmp byte [rcx + 0x19], 3
jb 0x1400352db
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x33]
mov rax, qword [0x140098428]
mov r9, rsi
mov r8, qword [rax + 0x60]
mov qword [rsp + 0x20], r8
mov r8, r12
call fcn.140001244
mov eax, 1
jmp 0x140035441
mov r9, qword [0x140098428]
lea rax, [rsp + 0x5c]
lea r8, [0x140081e40]
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rsp + 0x280]
mov r9, qword [r9 + 0x60]
call fcn.1400029e8
test eax, eax
jns 0x140035354
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x1400353d9
test byte [rcx + 0x1c], 4
je 0x1400353d9
cmp byte [rcx + 0x19], 2
jb 0x1400353d9
mov rcx, qword [rcx + 0x10]
mov edx, 0x33
mov r9d, eax
mov r8, r12
call fcn.140001048
jmp 0x1400353d9
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x140035385
test byte [rcx + 0x1c], 4
je 0x140035385
cmp byte [rcx + 0x19], 5
jb 0x140035385
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x280]
mov edx, 0x34
mov r8, r12
call fcn.1400011dc
lea rcx, [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400353de
mov rax, qword [str.___t_]
cmp rax, r15
je 0x1400353d9
test byte [rax + 0x1c], 4
je 0x1400353d9
cmp byte [rax + 0x19], 2
jb 0x1400353d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r9, [rsp + 0x280]
mov edx, 0x35
mov dword [rsp + 0x20], eax
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.1400012fc
mov edi, 1
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400352e5
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne 0x14003543a
mov rax, qword [str.___t_]
cmp rax, r15
je 0x14003543a
test byte [rax + 0x1c], 4
je 0x14003543a
cmp byte [rax + 0x19], 2
jb 0x14003543a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
mov edx, 0x36
mov r9d, eax
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.140001048
test edi, edi
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140078ba0
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r12
pop rdi
ret