Function at 0x1800489c0
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.180064cd0
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x180048a1f
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 0x180048a3e
lea r9, [0x18026f8dc]
mov qword [rsp + 0x20], 2
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.180067120
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 0x180048c86
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 0x180048ac0
lea rdx, [rbp + 0xbc]
lea rcx, [rsp + 0x30]
call fcn.1800073e0
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 0x180048b48
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 0x180048b43
nop
cmp rax, rbx
je 0x180048b48
movzx ecx, byte [rax - 1]
dec rax
cmp byte [rbp + rcx - 0x70], r13b
je 0x180048b30
sub rax, rbx
jmp 0x180048b4f
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 0x180048d01
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.1800073e0
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 0x180048bc5
cmp word [rax], 0x6663
jne 0x180048bc5
cmp byte [rax + 2], 0x67
jne 0x180048bc5
mov bl, 1
jmp 0x180048bc7
xor bl, bl
cmp rdx, 0xf
jbe 0x180048bfa
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180048bf5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180048cc1
call fcn.180114e9c
test bl, bl
je 0x180048c2c
mov rax, qword [rsi + 8]
cmp rax, qword [rsi + 0x10]
je 0x180048c1c
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.180064cd0
add qword [rsi + 8], 0x20
jmp 0x180048c2c
lea r8, [rsp + 0x30]
mov rdx, rax
mov rcx, rsi
call fcn.180069030
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x180048c65
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180048c60
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180048cc1
call fcn.180114e9c
lea rdx, [rbp + 0x90]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x180048aa0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x180048ccd
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180048cc8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180048cc8
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.180114e9c
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.180065890
int3