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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov rax, qword [0x180055880]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov rsi, rcx
mov qword [rbp - 0x68], rcx
xor r14d, r14d
mov ecx, dword [0x180055f08]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x180055ce8], ecx
jg 0x180002b56
cmp byte [0x180055cc8], r14b
jne 0x180002afd
lea rdx, [rbp + 0x120]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rax, [rbp + 0x120]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], r14b
jne 0x180002790
lea rdx, [rbp + 0x120]
lea rcx, [rsp + 0x30]
call fcn.1800010a0
nop
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 0x18
jb 0x1800027fc
lea rax, [rcx + 0x18]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rdx, 0xf
cmova rbx, qword [rsp + 0x30]
add rbx, rcx
mov r8d, 0x18
lea rdx, str.interface_flags.rttex
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x18], 0
lea rax, [rsp + 0x30]
jmp 0x18000281d
mov qword [rsp + 0x20], 0x18
lea r9, str.interface_flags.rttex
xor r8d, r8d
lea edx, [r8 + 0x18]
lea rcx, [rsp + 0x30]
call fcn.1800019f0
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x18000288a
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002885
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180002885
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180042288
movdqa xmm0, xmmword [0x180045960]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
xor edx, edx
mov r8d, 0x140
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rcx, qword [rbp - 0x40]
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180002aa3
nop dword [rax]
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], r14
lea rax, [rbp + 0xc]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180002900
lea rdx, [rbp + 0xc]
lea rcx, [rbp - 0x60]
call fcn.1800010a0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
xor r8d, r8d
lea rdx, [0x180045990]
lea rcx, [rsp + 0x78]
call fcn.1800010a0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
mov r8d, 6
lea rdx, str..rttex
lea rcx, [rsp + 0x50]
call fcn.1800010a0
nop
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x60]
call fcn.180005f10
movzx ebx, al
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1800029ba
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800029b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180002ae3
call fcn.180042288
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x180002a09
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002a04
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180002aea
call fcn.180042288
test bl, bl
je 0x180002a4e
cmp qword [rbp - 0x50], 2
jne 0x180002a4e
mov rax, qword [0x180055cd8]
cmp rax, qword [0x180055ce0]
je 0x180002a3a
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.180001d40
add qword [0x180055cd8], 0x20
jmp 0x180002a4e
lea r8, [rbp - 0x60]
mov rdx, rax
lea rcx, [0x180055cd0]
call fcn.180001660
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x180002a85
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002a80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180002af1
call fcn.180042288
lea rdx, [rbp - 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1800028e0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov byte [0x180055cc8], 1
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x180002afd
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002af8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180002af8
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 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.180042288
mov rdx, qword [0x180055cd8]
sub rdx, qword [0x180055cd0]
sar rdx, 5
xor ecx, ecx
call fcn.180005c40
movsxd rdx, eax
shl rdx, 5
add rdx, qword [0x180055cd0]
mov rcx, rsi
call fcn.180001d40
mov rax, rsi
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.180042860
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
lea rcx, [0x180055ce8]
call fcn.1800426d4
cmp dword [0x180055ce8], 0xffffffff
jne 0x18000274f
lea rcx, [0x180044360]
call fcn.180042614
lea rcx, [0x180055ce8]
call fcn.180042668
jmp 0x18000274f