Function at 0x140036140
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x228]
sub rsp, 0x310
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rbx, rcx
test r8b, r8b
jne 0x1400361a9
cmp qword [rcx + 0x18], 8
jb 0x140036189
mov rcx, qword [rcx]
mov edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp qword [rbx + 0x18], 8
jb 0x1400361a0
mov rcx, qword [rbx]
jmp 0x1400361a3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, 0x5c
or r8, 0xffffffffffffffff
mov rcx, rbx
call fcn.140039730
mov rdi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1400364e4
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.14000d690
nop
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
xor r14d, r14d
mov rax, qword [rsp + 0x38]
cmp word [rdx + rax*2 - 2], 0x5c
jne 0x140036280
lea r9, [rdi - 1]
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.14000d690
mov rbx, rax
lea rax, [rsp + 0x28]
cmp rax, rbx
je 0x140036264
mov r8, qword [rsp + 0x40]
cmp r8, 8
jb 0x140036242
inc r8
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.140003ec0
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r14
mov word [rsp + 0x28], r14w
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140003d10
nop
mov r8, qword [rbp - 0x80]
cmp r8, 8
jb 0x140036280
inc r8
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.140003ec0
xor sil, sil
lea r8, str..
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x68]
call fcn.14000e2d0
nop
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
lea rdx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400364aa
mov dil, 1
movzx edx, word [rbp - 0x24]
movzx ecx, word [rbp - 0x22]
cmp dx, word [0x14007bbdc]
jne 0x1400362de
cmp cx, word [0x14007bbde]
je 0x140036300
cmp dx, word [0x14007bbe0]
jne 0x14003634d
cmp cx, word [0x14007bbe2]
jne 0x14003634d
movzx eax, word [rbp - 0x20]
cmp ax, word [0x14007bbe4]
jne 0x14003634d
nop dword [rax]
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14003634d
movzx ecx, word [rbp - 0x24]
movzx eax, word [rbp - 0x22]
cmp cx, word [0x14007bbdc]
jne 0x14003632b
cmp ax, word [0x14007bbde]
je 0x140036300
cmp cx, word [0x14007bbe0]
jne 0x14003634a
cmp ax, word [0x14007bbe2]
jne 0x14003634a
movzx eax, word [rbp - 0x20]
cmp ax, word [0x14007bbe4]
je 0x140036300
xor dil, dil
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
test dil, dil
je 0x140036484
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x140036484
mov edx, 0x5c
or r8, 0xffffffffffffffff
lea rcx, [rsp + 0x28]
call fcn.140039730
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140036484
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.14000d690
nop
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x58]
cmp word [rcx + rax*2 - 2], 0x5c
jne 0x14003644d
lea r9, [rbx - 1]
xor r8d, r8d
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x28]
call fcn.14000d690
mov rbx, rax
lea rax, [rsp + 0x48]
cmp rax, rbx
je 0x140036433
mov r8, qword [rsp + 0x60]
cmp r8, 8
jb 0x140036411
inc r8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.140003ec0
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], r14
mov word [rsp + 0x48], r14w
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140003d10
nop
mov r8, qword [rbp - 0x60]
cmp r8, 8
jb 0x14003644d
inc r8
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x78]
call fcn.140003ec0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.140003bd0
mov sil, 1
mov r8, qword [rsp + 0x60]
cmp r8, 8
jb 0x140036484
inc r8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.140003ec0
nop
mov r8, qword [rbp - 0x80]
cmp r8, 8
jb 0x1400364a0
inc r8
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.140003ec0
test sil, sil
je 0x1400364c7
jmp 0x140036280
mov r8, qword [rbp - 0x80]
cmp r8, 8
jb 0x1400364c7
inc r8
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.140003ec0
nop
mov r8, qword [rsp + 0x40]
cmp r8, 8
jb 0x1400364e4
inc r8
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.140003ec0
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.14003a3d0
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret