Function at 0x14004d4e0
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
lea rbp, [rsp - 0x6d8]
sub rsp, 0x7d8
mov rax, qword [0x1402a0480]
xor rax, rsp
mov qword [rbp + 0x6b0], rax
xor r14d, r14d
mov r13, r9
mov dword [rcx], r14d
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
call fcn.140005800
mov qword [rsp + 0x38], 2
lea rdx, [rsp + 0x30]
mov qword [rsi + 8], rax
xor r8d, r8d
lea rax, [0x1401a9cc0]
mov rcx, rbx
mov qword [rsp + 0x30], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.140021470
cmp rax, 0xffffffffffffffff
je 0x14004d8f0
cmp qword [rbx + 8], 2
mov rax, qword [rbx]
jne 0x14004d585
cmp byte [rax], 0x2f
jne 0x14004d578
cmp byte [rax + 1], 0x3f
jne 0x14004d578
mov eax, r14d
jmp 0x14004d57d
sbb eax, eax
or eax, 1
test eax, eax
je 0x14004d8f0
cmp qword [rbx + 8], 2
mov rax, qword [rbx]
jne 0x14004d5ac
cmp byte [rax], 0x2d
jne 0x14004d59f
cmp byte [rax + 1], 0x3f
jne 0x14004d59f
mov eax, r14d
jmp 0x14004d5a4
sbb eax, eax
or eax, 1
test eax, eax
je 0x14004d8f0
cmp qword [rbx + 8], 4
jb 0x14004d5e6
mov rdx, qword [rbx]
lea r8, [0x1401a8684]
mov rcx, r14
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x14004d5d9
cmp rcx, 4
jne 0x14004d5c0
mov eax, r14d
jmp 0x14004d5de
sbb eax, eax
or eax, 1
test eax, eax
je 0x14004d8f0
movups xmm0, xmmword [rbx]
lea rax, [rbp + 0x258]
mov qword [rsp + 0x7d0], r12
lea r8, [rbp + 0x240]
mov qword [rbp + 0x240], rax
lea rdx, [rsp + 0x30]
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x40]
mov qword [rbp + 0x248], r14
mov qword [rbp + 0x250], 0x104
call fcn.140028a10
mov rcx, qword [rbp + 0x240]
movups xmm0, xmmword [rax]
movups xmmword [rsi], xmm0
cmp dword [rsi], r14d
jne 0x14004d8b4
lea rdx, [rbp + 0x460]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x14004d668
mov rdx, qword [rbx]
mov rcx, rdi
call fcn.14004db40
jmp 0x14004d8ad
mov r14, qword [rbx]
lea rcx, [rbp + 0x18]
mov qword [rsp + 0x7c8], r15
xor eax, eax
mov r15, qword [rbx + 8]
add r15, r14
mov qword [rbp], rcx
mov rbx, r15
mov qword [rbp + 8], rax
sub rbx, r14
mov qword [rbp + 0x10], 0x104
cmp rbx, 0x104
jbe 0x14004d6bb
lea r9d, [rax + 1]
mov r8, rbx
lea rdx, [rbp + 0x18]
lea rcx, [rbp]
call fcn.140022b50
mov rax, qword [rbp + 8]
mov rcx, qword [rbp]
cmp r14, r15
mov r15, qword [rsp + 0x7c8]
je 0x14004d6da
add rcx, rax
mov r8, rbx
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp + 8]
add rax, rbx
lea rcx, [rbp]
xor edx, edx
mov qword [rbp + 8], rax
call fcn.14002e4a0
movsxd r14, dword [rbp + 8]
lea rax, [rbp + 0x138]
mov qword [rbp + 0x128], 0
mov qword [rbp + 0x120], rax
mov r8, 0xffffffffffffffff
lea rax, [rbp + 0x48c]
mov qword [rbp + 0x130], 0x104
inc r8
cmp word [rax + r8*2], 0
jne 0x14004d722
lea r9, [rbp + 0x120]
lea rdx, [rbp + 0x48c]
lea rcx, [rsp + 0x40]
call fcn.1400289e0
movups xmm0, xmmword [rax]
movups xmmword [rsi], xmm0
cmp dword [rsi], 0
jne 0x14004d878
mov rax, qword [rbp + 0x120]
lea r9, [rbp - 0x60]
mov qword [rsp + 0x50], rax
lea r8, [rbp - 0x38]
mov rax, qword [rbp + 0x128]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x58], rax
lea rcx, [rbp]
lea rax, [rsp + 0x78]
mov word [rbp - 0x68], 0x101
mov qword [rsp + 0x20], rax
mov word [rbp - 0x40], 0x101
mov word [rbp - 0x18], 0x101
mov word [rsp + 0x70], 0x105
call fcn.140028bb0
mov rax, qword [rbp]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x10]
mov rax, qword [rbp + 8]
mov rcx, r13
mov qword [rsp + 0x38], rax
call fcn.14003f220
mov r8d, dword [rdi + 8]
inc r8
mov rbx, qword [rax]
mov eax, dword [rdi + 0xc]
cmp r8, rax
jbe 0x14004d7ec
lea rdx, [rdi + 0x10]
mov r9d, 8
mov rcx, rdi
call fcn.140022a30
mov ecx, dword [rdi + 8]
mov rax, qword [rdi]
mov qword [rax + rcx*8], rbx
mov rbx, r14
inc dword [rdi + 8]
mov rcx, qword [rbp + 8]
cmp r14, rcx
je 0x14004d845
jb 0x14004d841
cmp qword [rbp + 0x10], rbx
jae 0x14004d827
mov r9d, 1
lea rdx, [rbp + 0x18]
mov r8, rbx
lea rcx, [rbp]
call fcn.140022b50
mov rcx, qword [rbp + 8]
mov rax, qword [rbp]
add rcx, rax
lea r8, [r14 + rax]
cmp rcx, r8
je 0x14004d841
sub r8, rcx
xor edx, edx
call fcn.14018500e
mov qword [rbp + 8], rbx
mov rcx, qword [rbp + 0x120]
lea rax, [rbp + 0x138]
cmp rcx, rax
je 0x14004d85e
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rdx, [rbp + 0x460]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14004d6f0
jmp 0x14004d891
mov rcx, qword [rbp + 0x120]
lea rax, [rbp + 0x138]
cmp rcx, rax
je 0x14004d891
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp]
lea rax, [rbp + 0x18]
cmp rcx, rax
je 0x14004d8ad
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x240]
lea rax, [rbp + 0x258]
cmp rcx, rax
je 0x14004d8c6
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r12, qword [rsp + 0x7d0]
mov rax, rsi
mov rcx, qword [rbp + 0x6b0]
xor rcx, rsp
call fcn.1401842c0
add rsp, 0x7d8
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r8d, dword [rdi + 8]
mov eax, dword [rdi + 0xc]
inc r8
mov rbx, qword [rbx]
cmp r8, rax
jbe 0x14004d914
lea rdx, [rdi + 0x10]
mov r9d, 8
mov rcx, rdi
call fcn.140022a30
mov ecx, dword [rdi + 8]
mov rax, qword [rdi]
mov qword [rax + rcx*8], rbx
mov rax, rsi
inc dword [rdi + 8]
jmp 0x14004d8d1