Function at 0x140008d80
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xa78
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1d6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa98]
mov ecx, 0x18
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x308], 0
mov qword [rbp + 0x328], 0
mov qword [rbp + 0x348], 0
mov qword [rbp + 0x368], 0
mov qword [rbp + 0x388], 0xffffffffffffffff
mov rdx, qword [rbp + 0xa70]
lea rcx, str.SearchFiles:__lls_n
call fcn.140005640
lea rax, [rbp + 8]
mov qword [rbp + 0x10], rax
mov rax, qword [rbp + 0x10]
mov qword [rbp + 8], rax
cmp qword [rbp + 0x38], 0
jne 0x140008e40
jmp 0x1400091bf
mov ecx, 0x208
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, qword [rbp + 0x38]
mov qword [rcx], rax
mov r8d, 0x208
xor edx, edx
mov rax, qword [rbp + 0x38]
mov rcx, qword [rax]
call sub.VCRUNTIME140.dll_memset
mov r8, qword [rbp + 0xa70]
mov edx, 0x104
mov rax, qword [rbp + 0x38]
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rax, [rbp + 8]
mov qword [rbp + 0x678], rax
mov rax, qword [rbp + 0x678]
mov rax, qword [rax + 8]
mov qword [rbp + 0x658], rax
mov rax, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x678]
mov qword [rax + 8], rcx
mov rax, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x658]
mov qword [rax + 0x10], rcx
mov rax, qword [rbp + 0x38]
add rax, 8
mov rcx, qword [rbp + 0x658]
mov qword [rcx], rax
mov rax, qword [rbp + 0x38]
add rax, 8
mov rcx, qword [rbp + 0x678]
mov qword [rcx + 8], rax
lea rax, [rbp + 8]
cmp qword [rbp + 8], rax
je 0x1400091bf
lea rax, [rbp + 8]
cmp qword [rbp + 0x10], rax
je 0x1400091bf
mov rax, qword [rbp + 8]
sub rax, 8
mov qword [rbp + 0x58], rax
cmp qword [rbp + 0x58], 0
jne 0x140008f13
jmp 0x1400091bf
mov rax, qword [rbp + 0x58]
mov rax, qword [rax]
mov qword [rbp + 0x308], rax
mov rcx, qword [rbp + 0x308]
call fcn.140008cc0
mov qword [rbp + 0x328], rax
mov rcx, qword [rbp + 0x308]
call fcn.1400089d0
lea rdx, [rbp + 0xa0]
mov rcx, qword [rbp + 0x328]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbp + 0x388], rax
cmp qword [rbp + 0x388], 0xffffffffffffffff
jne 0x140008fb4
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov qword [rbp + 0x6b8], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax + 8]
mov qword [rbp + 0x698], rax
mov rax, qword [rbp + 0x698]
mov rcx, qword [rbp + 0x6b8]
mov qword [rax], rcx
mov rax, qword [rbp + 0x6b8]
mov rcx, qword [rbp + 0x698]
mov qword [rax + 8], rcx
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140008edf
lea rdx, [0x1400109c0]
lea rcx, [rbp + 0xcc]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140008ff3
lea rdx, [0x1400109c4]
lea rcx, [rbp + 0xcc]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140008ff3
mov eax, dword [rbp + 0xa0]
and eax, 0x400
test eax, eax
je 0x140008ff8
jmp 0x14000912d
mov eax, dword [rbp + 0xa0]
and eax, 0x10
test eax, eax
je 0x1400090b6
lea rcx, [rbp + 0xcc]
call fcn.1400087a0
test eax, eax
je 0x1400090b6
lea rdx, [rbp + 0xcc]
mov rcx, qword [rbp + 0x308]
call fcn.140008be0
mov qword [rbp + 0x348], rax
mov ecx, 0x18
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x78]
mov rcx, qword [rbp + 0x348]
mov qword [rax], rcx
lea rax, [rbp + 8]
mov qword [rbp + 0x6f8], rax
mov rax, qword [rbp + 0x6f8]
mov rax, qword [rax + 8]
mov qword [rbp + 0x6d8], rax
mov rax, qword [rbp + 0x78]
mov rcx, qword [rbp + 0x6f8]
mov qword [rax + 8], rcx
mov rax, qword [rbp + 0x78]
mov rcx, qword [rbp + 0x6d8]
mov qword [rax + 0x10], rcx
mov rax, qword [rbp + 0x78]
add rax, 8
mov rcx, qword [rbp + 0x6d8]
mov qword [rcx], rax
mov rax, qword [rbp + 0x78]
add rax, 8
mov rcx, qword [rbp + 0x6f8]
mov qword [rcx + 8], rax
jmp 0x14000912d
lea rcx, [rbp + 0xcc]
call fcn.1400088c0
test eax, eax
je 0x14000912d
lea rdx, [rbp + 0xcc]
mov rcx, qword [rbp + 0x308]
call fcn.140008be0
mov qword [rbp + 0x368], rax
mov edx, 0x290
lea rcx, [rbp + 0x3b0]
call fcn.140005570
mov rax, qword [rbp + 0x368]
mov qword [rbp + 0x3b0], rax
mov r9, qword [rbp + 0xa80]
mov r8, qword [rbp + 0xa78]
mov rdx, qword [rbp + 0xa88]
lea rcx, [rbp + 0x3b0]
call fcn.140003fa0
mov rcx, qword [rbp + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rdx, [rbp + 0xa0]
mov rcx, qword [rbp + 0x388]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140008fb4
mov rcx, qword [rbp + 0x328]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov qword [rbp + 0x738], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax + 8]
mov qword [rbp + 0x718], rax
mov rax, qword [rbp + 0x718]
mov rcx, qword [rbp + 0x738]
mov qword [rax], rcx
mov rax, qword [rbp + 0x738]
mov rcx, qword [rbp + 0x718]
mov qword [rax + 8], rcx
mov rax, qword [rbp + 0x58]
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x388]
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x140008edf
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.14000a0a0
lea rsp, [rbp + 0xa58]
pop rdi
pop rbp
ret