Function at 0x1400018d0
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x318]
sub rsp, 0x3e0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov rbx, rdx
mov qword [rsp + 0x70], rdx
mov rsi, rcx
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rdx
xor r15d, r15d
mov rcx, qword [rcx + 0x10]
movabs r12, 0x7ffffffffffffffe
mov rax, r12
sub rax, rcx
cmp rax, 2
jb 0x140002273
mov r9, rsi
cmp qword [rsi + 0x18], 7
jbe 0x14000194a
mov r9, qword [rsi]
mov qword [rsp + 0x30], 2
lea rax, [0x140005540]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x78]
call fcn.140002870
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 7
cmova rcx, qword [rbp - 0x78]
lea rdx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x68], rax
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x1400019d2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400019c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400019c8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400030dc
mov rax, qword [rsp + 0x68]
movdqa xmm0, xmmword [0x1400056c0]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r15w
cmp rax, 0xffffffffffffffff
jne 0x140001ac0
mov rdx, qword [rsi + 0x18]
cmp rdx, 7
jbe 0x140001a2d
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
mov rcx, qword [rsi]
jb 0x140001a28
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002259
mov rcx, r8
call fcn.1400030dc
mov word [rsi], r15w
mov qword [rsi + 0x18], 7
mov qword [rsi + 0x10], r15
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x140001a7c
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
mov rcx, qword [rbx]
jb 0x140001a77
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002260
mov rcx, r8
call fcn.1400030dc
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.140003080
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movabs r13, 0x7fffffffffffffff
mov rdi, qword [rsp + 0x68]
lea rdx, [0x140005548]
test byte [rbp + 0x60], 0x10
jne 0x140001efe
mov rcx, qword [rsi + 0x10]
mov rax, r12
sub rax, rcx
cmp rax, 1
jb 0x140002291
mov r9, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140001b01
mov r9, qword [rsi]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x48]
call fcn.140002870
nop
lea rax, [rbp + 0x8c]
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140001b30
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
sub rax, r14
cmp rdi, rax
ja 0x140001b90
lea rax, [rdi + r14]
mov qword [rsp + 0x58], rax
lea rbx, [rsp + 0x48]
cmp rcx, 7
cmova rbx, qword [rsp + 0x48]
lea rcx, [rbx + r14*2]
lea r8, [rdi + rdi]
lea rdx, [rbp + 0x8c]
call sub.VCRUNTIME140.dll_memmove
lea rax, [r14 + rdi]
mov word [rbx + rax*2], r15w
lea rax, [rsp + 0x48]
mov rbx, qword [rsp + 0x70]
jmp 0x140001ba9
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x8c]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140002660
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140001c19
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002221
call fcn.1400030dc
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r15w
mov rcx, qword [rsi + 0x10]
mov rax, r12
sub rax, rcx
cmp rax, 9
jb 0x14000228b
mov r9, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140001c4e
mov r9, qword [rsi]
mov qword [rsp + 0x30], 9
lea rax, str._tempfile
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x20]
call fcn.140002870
nop
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 7
cmova rdx, qword [rbp - 0x20]
lea rcx, [rbp]
cmp qword [rbp + 0x18], 7
cmova rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp + 0x20]
call fcn.140002cd0
nop
lea rax, [rbp + 0x40]
mov qword [rbp - 0x58], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x78], rax
mov rax, r12
mov rcx, qword [rbp + 0x30]
sub rax, rcx
cmp rax, 4
jb 0x140002285
lea rax, [rbp + 0x20]
cmp qword [rbp + 0x38], 7
cmova rax, qword [rbp + 0x20]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 4
lea r9, str.key:
lea rcx, [rbp + 0x40]
call fcn.140002870
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
lea r14, [rbp]
cmp qword [rbp + 0x18], 7
cmova r14, qword [rbp]
mov rdi, qword [rbp + 0x10]
cmp rdi, r12
ja 0x14000227f
mov qword [rsp + 0x60], 7
cmp rdi, 7
ja 0x140001d4b
mov qword [rsp + 0x58], rdi
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x48], xmm0
jmp 0x140001def
mov rbx, rdi
or rbx, 7
cmp rbx, r12
jbe 0x140001d64
mov rbx, r12
lea rcx, [r13*2]
jmp 0x140001d8a
cmp rbx, 0xa
mov eax, 0xa
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, r13
ja 0x140002279
add rcx, rcx
cmp rcx, 0x1000
jb 0x140001db9
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002279
mov rcx, rax
call fcn.1400030a0
mov rcx, rax
test rax, rax
je 0x140002228
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140001dc8
test rcx, rcx
je 0x140001dc5
call fcn.1400030a0
jmp 0x140001dc8
mov rax, r15
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rbx
lea r8, [rdi*2 + 2]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rbx, qword [rsp + 0x70]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x50]
call fcn.140002310
nop
lea r8, [rbp + 0x40]
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.1400011d0
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 7
cmova rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 7
jbe 0x140001e64
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000222f
call fcn.1400030dc
nop
mov rdx, qword [rbp - 8]
cmp rdx, 7
jbe 0x140001ea4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e9f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002236
call fcn.1400030dc
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r15w
mov rdx, qword [rbp + 0x18]
cmp rdx, 7
jbe 0x1400021f9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ef4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000223d
call fcn.1400030dc
jmp 0x1400021f9
movzx ecx, word [rbp + 0x8c]
movzx eax, word [rbp + 0x8e]
cmp cx, 0x2e
jne 0x140001f33
test ax, ax
je 0x1400021fe
cmp cx, cx
jne 0x140001f33
cmp ax, cx
jne 0x140001f33
cmp word [rbp + 0x90], 0
je 0x1400021fe
mov rcx, qword [rsi + 0x10]
mov rax, r12
sub rax, rcx
cmp rax, 1
jb 0x14000226d
mov r9, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140001f54
mov r9, qword [rsi]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x20]
call fcn.140002870
nop
lea rax, [rbp + 0x8c]
mov rdi, 0xffffffffffffffff
nop
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140001f80
mov r14, qword [rbp - 0x10]
mov rcx, qword [rbp - 8]
mov rax, rcx
sub rax, r14
cmp rdi, rax
ja 0x140001fda
lea rax, [r14 + rdi]
mov qword [rbp - 0x10], rax
lea rbx, [rbp - 0x20]
cmp rcx, 7
cmova rbx, qword [rbp - 0x20]
lea rcx, [rbx + r14*2]
lea r8, [rdi + rdi]
lea rdx, [rbp + 0x8c]
call sub.VCRUNTIME140.dll_memmove
lea rax, [r14 + rdi]
mov word [rbx + rax*2], r15w
lea rax, [rbp - 0x20]
mov rbx, qword [rsp + 0x70]
jmp 0x140001ff2
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x8c]
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.140002660
movups xmm7, xmmword [rax]
movups xmmword [rbp + 0x40], xmm7
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp + 0x50], xmm6
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov rdx, qword [rbp - 8]
cmp rdx, 7
jbe 0x140002051
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000204c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002244
call fcn.1400030dc
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r15w
lea rax, [rbp - 0x50]
mov qword [rbp - 0x80], rax
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.140002310
mov r13, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
lea r15, [rbp + 0x40]
movdqa xmm0, xmm6
psrldq xmm0, 8
movq r12, xmm0
cmp r12, 7
seta byte [rsp + 0x40]
movq r14, xmm7
cmova r15, r14
movq rdi, xmm6
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
ja 0x140002267
mov qword [rsp + 0x60], 7
cmp rdi, 7
ja 0x1400020e9
mov qword [rsp + 0x58], rdi
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x48], xmm0
jmp 0x14000219c
mov rbx, rdi
or rbx, 7
cmp rbx, rax
jbe 0x140002108
mov rbx, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x140002138
cmp rbx, 0xa
mov eax, 0xa
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140002297
add rcx, rcx
cmp rcx, 0x1000
jb 0x140002167
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002297
mov rcx, rax
call fcn.1400030a0
mov rcx, rax
test rax, rax
je 0x14000224b
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140002175
test rcx, rcx
je 0x140002173
call fcn.1400030a0
jmp 0x140002175
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rbx
lea r8, [rdi*2 + 2]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rbx, qword [rsp + 0x70]
mov rdx, r13
lea rcx, [rsp + 0x48]
call fcn.1400018d0
nop
cmp byte [rsp + 0x40], 0
je 0x1400021e2
lea rdx, [r12*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x1400021da
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002252
mov rcx, r14
call fcn.1400030dc
movabs r13, 0x7fffffffffffffff
movabs r12, 0x7ffffffffffffffe
xor r15d, r15d
mov rdi, qword [rsp + 0x68]
lea rdx, [rbp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jg 0x140001acf
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x1400019ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400011b0
nop
call fcn.1400011b0
int3
call fcn.1400011b0
nop
call fcn.140001110
int3
call fcn.1400011b0
nop
call fcn.1400011b0
nop
call fcn.1400011b0
nop
call fcn.1400011b0
nop
call fcn.140001110
int3