Function at 0x1400047f0
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x14002f178]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rbx, rcx
mov qword [rsp + 0x58], rcx
xor esi, esi
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], rsi
lea rdx, [rbp + 0xe0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], sil
lea rax, [rbp + 0xe0]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140004870
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x78]
call fcn.140001910
nop
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x70]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x1400048c7
lea rax, [rcx + 2]
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x78]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x78]
mov edx, 0x2a5c
mov word [rax + rcx], dx
mov byte [rax + rcx + 2], 0
jmp 0x1400048e6
mov qword [rsp + 0x20], 2
lea r9, [0x140026068]
mov edx, 2
lea rcx, [rsp + 0x78]
call fcn.140008040
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae rcx, qword [rsp + 0x78]
lea rdx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400049e0
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140004954
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000494f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004b48
call fcn.14001f07c
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400049b4
mov rdx, qword [rsp + 0x68]
call fcn.1400081d0
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400049af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004bc4
call fcn.14001f07c
mov rax, rbx
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.14001f020
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
movzx ecx, byte [rbp - 0x34]
movzx eax, byte [rbp - 0x33]
cmp cl, 0x2e
jne 0x140004a07
test al, al
je 0x140004ac8
cmp cl, cl
jne 0x140004a07
cmp al, cl
jne 0x140004a07
cmp byte [rbp - 0x32], 0
je 0x140004ac8
test byte [rbp - 0x60], 0x10
jne 0x140004ac8
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
lea rax, [rbp - 0x34]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140004a34
lea rdx, [rbp - 0x34]
lea rcx, [rsp + 0x30]
call fcn.140001910
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, qword [rsp + 0x70]
je 0x140004a7c
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rdx + 0x10], xmm1
mov edx, 0xf
mov byte [rsp + 0x30], 0
add qword [rsp + 0x68], 0x20
jmp 0x140004a90
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140008730
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140004ac8
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ac3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004b4f
call fcn.14001f07c
lea rdx, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1400049e0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rdx, qword [rsp + 0x70]
mov qword [rsp + 0x70], rsi
mov rcx, qword [rsp + 0x68]
mov r9, rsi
mov qword [rsp + 0x68], rsi
mov rax, qword [rsp + 0x60]
mov r8, rsi
mov qword [rsp + 0x60], rsi
mov qword [rbx], rax
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140004b65
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004b56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004b56
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]
nop
call fcn.14001f07c
mov r9, qword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
test r8, r8
je 0x1400049b4
mov rdx, r9
mov rcx, r8
call fcn.1400081d0
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400049af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400049af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3