Function at 0x140003770
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x2a8
mov rax, qword [0x140007100]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov byte [rsp + 0x21], 0
mov byte [rsp + 0x30], 1
movzx eax, byte [0x1400079d4]
test eax, eax
je 0x1400037aa
xor al, al
jmp 0x1400039e1
mov r8, qword [rsp + 0x2b0]
mov edx, 0x105
lea rcx, [rsp + 0x40]
call fcn.140004c20
mov edx, 0x105
lea rcx, [rsp + 0x40]
call fcn.140003170
movzx eax, al
test eax, eax
jne 0x1400037de
xor al, al
jmp 0x1400039e1
lea r8, [0x140001ac8]
mov edx, 0x105
lea rcx, [rsp + 0x40]
call fcn.140004b90
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x14000383b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x34], eax
lea r8, [rsp + 0x40]
mov edx, dword [rsp + 0x34]
lea rcx, [0x140001b90]
call qword [sym.imp.msvcrt.dll_printf]
xor al, al
jmp 0x1400039e1
lea rax, [rsp + 0x17c]
lea rcx, [0x140001bac]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x140003860
inc rax
test dl, dl
jne 0x14000384d
xor eax, eax
jmp 0x140003865
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x140003897
lea rax, [rsp + 0x17c]
lea rcx, [0x140001bb0]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x14000388e
inc rax
test dl, dl
jne 0x14000387b
xor eax, eax
jmp 0x140003893
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x14000389c
jmp 0x14000391f
mov eax, dword [rsp + 0x150]
and eax, 0x10
test eax, eax
jne 0x1400038b1
mov byte [rsp + 0x30], 0
jmp 0x14000391f
mov r8, qword [rsp + 0x2b0]
mov edx, 0x105
lea rcx, [rsp + 0x40]
call fcn.140004c20
mov edx, 0x105
lea rcx, [rsp + 0x40]
call fcn.140003170
movzx eax, al
test eax, eax
jne 0x1400038e5
xor al, al
jmp 0x1400039e1
lea r8, [rsp + 0x17c]
mov edx, 0x105
lea rcx, [rsp + 0x40]
call fcn.140004b90
movzx eax, byte [0x1400079d3]
test eax, eax
jne 0x140003909
jmp 0x14000391f
lea rcx, [rsp + 0x40]
call fcn.140003770
movzx eax, al
test eax, eax
jne 0x14000391f
mov byte [rsp + 0x30], 0
lea rdx, [rsp + 0x150]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x14000383b
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x140003955
xor al, al
jmp 0x1400039e1
movzx eax, byte [0x1400079d0]
test eax, eax
je 0x140003964
xor al, al
jmp 0x1400039e1
movzx eax, byte [0x1400079d3]
test eax, eax
jne 0x140003973
xor al, al
jmp 0x1400039e1
mov rax, qword [rsp + 0x2b0]
lea rcx, [0x1400079e0]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x140003998
inc rax
test dl, dl
jne 0x140003985
xor eax, eax
jmp 0x14000399d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1400039a5
mov al, 1
jmp 0x1400039e1
mov rcx, qword [rsp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
je 0x1400039bb
mov al, 1
jmp 0x1400039e1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x34], eax
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x2b0]
lea rcx, [0x140001bb8]
call qword [sym.imp.msvcrt.dll_printf]
mov al, 1
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140004680
add rsp, 0x2a8
ret