Function at 0x140009850
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x140023010]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rdi, rdx
mov rsi, rcx
cmp qword [rcx + 0x18], 8
jb 0x14000988c
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x140009bc6
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 3
lea rdx, [0x14001d7f0]
lea rcx, [rsp + 0x40]
call fcn.1400056c0
nop
lea r8, [rsp + 0x40]
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.140009640
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14000991a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009915
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009915
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017264
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
lea rdx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r15d, r15d
mov qword [rsp + 0x30], r15
mov edx, 7
mov qword [rsp + 0x38], rdx
mov word [rsp + 0x20], r15w
cmp rax, 0xffffffffffffffff
je 0x140009b1f
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
lea rax, [rbp - 0x34]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140009980
lea rdx, [rbp - 0x34]
lea rcx, [rsp + 0x40]
call fcn.1400056c0
nop
lea r8, [rsp + 0x40]
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.140009640
mov rbx, rax
lea rax, [rsp + 0x20]
cmp rax, rbx
je 0x140009a30
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1400099fb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400099f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009b5a
call fcn.140017264
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r15w
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x30], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140009a72
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009a6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009b5a
call fcn.140017264
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r15w
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140009ac8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009ac3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009b61
call fcn.140017264
test byte [rbp - 0x60], 0x10
jne 0x140009afc
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x140009aec
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.140002a70
add qword [rdi + 8], 0x20
jmp 0x140009afc
lea r8, [rsp + 0x20]
mov rdx, rax
mov rcx, rdi
call fcn.1400080b0
lea rdx, [rbp - 0x60]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140009960
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140009b6d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009b68
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009b68
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.140017264
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r15w
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140009bc4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009bbf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009bbf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017264
mov al, 1
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140016f60
mov rbx, qword [rsp + 0x340]
add rsp, 0x300
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret