Function at 0x140003840
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov r15, rdx
mov r14, rcx
xor r13d, r13d
mov dword [rsp + 0x40], r13d
mov qword [rcx], r13
mov qword [rcx + 8], r13
mov qword [rcx + 0x10], r13
mov dword [rsp + 0x40], 1
lea r8, [0x1400db09c]
lea rcx, [rsp + 0x48]
call fcn.140002420
nop
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x140003a1c
mov edx, 0x16
movabs rcx, 0x7fffffffffffffff
test byte [rsp + 0x70], 0x10
jne 0x1400039fc
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r13
lea rax, [rbp - 0x64]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140003900
cmp rbx, rcx
ja 0x140003ae1
cmp rbx, 0x10
jae 0x14000393e
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], 0xf
mov r8, rbx
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x20], 0
jmp 0x14000398a
mov rsi, rbx
or rsi, 0xf
cmp rsi, rcx
jbe 0x14000394f
mov rsi, rcx
jmp 0x140003957
cmp rsi, 0x16
cmovb rsi, rdx
lea rdx, [rsi + 1]
lea rcx, [rsp + 0x20]
call fcn.140004080
mov rdi, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
mov r8, rbx
lea rdx, [rbp - 0x64]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rbx], 0
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x1400039b6
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rdx + 0x10], xmm1
mov edx, 0xf
mov byte [rsp + 0x20], 0
add qword [r14 + 8], 0x20
jmp 0x1400039c8
lea r8, [rsp + 0x20]
mov rcx, r14
call fcn.1400026c0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400039fc
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400039f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003a57
call fcn.14008fcf4
lea rdx, [rsp + 0x70]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1400038c5
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140003a63
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003a5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003a5e
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.14008fcf4
movdqa xmm0, xmmword [0x1400db100]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x140003aac
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x140003aa7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003ada
mov rcx, r8
call fcn.14008fcf4
mov qword [r15 + 0x10], r13
mov byte [r15], 0
mov qword [r15 + 0x18], 0xf
mov rax, r14
mov rbx, qword [rsp + 0x200]
add rsp, 0x1b0
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 fcn.140004020
int3