Function at 0x140015880
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 0x1400158ff
cmp qword [rcx + 0x18], 8
jb 0x1400158d5
mov rcx, qword [rcx]
call fcn.140018e6c
mov qword [r15 + 0x18], 7
xor esi, esi
mov qword [r15 + 0x10], rsi
mov word [r15], si
cmp qword [r12 + 0x18], 8
jb 0x1400158f8
mov rcx, qword [r12]
call fcn.140018e6c
xor eax, eax
jmp 0x140015c4e
mov edx, 0x2f
xor r8d, r8d
call fcn.140017970
mov r13d, 1
mov qword [rsp + 0x48], r13
or rbx, 0xffffffffffffffff
mov rcx, r15
mov r8, rbx
cmp rax, rbx
je 0x140015940
lea edx, [rbx + 0x30]
call fcn.14000b8e0
lea rcx, [rsi - 1]
cmp rax, rcx
je 0x140015965
lea rdx, [0x14002fcd8]
jmp 0x14001595a
mov edx, 0x5c
call fcn.14000b8e0
lea rcx, [rsi - 1]
cmp rax, rcx
je 0x140015965
lea rdx, [0x140037840]
mov r8, r13
mov rcx, r15
call fcn.14000d750
mov r8, r12
mov rdx, r15
lea rcx, [rsp + 0x20]
call fcn.14000d460
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
xor esi, esi
mov qword [rbp - 0x60], rsi
mov r14d, esi
test rdi, rdi
je 0x140015a37
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rsi
mov word [rsp + 0x50], si
mov r8, r13
lea rdx, [0x140038934]
lea rcx, [rsp + 0x50]
call fcn.14000c8f0
nop
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rsi
mov word [rsp + 0x70], si
cmp word [rdi], si
jne 0x1400159d2
mov ebx, esi
jmp 0x1400159dc
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1400159d2
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.14000c8f0
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.140004430
mov r14d, eax
cmp qword [rbp - 0x78], 8
jb 0x140015a14
mov rcx, qword [rsp + 0x70]
call fcn.140018e6c
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rsi
mov word [rsp + 0x70], si
cmp qword [rsp + 0x68], 8
jb 0x140015a37
mov rcx, qword [rsp + 0x50]
call fcn.140018e6c
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 0x140015bb4
mov r12d, dword [rbp + 0x250]
lea r8, [rbp - 0x24]
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.14000d520
mov rbx, rax
lea rax, [rsp + 0x20]
cmp rax, rbx
je 0x140015ac2
cmp qword [rsp + 0x38], 8
jb 0x140015aa2
mov rcx, qword [rsp + 0x20]
call fcn.140018e6c
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rsi
mov word [rsp + 0x20], si
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14000c2e0
cmp qword [rsp + 0x68], 8
jb 0x140015ad4
mov rcx, qword [rsp + 0x50]
call fcn.140018e6c
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 0x140015b8f
test r14, r14
je 0x140015b2d
mov rdi, rsi
jle 0x140015b28
mov rbx, r13
cmp qword [rbx + 0x18], 8
jb 0x140015b0c
mov rdx, qword [rbx]
jmp 0x140015b0f
mov rdx, rbx
lea rcx, [rbp - 0x24]
call fcn.1400198fc
test eax, eax
je 0x140015b8a
inc rdi
add rbx, 0x20
cmp rdi, r14
jl 0x140015b00
mov rdi, qword [rsp + 0x40]
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
mov edx, 0x80
call fcn.14001b134
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
call fcn.14001b468
test eax, eax
je 0x140015b8f
test r12d, r12d
je 0x140015b84
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 0x140015b8f
mov rdi, qword [rsp + 0x40]
lea rdx, [rbp - 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140015a72
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r12, qword [rbp + 0x248]
test r13, r13
je 0x140015bf5
mov rbx, r13
mov rdi, qword [rbp - 0x68]
cmp r13, rdi
je 0x140015bec
cmp qword [rbx + 0x18], 8
jb 0x140015bd4
mov rcx, qword [rbx]
call fcn.140018e6c
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
mov word [rbx], si
add rbx, 0x20
cmp rbx, rdi
jne 0x140015bc5
mov rcx, r13
call fcn.140018e6c
nop
cmp qword [rsp + 0x38], 8
jb 0x140015c07
mov rcx, qword [rsp + 0x20]
call fcn.140018e6c
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rsi
mov word [rsp + 0x20], si
cmp qword [r15 + 0x18], 8
jb 0x140015c29
mov rcx, qword [r15]
call fcn.140018e6c
mov qword [r15 + 0x18], 7
mov qword [r15 + 0x10], rsi
mov word [r15], si
cmp qword [r12 + 0x18], 8
jb 0x140015c4a
mov rcx, qword [r12]
call fcn.140018e6c
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