Function at 0x18005a480
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r12
mov qword [rsp + 0x20], r15
push rbp
lea rbp, [rsp - 0x5c0]
sub rsp, 0x6c0
mov rax, qword [0x180097010]
xor rax, rsp
mov qword [rbp + 0x5b0], rax
xor r12d, r12d
mov rax, qword [0x1800a7f08]
cmp qword [0x1800a7f00], rax
cmovne rax, qword [0x1800a7f00]
mov qword [0x1800a7f08], rax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x3a0]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rbp + 0x3a0]
mov rcx, qword [0x1800979e0]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
lea rax, [rbp + 0x3a0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r12w
jne 0x18005a523
lea rdx, [rbp + 0x3a0]
lea rcx, [rsp + 0x58]
call fcn.18005ade0
nop
lea rbx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
test rdi, rdi
je 0x18005a630
mov r15d, pe_nt_image_headers64
mov r8d, r15d
xor edx, edx
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x18008c800]
lea rdx, [0x18008c804]
movzx eax, word [rcx]
cmp ax, r15w
jae 0x18005a5cc
movzx eax, al
mov byte [rbp + rax - 0x80], 1
add rcx, 2
cmp rcx, rdx
jne 0x18005a580
lea rcx, [rdi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea r8, [rbx + rax*2]
movzx eax, word [r8]
cmp ax, r15w
jae 0x18005a5c1
cmp byte [rbp + rax - 0x80], 0
jne 0x18005a628
cmp r8, rbx
je 0x18005a630
sub r8, 2
jmp 0x18005a5b0
lea rcx, [rdi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea r8, [rbx + rax*2]
mov r9d, 0x2f
nop dword [rax + rax]
mov ecx, 2
movzx edx, word [r8]
lea rax, [0x18008c800]
cmp r9w, dx
je 0x18005a628
cmp rcx, 1
je 0x18005a61d
dec rcx
add rax, 2
cmp word [rax], dx
jne 0x18005a606
test rax, rax
jne 0x18005a628
cmp r8, rbx
je 0x18005a630
sub r8, 2
jmp 0x18005a5f0
sub r8, rbx
sar r8, 1
jmp 0x18005a637
mov r8, 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
cmp rdi, r8
cmovb r8, rdi
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.18005ade0
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x18005a6af
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005a6aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005a6aa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005d7fc
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rsp + 0x68], xmm1
lea r8, [rsp + 0x58]
movq rcx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 8
cmovae r8, rcx
lea rdx, str.Scanning__ws
lea rcx, str.PluginInterface::LoadPlugins
call fcn.18004e880
mov rdi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
sub rax, rdi
cmp rax, 6
jb 0x18005a73e
lea rax, [rdi + 6]
mov qword [rsp + 0x68], rax
lea rbx, [rsp + 0x58]
cmp rcx, 8
cmovae rbx, qword [rsp + 0x58]
lea rcx, [rbx + rdi*2]
mov r8d, 0xc
lea rdx, str..ehp
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2 + 0xc], r12w
jmp 0x18005a756
mov qword [rsp + 0x20], 6
mov edx, 6
lea rcx, [rsp + 0x58]
call fcn.18005af20
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
lea rdx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18005a886
test byte [rbp + 0x150], 0x10
jne 0x18005a86e
xor edx, edx
mov r8d, 0x1c8
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x17c]
lea rcx, [rbp - 0x80]
call fcn.18005aad0
test al, al
je 0x18005a86e
mov rdx, qword [0x1800a7f08]
cmp rdx, qword [0x1800a7f10]
je 0x18005a865
lea rax, [rbp - 0x80]
mov ecx, 3
nop dword [rax]
nop dword [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rdx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rcx, 1
jne 0x18005a7e0
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm1
mov rax, qword [rax + 0x40]
mov qword [rdx + 0x40], rax
add qword [0x1800a7f08], 0x1c8
jmp 0x18005a86e
lea r8, [rbp - 0x80]
call fcn.18005b100
lea rdx, [rbp + 0x150]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x18005a781
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x18005a8cb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005a8c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005a8c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005d7fc
mov rcx, qword [rbp + 0x5b0]
xor rcx, rsp
call fcn.18005d7a0
lea r11, [rsp + 0x6c0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov r15, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret