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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2e0]
sub rsp, 0x3e0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
mov r14, rdx
mov qword [rsp + 0x68], rdx
mov r12, rcx
xor r15d, r15d
mov r8, qword [rcx + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, r8
cmp rax, 2
jb 0x140001c8a
mov r9, rcx
cmp qword [rcx + 0x18], 7
jbe 0x140001506
mov r9, qword [rcx]
mov qword [rsp + 0x30], 2
lea rax, [0x14000446c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
lea rcx, [rsp + 0x70]
call fcn.1400028f0
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rcx, qword [rsp + 0x70]
lea rdx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
mov qword [rsp + 0x60], rax
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140001590
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000158b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000158b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002f6c
movdqa xmm0, xmmword [0x1400045f0]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], r15w
cmp rsi, 0xffffffffffffffff
je 0x140001c22
nop dword [rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], r15
lea rax, [rbp + 0x7c]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400015d0
lea rdx, [rbp + 0x7c]
lea rcx, [rbp - 0x30]
call fcn.1400027b0
nop
lea r8, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
seta bl
mov r13, qword [rbp - 0x30]
cmova r8, r13
mov rdi, qword [rbp - 0x20]
cmp rdi, 1
jne 0x140001639
mov rdx, rdi
lea rax, [0x140004474]
mov rcx, rax
test rdi, rdi
je 0x140001bc5
sub r8, rax
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x140001639
add rcx, 2
sub rdx, 1
jne 0x140001620
jmp 0x140001bc5
lea r8, [rbp - 0x30]
test bl, bl
cmovne r8, r13
cmp rdi, 2
jne 0x140001678
mov rdx, rdi
lea rax, [0x140004478]
mov rcx, rax
test rdi, rdi
je 0x140001674
sub r8, rax
nop
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x140001678
add rcx, 2
sub rdx, 1
jne 0x140001660
xor al, al
jmp 0x14000167a
mov al, 1
test al, al
je 0x140001bc5
mov rcx, qword [r12 + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 1
jb 0x140001c84
mov r9, r12
cmp qword [r12 + 0x18], 7
jbe 0x1400016ad
mov r9, qword [r12]
mov qword [rsp + 0x30], 1
lea rax, [0x140004480]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x40]
call fcn.1400028f0
nop
lea r9, [rbp - 0x30]
test bl, bl
cmovne r9, r13
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
sub rax, rsi
cmp rdi, rax
ja 0x140001729
lea rax, [rsi + rdi]
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x40]
cmp rcx, 7
cmova rbx, qword [rsp + 0x40]
lea rcx, [rbx + rsi*2]
lea r8, [rdi + rdi]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + rsi]
mov word [rbx + rax*2], r15w
lea rax, [rsp + 0x40]
jmp 0x14000173f
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140002d30
mov r13, qword [rbp - 0x30]
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], r15
mov qword [rbp + 8], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x1400017af
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400017aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001c4c
call fcn.140002f6c
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r15w
test byte [rbp + 0x50], 0x10
je 0x1400017da
mov rdx, r14
lea rcx, [rbp - 0x10]
call fcn.1400014a0
jmp 0x140001b80
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ecx, eax
mov eax, 0x68db8bad
imul ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x2710
sub ecx, eax
lea r9, [rbp + 0x2ca]
jns 0x140001850
neg ecx
nop word [rax + rax]
sub r9, 2
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dx
shl ax, 2
lea r8d, [rax + rdx]
add r8w, r8w
sub cx, r8w
add cx, 0x30
mov word [r9], cx
mov ecx, edx
test edx, edx
jne 0x140001810
add r9, 0xfffffffffffffffe
mov word [r9], 0x2d
jmp 0x14000187f
sub r9, 2
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dx
shl ax, 2
lea r8d, [rax + rdx]
add r8w, r8w
sub cx, r8w
add cx, 0x30
mov word [r9], cx
mov ecx, edx
test edx, edx
jne 0x140001850
lea r8, [rbp + 0x2ca]
mov rdx, r9
lea rcx, [rbp - 0x70]
call fcn.140002a30
nop
lea r8, [rbp - 0x70]
lea rdx, str.newname_
lea rcx, [rbp + 0x30]
call fcn.140002670
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x1400018e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400018e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001c53
call fcn.140002f6c
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r15w
mov rcx, qword [r14 + 0x10]
movabs rbx, 0x7ffffffffffffffe
mov rax, rbx
mov rdx, qword [rbp + 0x40]
sub rax, rdx
cmp rax, rcx
jb 0x140001c96
lea r9, [rbp + 0x30]
cmp qword [rbp + 0x48], 7
cmova r9, qword [rbp + 0x30]
mov rax, r14
cmp qword [r14 + 0x18], 7
jbe 0x140001935
mov rax, qword [r14]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 0x10]
call fcn.1400028f0
nop
mov rcx, qword [r12 + 0x10]
mov rax, rbx
sub rax, rcx
cmp rax, 1
jb 0x140001c90
mov r9, r12
cmp qword [r12 + 0x18], 7
jbe 0x140001972
mov r9, qword [r12]
mov qword [rsp + 0x30], 1
lea rax, [0x140004480]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x40]
call fcn.1400028f0
nop
lea r9, [rbp + 0x10]
mov rdi, qword [rbp + 0x10]
mov r14, qword [rbp + 0x28]
cmp r14, 7
cmova r9, rdi
mov r15, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
sub rax, r15
mov rsi, qword [rbp + 0x20]
cmp rsi, rax
ja 0x1400019ff
lea rax, [rsi + r15]
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x40]
cmp rcx, 7
cmova rbx, qword [rsp + 0x40]
lea rcx, [rbx + r15*2]
lea r8, [rsi + rsi]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + r15]
xor r15d, r15d
mov word [rbx + rax*2], r15w
lea rax, [rsp + 0x40]
jmp 0x140001a1c
mov qword [rsp + 0x20], rsi
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140002d30
mov r14, qword [rbp + 0x28]
mov rdi, qword [rbp + 0x10]
xor r15d, r15d
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140001a8c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001c5a
call fcn.140002f6c
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 7
cmova rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 7
cmova rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x140001aee
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ae9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001c61
call fcn.140002f6c
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r15w
cmp r14, 7
jbe 0x140001b3b
lea rdx, [r14*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140001b32
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001c68
mov rcx, rdi
call fcn.140002f6c
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 7
jbe 0x140001b7b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b76
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001c6f
call fcn.140002f6c
mov r14, qword [rsp + 0x68]
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x140001bc0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001bbb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001c76
call fcn.140002f6c
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rbp - 0x18]
cmp rcx, 7
jbe 0x140001c04
lea rdx, [rcx*2 + 2]
mov rax, r13
cmp rdx, 0x1000
jb 0x140001bfc
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001c7d
mov rcx, r13
call fcn.140002f6c
lea rdx, [rbp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400015b0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.140002f10
mov rbx, qword [rsp + 0x430]
add rsp, 0x3e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
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]
int3
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.1400011a0
nop
call fcn.1400011a0
nop
call fcn.1400011a0
nop
call fcn.1400011a0
int3