Function at 0x140101270
Capabilities:
Enumerate files on windows
Get file attributes
Move file

Disassembly:
mov rax, rsp
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x238]
sub rsp, 0x300
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rdi, r9
mov r12, rdx
mov r15, rcx
mov rsi, qword [rcx + 0x10]
test rsi, rsi
jne 0x1401012ef
cmp qword [rcx + 0x18], 8
jb 0x1401012c5
mov rcx, qword [rcx]
call fcn.14010a7dc
mov qword [r15 + 0x18], 7
xor esi, esi
mov qword [r15 + 0x10], rsi
mov word [r15], si
cmp qword [r12 + 0x18], 8
jb 0x1401012e8
mov rcx, qword [r12]
call fcn.14010a7dc
xor eax, eax
jmp 0x14010163e
mov edx, 0x2f
xor r8d, r8d
call fcn.140014f10
mov r13d, 1
mov qword [rsp + 0x48], r13
or rbx, 0xffffffffffffffff
mov rcx, r15
mov r8, rbx
cmp rax, rbx
je 0x140101330
lea edx, [rbx + 0x30]
call fcn.14008e660
lea rcx, [rsi - 1]
cmp rax, rcx
je 0x140101355
lea rdx, [0x140161ef0]
jmp 0x14010134a
mov edx, 0x5c
call fcn.14008e660
lea rcx, [rsi - 1]
cmp rax, rcx
je 0x140101355
lea rdx, [0x140150658]
mov r8, r13
mov rcx, r15
call fcn.140008dc0
mov r8, r12
mov rdx, r15
lea rcx, [rsp + 0x20]
call fcn.1400ffc00
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
xor esi, esi
mov qword [rbp - 0x60], rsi
mov r14d, esi
test rdi, rdi
je 0x140101427
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rsi
mov word [rsp + 0x50], si
mov r8, r13
lea rdx, [0x1401577d4]
lea rcx, [rsp + 0x50]
call fcn.140009080
nop
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rsi
mov word [rsp + 0x70], si
cmp word [rdi], si
jne 0x1401013c2
mov ebx, esi
jmp 0x1401013cc
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1401013c2
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.140009080
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.1400a8240
mov r14d, eax
cmp qword [rbp - 0x78], 8
jb 0x140101404
mov rcx, qword [rsp + 0x70]
call fcn.14010a7dc
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rsi
mov word [rsp + 0x70], si
cmp qword [rsp + 0x68], 8
jb 0x140101427
mov rcx, qword [rsp + 0x50]
call fcn.14010a7dc
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
lea rdx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
mov qword [rsp + 0x40], rax
movsxd r14, r14d
mov r13, qword [rbp - 0x70]
cmp rax, 0xffffffffffffffff
je 0x1401015a4
mov r12d, dword [rbp + 0x250]
lea r8, [rbp - 0x24]
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.140007750
mov rbx, rax
lea rax, [rsp + 0x20]
cmp rax, rbx
je 0x1401014b2
cmp qword [rsp + 0x38], 8
jb 0x140101492
mov rcx, qword [rsp + 0x20]
call fcn.14010a7dc
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rsi
mov word [rsp + 0x20], si
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140008930
cmp qword [rsp + 0x68], 8
jb 0x1401014c4
mov rcx, qword [rsp + 0x50]
call fcn.14010a7dc
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x14010157f
test r14, r14
je 0x14010151d
mov rdi, rsi
jle 0x140101518
mov rbx, r13
cmp qword [rbx + 0x18], 8
jb 0x1401014fc
mov rdx, qword [rbx]
jmp 0x1401014ff
mov rdx, rbx
lea rcx, [rbp - 0x24]
call fcn.140111cac
test eax, eax
je 0x14010157a
inc rdi
add rbx, 0x20
cmp rdi, r14
jl 0x1401014f0
mov rdi, qword [rsp + 0x40]
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
mov edx, 0x80
call fcn.140115a34
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
call fcn.1401147d4
test eax, eax
je 0x14010157f
test r12d, r12d
je 0x140101574
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
xor edx, edx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [rsp + 0x48], esi
jmp 0x14010157f
mov rdi, qword [rsp + 0x40]
lea rdx, [rbp - 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140101462
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r12, qword [rbp + 0x248]
test r13, r13
je 0x1401015e5
mov rbx, r13
mov rdi, qword [rbp - 0x68]
cmp r13, rdi
je 0x1401015dc
cmp qword [rbx + 0x18], 8
jb 0x1401015c4
mov rcx, qword [rbx]
call fcn.14010a7dc
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
mov word [rbx], si
add rbx, 0x20
cmp rbx, rdi
jne 0x1401015b5
mov rcx, r13
call fcn.14010a7dc
nop
cmp qword [rsp + 0x38], 8
jb 0x1401015f7
mov rcx, qword [rsp + 0x20]
call fcn.14010a7dc
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rsi
mov word [rsp + 0x20], si
cmp qword [r15 + 0x18], 8
jb 0x140101619
mov rcx, qword [r15]
call fcn.14010a7dc
mov qword [r15 + 0x18], 7
mov qword [r15 + 0x10], rsi
mov word [r15], si
cmp qword [r12 + 0x18], 8
jb 0x14010163a
mov rcx, qword [r12]
call fcn.14010a7dc
mov eax, dword [rsp + 0x48]
mov qword [r12 + 0x18], 7
mov qword [r12 + 0x10], rsi
mov word [r12], si
mov rbx, qword [rsp + 0x358]
add rsp, 0x300
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret