Function at 0x140005a80
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x240]
sub rsp, 0x340
xor r14d, r14d
mov edi, r14d
mov dword [rbp + 0x288], r14d
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
mov r8, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140006dd0
mov r13, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
cmp rbx, r13
je 0x1400060cc
add r13, 0xffffffffffffffe0
mov rdx, r13
lea rcx, [rsp + 0x68]
call fcn.1400067a0
nop
mov rdx, qword [r13 + 0x18]
cmp rdx, 8
jb 0x140005b2f
mov rcx, qword [r13]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140005b2a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400060be
mov rcx, r8
call fcn.140008c90
mov qword [r13 + 0x10], r14
mov qword [r13 + 0x18], 7
mov word [r13], r14w
mov qword [rsp + 0x38], r13
lea r8, [0x140001278]
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x58]
call fcn.140006c60
cmp qword [rax + 0x18], 8
jb 0x140005b64
mov rax, qword [rax]
lea rdx, [rbp - 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
mov qword [rbp + 0x290], rax
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x140005bbb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005bb6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005fe4
call fcn.140008c90
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], r14w
cmp rsi, 0xffffffffffffffff
jne 0x140005c20
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x140005ad4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005c12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400060c5
call fcn.140008c90
jmp 0x140005ad4
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r14w
lea rax, [rbp + 0x1c]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140005c44
lea rdx, [rbp + 0x1c]
lea rcx, [rsp + 0x48]
call fcn.140006900
nop
lea r8, [rsp + 0x48]
mov r15, qword [rsp + 0x48]
mov r12, qword [rsp + 0x60]
cmp r12, 8
cmovae r8, r15
mov r14, qword [rsp + 0x58]
cmp r14, 1
jne 0x140005ca6
mov rdx, r14
lea rax, [0x140001280]
mov rcx, rax
sub r8, rax
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x140005ca6
add rcx, 2
sub rdx, 1
jne 0x140005c90
jmp 0x140005ce8
lea r8, [rsp + 0x48]
cmp r12, 8
cmovae r8, r15
cmp r14, 2
jne 0x140005d8f
mov rdx, r14
lea rax, [0x140001284]
mov rcx, rax
sub r8, rax
nop dword [rax]
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x140005d8f
add rcx, 2
sub rdx, 1
jne 0x140005cd0
cmp r12, 8
jb 0x140005d23
lea rdx, [r12*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x140005d1b
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400060be
mov rcx, r15
call fcn.140008c90
xor r14d, r14d
lea rdx, [rbp - 0x10]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140005c20
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x140005acf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005d85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400060c5
call fcn.140008c90
jmp 0x140005acf
lea r8, [0x14000128c]
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x38]
call fcn.140006c60
mov rbx, rax
lea r9, [rsp + 0x48]
cmp r12, 8
cmovae r9, r15
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x140005e02
lea rsi, [r14 + rcx]
mov qword [rbx + 0x10], rsi
mov rdi, rbx
cmp rdx, 8
jb 0x140005ddb
mov rdi, qword [rbx]
lea rcx, [rdi + rcx*2]
lea r8, [r14 + r14]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
xor r14d, r14d
mov word [rdi + rsi*2], r14w
mov rsi, qword [rbp + 0x290]
mov edi, dword [rbp + 0x288]
jmp 0x140005e22
mov qword [rsp + 0x20], r14
mov rdx, r14
mov rcx, rbx
call fcn.1400072b0
mov rbx, rax
mov r12, qword [rsp + 0x60]
mov r15, qword [rsp + 0x48]
xor r14d, r14d
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
or edi, 1
mov dword [rbp + 0x288], edi
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x140005e8a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005e85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005feb
call fcn.140008c90
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r14w
test byte [rbp - 0x10], 0x10
je 0x140005ed5
cmp r13, qword [rsp + 0x40]
je 0x140005ebf
lea rdx, [rbp - 0x78]
mov rcx, r13
call fcn.1400067a0
add r13, 0x20
mov qword [rsp + 0x38], r13
jmp 0x140005ed5
lea r8, [rbp - 0x78]
mov rdx, r13
lea rcx, [rsp + 0x30]
call fcn.140006dd0
mov r13, qword [rsp + 0x38]
lea r10, [rbp - 0x78]
mov rbx, qword [rbp - 0x78]
mov rdi, qword [rbp - 0x60]
cmp rdi, 8
cmovae r10, rbx
mov rax, qword [rbp - 0x68]
cmp rax, 6
jb 0x140005f59
add rax, 0xfffffffffffffffb
lea r11, [r10 + rax*2]
mov rax, r10
nop
mov rcx, r11
sub rcx, rax
sar rcx, 1
je 0x140005f59
cmp word [rax], 0x57
je 0x140005f1b
add rax, 2
sub rcx, 1
jmp 0x140005f09
mov r8d, 6
lea rcx, [0x140001290]
mov rdx, rcx
mov r9, rax
sub r9, rcx
movzx ecx, word [rdx]
cmp word [r9 + rdx], cx
jne 0x140005fdb
add rdx, 2
sub r8, 1
jne 0x140005f31
sub rax, r10
sar rax, 1
cmp rax, 0xffffffffffffffff
jne 0x140005ff2
cmp rdi, 8
jb 0x140005f95
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140005f8c
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400060b7
mov rcx, rbx
call fcn.140008c90
nop
cmp r12, 8
jb 0x140005fd0
lea rdx, [r12*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x140005fc8
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400060be
mov rcx, r15
call fcn.140008c90
mov edi, dword [rbp + 0x288]
jmp 0x140005d26
add rax, 2
jmp 0x140005f00
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
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp rdi, 8
jb 0x140006038
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000602f
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400060b7
mov rcx, rbx
call fcn.140008c90
nop
cmp r12, 8
jb 0x140006070
lea rdx, [r12*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x140006067
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400060be
mov rcx, r15
call fcn.140008c90
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x1400060ad
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400060a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400060c5
call fcn.140008c90
mov dil, 1
mov rbx, qword [rsp + 0x30]
jmp 0x1400060cf
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
xor dil, dil
test rbx, rbx
je 0x14000611b
mov rdx, r13
mov rcx, rbx
call fcn.140007220
mov rdx, qword [rsp + 0x40]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x140006113
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006113
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140008c90
movzx eax, dil
mov rbx, qword [rsp + 0x380]
add rsp, 0x340
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret