Function at 0x18001b610
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [0x180037020]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov rsi, r8
mov r13, rdx
mov r12, rcx
mov qword [rbp - 0x40], rcx
xor ecx, ecx
mov dword [rsp + 0x30], ecx
xorps xmm0, xmm0
movups xmmword [r12], xmm0
mov qword [r12], rcx
mov qword [r12 + 8], rcx
mov qword [r12 + 0x10], rcx
mov dword [rsp + 0x30], 1
mov r15, qword [rdx + 0x10]
movabs rdx, 0x7ffffffffffffffe
mov rax, rdx
sub rax, r15
cmp rax, 2
jb 0x18001babb
mov qword [rsp + 0x38], r13
cmp qword [r13 + 0x18], 8
jb 0x18001b6a4
mov rax, qword [r13]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rcx
lea r14, [r15 + 2]
mov ebx, 7
lea rdi, [rsp + 0x60]
lea ecx, [rbx + 3]
lea rax, [rbx - 8]
cmp r14, rbx
jbe 0x18001b6fd
mov rbx, r14
or rbx, 7
cmp rbx, rdx
jbe 0x18001b6de
mov rbx, rdx
jmp 0x18001b6e5
cmp rbx, rcx
cmovb rbx, rcx
mov rdx, rbx
add rdx, 1
cmovb rdx, rax
call fcn.180006600
mov rdi, rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], rbx
lea rbx, [r15 + r15]
mov r8, rbx
mov rdx, qword [rsp + 0x38]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov dword [rbx + rdi], 0x2a005c
xor ebx, ebx
mov word [rdi + r14*2], bx
mov dword [rsp + 0x30], 3
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 8
jb 0x18001b73f
mov rsi, qword [rsi]
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.180005960
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov dword [rsp + 0x30], 7
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
lea rdx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x38], rax
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x18001b7d2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001b7cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001b7cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180029c7c
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], bx
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x18001b827
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001b822
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001b822
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180029c7c
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], bx
cmp qword [rsp + 0x38], 0xffffffffffffffff
je 0x18001ba80
test byte [rbp - 0x30], 0x10
jne 0x18001ba5e
mov r14, qword [r13 + 0x10]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r14
cmp rax, 1
jb 0x18001bac1
mov r15, r13
cmp qword [r13 + 0x18], 8
jb 0x18001b87c
mov r15, qword [r13]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
lea rsi, [r14 + 1]
mov ebx, 7
lea rdi, [rsp + 0x40]
cmp rsi, rbx
jbe 0x18001b8db
mov rbx, rsi
or rbx, 7
cmp rbx, rcx
jbe 0x18001b8af
mov rbx, rcx
jmp 0x18001b8bc
cmp rbx, 0xa
mov eax, 0xa
cmovb rbx, rax
mov rdx, rbx
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
call fcn.180006600
mov rdi, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rbx
lea rbx, [r14 + r14]
mov r8, rbx
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov eax, 0x5c
mov word [rbx + rdi], ax
xor ebx, ebx
mov word [rdi + rsi*2], bx
mov esi, dword [rsp + 0x30]
or esi, 8
mov dword [rsp + 0x30], esi
lea rax, [rbp - 4]
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x18001b920
mov rcx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x18001b977
lea rdi, [rcx + rdx]
mov qword [rsp + 0x50], rdi
lea rbx, [rsp + 0x40]
cmp r8, 8
cmovae rbx, qword [rsp + 0x40]
lea rcx, [rbx + rcx*2]
lea r8, [rdx + rdx]
lea rdx, [rbp - 4]
call sub.VCRUNTIME140.dll_memmove
xor ecx, ecx
mov word [rbx + rdi*2], cx
lea rax, [rsp + 0x40]
xor ebx, ebx
jmp 0x18001b98a
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 4]
lea rcx, [rsp + 0x40]
call fcn.180006f80
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
or esi, 0x10
mov dword [rsp + 0x30], esi
mov rdx, qword [r12 + 8]
cmp rdx, qword [r12 + 0x10]
je 0x18001b9d3
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm1
mov edx, 7
mov word [rbp - 0x60], bx
add qword [r12 + 8], 0x20
jmp 0x18001b9e3
lea r8, [rbp - 0x60]
mov rcx, r12
call fcn.180021800
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x18001ba20
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001ba1a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001baad
call fcn.180029c7c
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x18001ba5e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001ba59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001bab4
call fcn.180029c7c
lea rdx, [rbp - 0x30]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x18001b846
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rax, r12
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.180029c20
mov rbx, qword [rsp + 0x388]
add rsp, 0x330
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 qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180001540
int3
call fcn.180001540
int3