Function at 0x140046fe0
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 [0x1400e90c0]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rbx, rdx
mov rdi, rcx
lea r8, [0x1400d3c5c]
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.14004af30
cmp qword [rax + 0x18], 7
jbe 0x140047032
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 0x140047087
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047082
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140047082
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7e8c
movdqa xmm0, xmmword [0x1400d5c40]
movdqu xmmword [rsp + 0x30], xmm0
xor eax, eax
mov word [rsp + 0x20], ax
cmp rsi, 0xffffffffffffffff
jne 0x140047110
lea rdx, [0x1400d3c60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.14004b0c0
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 7
jbe 0x1400470c3
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.14004bdc0
lea rdx, [0x14004b2a0]
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.1400b7bd0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
lea r8, [rbp - 0x54]
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.14004af30
nop
test byte [rbp - 0x80], 0x10
je 0x1400471a1
cmp word [rbp - 0x54], 0x2e
je 0x1400472d7
lea r8, [0x1400d3cac]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.14004af30
nop
mov rdx, rbx
mov rcx, rax
call fcn.140046fe0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x1400472d7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047197
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047338
call fcn.1400b7e8c
jmp 0x1400472d7
mov r8, qword [rbx]
mov r11, qword [rbx + 8]
cmp r8, r11
je 0x1400472d7
lea rax, [rbp - 0x54]
mov r10, 0xffffffffffffffff
nop dword [rax]
inc r10
cmp word [rax + r10*2], 0
jne 0x1400471c0
nop dword [rax + rax]
mov rdx, qword [r8 + 0x10]
mov r9, r8
cmp qword [r8 + 0x18], 7
jbe 0x1400471e1
mov r9, qword [r8]
cmp rdx, r10
jne 0x1400472ca
lea rax, [rbp - 0x54]
test rdx, rdx
je 0x140047218
lea rcx, [rbp - 0x54]
sub r9, rcx
nop word [rax + rax]
movzx ecx, word [r9 + rax]
cmp cx, word [rax]
jne 0x1400472ca
add rax, 2
sub rdx, 1
jne 0x140047200
lea rdx, [0x1400d3cb0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.14004b0c0
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
mov rcx, rax
call fcn.14004bdc0
lea rdx, [0x14004b2a0]
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]
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x14004729c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047297
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004733f
call fcn.1400b7e8c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
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
add r8, 0x20
cmp r8, r11
jne 0x1400471d0
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140047315
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047310
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004733f
call fcn.1400b7e8c
lea rdx, [rbp - 0x80]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140047110
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x1400470de
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