Function at 0x14012a440
Capabilities:
Delete directory
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rbp + 0x1c8], rax
xor esi, esi
mov dword [rsp + 0x20], esi
mov dword [0x140306110], 1
lea rdi, [rcx + 0xe8]
mov rbx, qword [rdi]
lea r12, [rsi - 1]
test rbx, rbx
je 0x14012a528
nop
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
lea rax, [rsp + 0x28]
mov qword [rsp + 0x40], rax
sub rcx, 0x18
call fcn.1400191a0
add rax, 0x18
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x28]
add rcx, 0xffffffffffffffe8
call fcn.1400191a0
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
call fcn.140025b80
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14012a51f
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
test rbx, rbx
jne 0x14012a4a0
mov rcx, rdi
call fcn.140029c30
nop
mov dword [0x140306110], esi
mov qword [rsp + 0x58], rsi
lea rcx, [rsp + 0x58]
call fcn.1400ce6f0
nop
mov rax, qword [rsp + 0x58]
cmp dword [rax - 0x10], 0
je 0x14012a801
mov qword [rsp + 0x68], rsi
lea r8, str.BNZ.
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x68]
call fcn.1400179d0
nop
mov qword [rsp + 0x60], rsi
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x14012a86c
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x60], rdi
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
je 0x14012a7b8
test byte [rsp + 0x70], 0x10
je 0x14012a798
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax - 0x18]
test rcx, rcx
je 0x14012a5f3
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x140038716.0]
mov rcx, rax
test rax, rax
jne 0x14012a617
call fcn.1400195b0
mov rdx, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x20]
mov rcx, rdx
call qword [case.0x140038716.0]
mov rcx, rax
test rax, rax
je 0x14012a861
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
or dword [rsp + 0x20], 1
lea rcx, [rbp - 0x64]
mov rsi, r12
nop dword [rax]
inc rsi
cmp word [rcx + rsi*2], 0
jne 0x14012a640
mov r13, qword [rsp + 0x58]
movsxd r15, dword [r13 - 0x10]
lea r14d, [r15 + rsi]
test r14d, r14d
js 0x14012a856
mov ecx, 1
sub ecx, dword [rax + 0x10]
mov eax, dword [rax + 0xc]
sub eax, r14d
or eax, ecx
jge 0x14012a684
mov edx, r14d
lea rcx, [rsp + 0x30]
call fcn.140018ec0
mov rbx, qword [rsp + 0x30]
add r15, r15
je 0x14012a6ba
test rbx, rbx
je 0x14012a6aa
mov r8, r15
mov rcx, rbx
test r13, r13
je 0x14012a6a3
mov rdx, r13
call fcn.1401f61a0
jmp 0x14012a6ba
xor edx, edx
call fcn.1401f6840
call fcn.1401fae4c
mov dword [rax], 0x16
call fcn.1401facac
movsxd r8, esi
add r8, r8
lea rcx, [r15 + rbx]
je 0x14012a6e6
test rcx, rcx
jne 0x14012a6dd
call fcn.1401fae4c
mov dword [rax], 0x16
call fcn.1401facac
jmp 0x14012a6e6
lea rdx, [rbp - 0x64]
call fcn.1401f61a0
cmp r14d, dword [rbx - 0xc]
jg 0x14012a856
mov dword [rbx - 0x10], r14d
movsxd rax, r14d
xor ecx, ecx
mov word [rbx + rax*2], cx
lea rsi, [rbx - 0x18]
add rdi, 0xffffffffffffffe8
cmp rsi, rdi
je 0x14012a75e
cmp dword [rdi + 0x10], ecx
jl 0x14012a74d
mov rax, qword [rdi]
cmp qword [rsi], rax
jne 0x14012a74d
mov rcx, rsi
call fcn.1400191a0
mov rbx, rax
mov ecx, r12d
lock xadd dword [rdi + 0x10], ecx
sub ecx, 1
jg 0x14012a742
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
mov rax, qword [r8 + 8]
call qword [case.0x140038716.0]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x60], rax
jmp 0x14012a75e
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140018f70
and dword [rsp + 0x20], 0xfffffffe
mov eax, r12d
lock xadd dword [rsi + 0x10], eax
sub eax, 1
jg 0x14012a783
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, rsi
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rbx, qword [rsp + 0x40]
xor esi, esi
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14012a5c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rdx, [rdi - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14012a7da
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14012a801
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r12d
sub r12d, 1
jg 0x14012a826
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov rcx, qword [rbp + 0x1c8]
xor rcx, rsp
call fcn.1401f3bf0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80070057
call fcn.140019320
int3
mov ecx, 0x80004005
call fcn.140019320
nop
mov ecx, 0x80004005
call fcn.140019320
int3