Function at 0x140007c24
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x2b0]
sub rsp, 0x3b0
mov rax, qword [0x14002b418]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
xor r12d, r12d
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
je 0x140007c67
mov qword [rdx], r12
test rdi, rdi
je 0x140007e92
cmp word [rcx], r12w
je 0x140007e92
lea rcx, [rsp + 0x40]
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x10], r12
call fcn.140006634
lea r13, vtable.std::_Func_impl_no_alloc_int____cdecl___void____ptr64___void__void____ptr64_.0
mov qword [rbp - 0x60], r12
cmp qword [sym.imp.KERNEL32.dll_CloseHandle], r12
je 0x140007cba
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x68]
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x68], r13
xor r9d, r9d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov edx, 0x80
mov rcx, rdi
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdx, rax
lea r8, [rsp + 0x68]
lea rcx, [rbp - 0x50]
call fcn.140007ec0
test al, al
jne 0x140007cfc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp - 0x50]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140007d5a
xorps xmm0, xmm0
lea rdx, [rsp + 0x68]
xor eax, eax
mov r14b, r12b
movups xmmword [rsp + 0x68], xmm0
mov dword [rbp - 0x68], eax
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rbp - 0x78], xmm0
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x140007d51
test byte [rsp + 0x68], 0x10
jne 0x140007d51
test rbx, rbx
je 0x140007d4e
mov ecx, dword [rbp - 0x78]
mov eax, dword [rbp - 0x74]
shl rcx, 0x20
or rcx, rax
mov qword [rbx], rcx
mov r14b, 1
mov esi, dword [rsp + 0x50]
jmp 0x140007e34
mov esi, dword [rsp + 0x50]
test esi, esi
je 0x140007d75
mov esi, r12d
cmp qword [rsp + 0x48], r12
je 0x140007d75
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x48]
xor edx, edx
lea rcx, [rbp + 0x50]
mov r8d, 0x250
mov r14b, r12b
call fcn.140008e80
mov qword [rbp - 0x60], r12
cmp qword [sym.imp.KERNEL32.dll_FindClose], r12
je 0x140007db0
mov rax, qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x68]
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x68], r13
lea rdx, [rbp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdx, rax
lea r8, [rsp + 0x68]
lea rcx, [rbp]
call fcn.140007b0c
mov rcx, qword [rbp]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140007e0e
test byte [rbp + 0x50], 0x10
je 0x140007df6
lea rdx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140007e0e
mov rcx, qword [rbp]
jmp 0x140007ddc
mov r14b, 1
test rbx, rbx
je 0x140007e0e
mov ecx, dword [rbp + 0x6c]
mov eax, dword [rbp + 0x70]
shl rcx, 0x20
or rcx, rax
mov qword [rbx], rcx
lea rcx, [rbp]
call fcn.1400010fc
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x140007e34
mov rax, qword [rcx]
lea rdx, [rbp + 8]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x40], r12
test esi, esi
je 0x140007e48
cmp qword [rsp + 0x48], r12
je 0x140007e48
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x48]
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x10]
lea rax, [rdx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140007e77
test rcx, rcx
je 0x140007e8d
mov qword [rsp + 0x60], rdx
lea rdx, [rsp + 0x60]
mov qword [rbp - 0x50], r12
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140007e8d
mov r8, qword [rcx]
lea rax, [rbp - 0x48]
cmp rcx, rax
setne dl
call qword [r8 + 0x20]
mov al, r14b
jmp 0x140007e94
xor al, al
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.140008010
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret