Function at 0x140045470
Capabilities:
Enumerate files on windows
Enumerate files recursively
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x1400e70c0]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rbx, rdx
mov rdi, rcx
lea r8, [0x1400d1c2c]
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.14004a850
cmp qword [rax + 0x18], 7
jbe 0x1400454c2
mov rax, qword [rax]
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x140045517
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045512
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140045512
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b66d0
movdqa xmm0, xmmword [0x1400d3da0]
movdqu xmmword [rsp + 0x30], xmm0
xor eax, eax
mov word [rsp + 0x20], ax
cmp rsi, 0xffffffffffffffff
jne 0x140045595
lea rdx, [0x1400d1c30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.14004a9d0
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 7
jbe 0x140045553
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.14004b7b0
lea rdx, [0x14004abb0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400b6410
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
xor r14b, r14b
nop dword [rax + rax]
lea r8, [rbp - 0x54]
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.14004a850
nop
test byte [rbp - 0x80], 0x10
je 0x140045631
cmp word [rbp - 0x54], 0x2e
je 0x14004574a
lea r8, [0x1400d1c7c]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.14004a850
nop
mov rdx, rbx
mov rcx, rax
call fcn.140045470
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14004574a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045627
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400457d4
call fcn.1400b66d0
jmp 0x14004574a
mov r8, qword [rbx]
mov r11, qword [rbx + 8]
cmp r8, r11
je 0x14004574a
lea rax, [rbp - 0x54]
mov r10, 0xffffffffffffffff
nop dword [rax]
inc r10
cmp word [rax + r10*2], 0
jne 0x140045650
nop dword [rax + rax]
mov rdx, qword [r8 + 0x10]
mov r9, r8
cmp qword [r8 + 0x18], 7
jbe 0x140045671
mov r9, qword [r8]
cmp rdx, r10
jne 0x14004573d
lea rax, [rbp - 0x54]
test rdx, rdx
je 0x1400456a8
lea rcx, [rbp - 0x54]
sub r9, rcx
nop word [rax + rax]
movzx ecx, word [r9 + rax]
cmp cx, word [rax]
jne 0x14004573d
add rax, 2
sub rdx, 1
jne 0x140045690
lea rdx, [0x1400d1c80]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.14004a9d0
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
mov rcx, rax
call fcn.14004b7b0
lea rdx, [0x14004abb0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov r14b, 1
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x14004579d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004572d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400457db
call fcn.1400b66d0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x1400457af
add r8, 0x20
cmp r8, r11
jne 0x140045660
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140045788
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045783
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400457db
call fcn.1400b66d0
lea rdx, [rbp - 0x80]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400455a0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
test r14b, r14b
je 0x14004556e
mov r9d, Ordinal_50
lea r8, str.Warning
lea rdx, str.Delete_all_reverse_engineering_tools_before_opening_the_loader
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3