Function at 0x1801c7fc0
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push r12
push r15
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov r15, rdx
mov rdx, rcx
lea rcx, [rsp + 0x70]
call fcn.1801dabb0
mov r8, qword [rbp - 0x78]
mov rcx, qword [rbp - 0x80]
mov rax, r8
sub rax, rcx
cmp rax, 2
jb 0x1801c8020
lea rax, [rcx + 2]
cmp r8, 0x10
mov qword [rbp - 0x80], rax
mov edx, 0x2a5c
lea rax, [rsp + 0x70]
cmovae rax, qword [rsp + 0x70]
mov word [rax + rcx], dx
mov byte [rax + rcx + 2], 0
jmp 0x1801c803f
lea r9, [0x18017d7ec]
mov qword [rsp + 0x20], 2
mov edx, 2
lea rcx, [rsp + 0x70]
call fcn.1801dce40
cmp qword [rbp - 0x78], 0x10
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x410], rbx
lea rdx, [rbp + 0x90]
cmovae rcx, qword [rsp + 0x70]
mov qword [rsp + 0x418], rsi
mov qword [rsp + 0x420], rdi
mov qword [rsp + 0x3e8], r13
mov qword [rsp + 0x3e0], r14
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x1801c8373
movabs r13, 0x7fffffffffffffff
xor eax, eax
xorps xmm0, xmm0
mov qword [rsp + 0x40], rax
mov ecx, 0x16
mov qword [rsp + 0x48], rax
mov rdi, 0xffffffffffffffff
lea rax, [rbp + 0xbc]
movups xmmword [rsp + 0x30], xmm0
inc rdi
cmp byte [rax + rdi], 0
jne 0x1801c80c2
cmp rdi, r13
ja 0x1801c83ee
mov qword [rsp + 0x48], 0xf
cmp rdi, 0x10
jae 0x1801c8103
mov r8, rdi
mov qword [rsp + 0x40], rdi
lea rdx, [rbp + 0xbc]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rdi + 0x30], 0
jmp 0x1801c814d
mov rsi, rdi
or rsi, 0xf
cmp rsi, r13
jbe 0x1801c8114
mov rsi, r13
jmp 0x1801c811c
cmp rsi, 0x16
cmovb rsi, rcx
lea rdx, [rsi + 1]
call fcn.1801887d0
mov r8, rdi
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0xbc]
mov qword [rsp + 0x40], rdi
mov rcx, rax
mov qword [rsp + 0x48], rsi
mov rbx, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], 0
cmp qword [rsp + 0x48], 0x10
lea rbx, [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
cmovae rbx, qword [rsp + 0x30]
test rsi, rsi
je 0x1801c81b8
xor edx, edx
lea rcx, [rbp - 0x70]
mov r8d, 0x100
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsi - 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], 0
jne 0x1801c81b3
nop dword [rax]
cmp rax, rbx
je 0x1801c81b8
movzx ecx, byte [rax - 1]
dec rax
cmp byte [rbp + rcx - 0x70], 0
je 0x1801c81a0
sub rax, rbx
jmp 0x1801c81bf
mov rax, 0xffffffffffffffff
lea rcx, [rax + 1]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
cmp rsi, rcx
jb 0x1801c83f4
sub rsi, rcx
lea r14, [rsp + 0x30]
mov rdi, 0xffffffffffffffff
cmp rsi, rdi
cmovb rdi, rsi
cmp qword [rsp + 0x48], 0x10
cmovae r14, qword [rsp + 0x30]
add r14, rcx
cmp rdi, r13
ja 0x1801c83ee
cmp rdi, 0x10
jae 0x1801c823c
mov r8, rdi
mov qword [rsp + 0x60], rdi
mov rdx, r14
mov qword [rsp + 0x68], 0xf
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rdi + 0x50], 0
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x50]
jmp 0x1801c8287
mov rbx, rdi
or rbx, 0xf
cmp rbx, r13
jbe 0x1801c824d
mov rbx, r13
jmp 0x1801c825a
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rdx, [rbx + 1]
call fcn.1801887d0
mov r8, rdi
mov qword [rsp + 0x50], rax
mov rdx, r14
mov qword [rsp + 0x60], rdi
mov rcx, rax
mov qword [rsp + 0x68], rbx
mov rsi, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rdi], 0
cmp rbx, 0x10
lea rax, [rsp + 0x50]
cmovae rax, rsi
cmp rdi, 3
jne 0x1801c82ac
cmp word [rax], 0x6663
jne 0x1801c82ac
cmp byte [rax + 2], 0x67
jne 0x1801c82ac
mov dil, 1
jmp 0x1801c82af
xor dil, dil
cmp rbx, 0x10
jb 0x1801c82e6
lea rdx, [rbx + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1801c82de
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801c83ad
mov rcx, rsi
call fcn.18028b230
test dil, dil
je 0x1801c8319
mov rax, qword [r15 + 8]
cmp rax, qword [r15 + 0x10]
je 0x1801c8309
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.1801dabb0
add qword [r15 + 8], 0x20
jmp 0x1801c8319
lea r8, [rsp + 0x30]
mov rdx, rax
mov rcx, r15
call fcn.1801de870
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1801c8352
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801c834d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801c83ad
call fcn.18028b230
lea rdx, [rbp + 0x90]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1801c809b
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x1801c83b9
mov rcx, qword [rsp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801c83b4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801c83b4
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.18028b230
mov r14, qword [rsp + 0x3e0]
mov r13, qword [rsp + 0x3e8]
mov rdi, qword [rsp + 0x420]
mov rsi, qword [rsp + 0x418]
mov rbx, qword [rsp + 0x410]
add rsp, 0x3f0
pop r15
pop r12
pop rbp
ret
call fcn.180188110
int3
call fcn.1801db6f0
int3