Function at 0x18002d610
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rsi
push r12
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov rsi, rdx
mov rdx, rcx
lea rcx, [rsp + 0x50]
call fcn.18003c180
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x18002d66f
lea rax, [rcx + 2]
cmp rdx, 0xf
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
cmova rax, qword [rsp + 0x50]
mov word [rax + rcx], 0x2a5c
mov byte [rax + rcx + 2], 0
jmp 0x18002d68e
lea r9, [0x18018945c]
mov qword [rsp + 0x20], 2
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.18003e530
cmp qword [rsp + 0x68], 0xf
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x410], rbx
lea rdx, [rbp + 0x90]
cmova rcx, qword [rsp + 0x50]
mov qword [rsp + 0x418], rdi
mov qword [rsp + 0x420], r13
mov qword [rsp + 0x3e8], r14
mov qword [rsp + 0x3e0], r15
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x18002d8d6
xor r13d, r13d
nop dword [rax]
nop dword [rax + rax]
xorps xmm0, xmm0
mov qword [rsp + 0x40], r13
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x48], r13
lea rax, [rbp + 0xbc]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r13b
jne 0x18002d710
lea rdx, [rbp + 0xbc]
lea rcx, [rsp + 0x30]
call fcn.18003e6c0
mov r15, qword [rsp + 0x48]
lea rbx, [rsp + 0x30]
mov r14, qword [rsp + 0x30]
cmp r15, 0xf
mov rdi, qword [rsp + 0x40]
cmova rbx, r14
test rdi, rdi
je 0x18002d798
xor edx, edx
lea rcx, [rbp - 0x70]
mov r8d, 0x100
call sub.VCRUNTIME140.dll_memset
lea rcx, [rdi - 1]
mov byte [rbp - 0x42], 1
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
add rax, rbx
movzx ecx, byte [rax]
cmp byte [rbp + rcx - 0x70], r13b
jne 0x18002d793
nop
cmp rax, rbx
je 0x18002d798
movzx ecx, byte [rax - 1]
dec rax
cmp byte [rbp + rcx - 0x70], r13b
je 0x18002d780
sub rax, rbx
jmp 0x18002d79f
mov rax, 0xffffffffffffffff
lea rcx, [rax + 1]
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], r13
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
cmp rdi, rcx
jb 0x18002d951
sub rdi, rcx
lea rdx, [rsp + 0x30]
mov r8, 0xffffffffffffffff
cmp rdi, r8
cmovb r8, rdi
cmp r15, 0xf
cmova rdx, r14
add rdx, rcx
lea rcx, [rsp + 0x70]
call fcn.18003e6c0
mov rdx, qword [rbp - 0x78]
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
cmp rdx, 0xf
cmova rax, rcx
cmp qword [rbp - 0x80], 3
jne 0x18002d815
cmp word [rax], 0x6663
jne 0x18002d815
cmp byte [rax + 2], 0x67
jne 0x18002d815
mov bl, 1
jmp 0x18002d817
xor bl, bl
cmp rdx, 0xf
jbe 0x18002d84a
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002d845
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002d911
call fcn.1800ec2bc
test bl, bl
je 0x18002d87c
mov rax, qword [rsi + 8]
cmp rax, qword [rsi + 0x10]
je 0x18002d86c
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.18003c180
add qword [rsi + 8], 0x20
jmp 0x18002d87c
lea r8, [rsp + 0x30]
mov rdx, rax
mov rcx, rsi
call fcn.1800400f0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x18002d8b5
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002d8b0
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002d911
call fcn.1800ec2bc
lea rdx, [rbp + 0x90]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x18002d6f0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x18002d91d
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002d918
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002d918
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ec2bc
mov r15, qword [rsp + 0x3e0]
mov r14, qword [rsp + 0x3e8]
mov r13, qword [rsp + 0x420]
mov rdi, qword [rsp + 0x418]
mov rbx, qword [rsp + 0x410]
add rsp, 0x3f0
pop r12
pop rsi
pop rbp
ret
call fcn.18003cc00
int3