Function at 0x1800427a0
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.180053b30
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x1800427ff
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 0x18004281e
lea r9, [0x1801281ac]
mov qword [rsp + 0x20], 2
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.1800564b0
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 0x180042a66
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 0x1800428a0
lea rdx, [rbp + 0xbc]
lea rcx, [rsp + 0x30]
call fcn.180004310
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 0x180042928
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 0x180042923
nop
cmp rax, rbx
je 0x180042928
movzx ecx, byte [rax - 1]
dec rax
cmp byte [rbp + rcx - 0x70], r13b
je 0x180042910
sub rax, rbx
jmp 0x18004292f
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 0x180042ae1
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.180004310
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 0x1800429a5
cmp word [rax], 0x6663
jne 0x1800429a5
cmp byte [rax + 2], 0x67
jne 0x1800429a5
mov bl, 1
jmp 0x1800429a7
xor bl, bl
cmp rdx, 0xf
jbe 0x1800429da
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800429d5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180042aa1
call fcn.18010374c
test bl, bl
je 0x180042a0c
mov rax, qword [rsi + 8]
cmp rax, qword [rsi + 0x10]
je 0x1800429fc
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.180053b30
add qword [rsi + 8], 0x20
jmp 0x180042a0c
lea r8, [rsp + 0x30]
mov rdx, rax
mov rcx, rsi
call fcn.180058100
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x180042a45
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180042a40
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180042aa1
call fcn.18010374c
lea rdx, [rbp + 0x90]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x180042880
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x180042aad
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180042aa8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180042aa8
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.18010374c
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.180054870
int3