Function at 0x140045cc8
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
sub rsp, 0x4a0
mov rax, qword [0x14009e140]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov rcx, qword [str.P5_n_]
lea r12, str.P5_n_
lea r13, [0x140008f68]
cmp rcx, r12
je 0x140045d2d
test byte [rcx + 0x1c], 4
je 0x140045d2d
cmp byte [rcx + 0x19], 5
jb 0x140045d2d
mov rcx, qword [rcx + 0x10]
mov edx, 0x3b
mov r8, r13
call fcn.14000ffa8
mov r9, qword [0x1400a40c8]
lea r8, [0x14000a850]
lea rcx, [rsp + 0x280]
mov r9, qword [r9 + 0x60]
xor ebx, ebx
mov edx, 0x104
mov edi, ebx
call fcn.1400118ac
cmp eax, ebx
jge 0x140045d8a
mov rcx, qword [str.P5_n_]
cmp rcx, r12
je 0x140045d83
test byte [rcx + 0x1c], 4
je 0x140045d83
cmp byte [rcx + 0x19], 2
jb 0x140045d83
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x3c]
mov r9d, eax
mov r8, r13
call fcn.1400100e0
xor eax, eax
jmp 0x140045f3d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140045de2
mov rcx, qword [str.P5_n_]
cmp rcx, r12
je 0x140045dd8
test byte [rcx + 0x1c], 4
je 0x140045dd8
cmp byte [rcx + 0x19], 3
jb 0x140045dd8
mov r9, qword [0x1400a40c8]
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x3e]
mov r9, qword [r9 + 0x60]
mov r8, r13
call fcn.14001011c
mov eax, 1
jmp 0x140045f3d
mov r9, qword [0x1400a40c8]
lea rax, [rsp + 0x5c]
lea r8, [0x140009d80]
mov r9, qword [r9 + 0x60]
lea rcx, [rsp + 0x280]
mov edx, 0x104
mov qword [rsp + 0x20], rax
call fcn.1400118ac
cmp eax, ebx
jge 0x140045e51
mov rcx, qword [str.P5_n_]
cmp rcx, r12
je 0x140045ed5
test byte [rcx + 0x1c], 4
je 0x140045ed5
cmp byte [rcx + 0x19], 2
jb 0x140045ed5
mov rcx, qword [rcx + 0x10]
mov edx, 0x3e
mov r9d, eax
mov r8, r13
call fcn.1400100e0
jmp 0x140045ed5
mov rcx, qword [str.P5_n_]
cmp rcx, r12
je 0x140045e82
test byte [rcx + 0x1c], 4
je 0x140045e82
cmp byte [rcx + 0x19], 5
jb 0x140045e82
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x280]
mov edx, 0x3f
mov r8, r13
call fcn.14001011c
lea rcx, [rsp + 0x280]
call fcn.140045a40
cmp eax, ebx
jne 0x140045eda
mov rax, qword [str.P5_n_]
cmp rax, r12
je 0x140045ed5
test byte [rax + 0x1c], 4
je 0x140045ed5
cmp byte [rax + 0x19], 2
jb 0x140045ed5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.P5_n_]
lea r9, [rsp + 0x280]
mov rcx, qword [rcx + 0x10]
mov edx, 0x40
mov r8, r13
mov dword [rsp + 0x20], eax
call fcn.140011a18
mov edi, 1
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, ebx
jne 0x140045de2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp eax, ebx
jne 0x140045f36
mov rax, qword [str.P5_n_]
cmp rax, r12
je 0x140045f36
test byte [rax + 0x1c], 4
je 0x140045f36
cmp byte [rax + 0x19], 2
jb 0x140045f36
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.P5_n_]
mov edx, 0x41
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r13
call fcn.1400100e0
cmp edi, ebx
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.14008c5b0
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r12, qword [r11 + 0x28]
mov rsp, r11
pop r13
ret