Function at 0x180019670
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
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov rax, qword [0x1800f9b98]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov r12, rcx
mov qword [rbp - 0x68], rcx
xor r14d, r14d
mov ecx, dword [0x180101c60]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x180100c28], ecx
jg 0x180019ca1
cmp byte [0x180100c0c], r14b
jne 0x180019c39
lea rdx, [rbp + 0x120]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
lea rax, [rbp + 0x120]
mov rsi, 0xffffffffffffffff
mov rdi, rsi
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], r14b
jne 0x180019720
movabs r13, 0x7fffffffffffffff
cmp rdi, r13
ja 0x180019cd7
mov eax, reloc.WLDAP32.dll_Ordinal_22
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x180019770
mov qword [rsp + 0x40], rdi
mov r8, rdi
lea rdx, [rbp + 0x120]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rdi + 0x30], r14b
jmp 0x1800197d3
mov rsi, rdi
or rsi, 0xf
cmp rsi, r13
jbe 0x180019781
mov rsi, r13
jmp 0x180019788
cmp rsi, rax
cmovb rsi, rax
mov rdx, rsi
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1800019a0
mov rbx, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rsi
mov r8, rdi
lea rdx, [rbp + 0x120]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], r14b
mov rsi, 0xffffffffffffffff
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 0x18
jb 0x180019824
lea rax, [rcx + 0x18]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x30]
add rbx, rcx
mov r8d, Ordinal_27
lea rdx, str.interface_flags.rttex
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x18], 0
lea rax, [rsp + 0x30]
jmp 0x180019845
mov qword [rsp + 0x20], Ordinal_27
lea r9, str.interface_flags.rttex
xor r8d, r8d
lea edx, [r8 + 0x18]
lea rcx, [rsp + 0x30]
call fcn.180004ec0
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], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1800198b2
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800198ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800198ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c72a0
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
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], 0x10
cmovae rcx, qword [rbp - 0x40]
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x180019bf4
nop dword [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 rbx, rsi
inc rbx
cmp byte [rax + rbx], 0
jne 0x180019916
cmp rbx, r13
ja 0x180019c9b
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
cmp rbx, 0x10
jae 0x180019951
mov qword [rbp - 0x50], rbx
mov r8, rbx
lea rdx, [rbp + 0xc]
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx - 0x60], 0
jmp 0x1800199ac
mov rsi, rbx
or rsi, 0xf
cmp rsi, r13
jbe 0x180019962
mov rsi, r13
jmp 0x18001996f
cmp rsi, 0x16
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmovb rsi, rax
mov rdx, rsi
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
lea rcx, [rbp - 0x60]
call fcn.1800019a0
mov rdi, rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rsi
mov r8, rbx
lea rdx, [rbp + 0xc]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rbx], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 6
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov eax, dword [str..rttex]
mov dword [rsp + 0x50], eax
movzx eax, word [0x1800ce818]
mov word [rsp + 0x54], ax
mov byte [rsp + 0x56], 0
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x60]
call fcn.180031d50
movzx ebx, al
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x180019a4a
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180019a45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180019bd6
call fcn.1800c72a0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x180019a99
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180019a94
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180019bdd
call fcn.1800c72a0
test bl, bl
je 0x180019b82
cmp qword [rbp - 0x50], 2
jne 0x180019b82
mov rbx, qword [0x180100c18]
cmp rbx, qword [0x180100c20]
je 0x180019b6e
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
lea r14, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae r14, qword [rbp - 0x60]
mov rsi, qword [rbp - 0x50]
cmp rsi, r13
ja 0x180019cdd
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
cmp rsi, 0x10
jae 0x180019b0f
mov qword [rbx + 0x10], rsi
movups xmm0, xmmword [r14]
movups xmmword [rbx], xmm0
add qword [0x180100c18], 0x20
xor r14d, r14d
jmp 0x180019b82
mov rdi, rsi
or rdi, 0xf
cmp rdi, r13
jbe 0x180019b20
mov rdi, r13
jmp 0x180019b2d
cmp rdi, 0x16
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmovb rdi, rax
mov rdx, rdi
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
mov rcx, rbx
call fcn.1800019a0
mov qword [rbx], rax
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rdi
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
add qword [0x180100c18], 0x20
xor r14d, r14d
jmp 0x180019b82
lea r8, [rbp - 0x60]
mov rdx, rbx
lea rcx, [0x180100c10]
call fcn.180003db0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x180019bb9
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180019bb4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180019be4
call fcn.1800c72a0
lea rdx, [rbp - 0x20]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x180019beb
mov rsi, 0xffffffffffffffff
jmp 0x180019900
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]
int3
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
mov byte [0x180100c0c], 1
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x180019c39
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180019c34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180019c34
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c72a0
mov rdx, qword [0x180100c18]
sub rdx, qword [0x180100c10]
sar rdx, 5
xor ecx, ecx
call fcn.180031940
movsxd rdx, eax
shl rdx, 5
add rdx, qword [0x180100c10]
mov rcx, r12
call fcn.18000a1a0
mov rax, r12
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.1800c73c0
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180001960
nop
lea rcx, [0x180100c28]
call fcn.1800c79f0
cmp dword [0x180100c28], 0xffffffff
jne 0x1800196d9
lea rcx, [0x1800cb240]
call fcn.1800c7774
lea rcx, [0x180100c28]
call fcn.1800c7984
jmp 0x1800196d9
call fcn.180001960
nop
call fcn.180001960
int3