Function at 0x140075030
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], 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 [0x14016f800]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov r13, rdx
mov qword [rbp + 0x50], rdx
xor r14d, r14d
mov esi, r14d
mov dword [rsp + 0x20], r14d
mov qword [rbp + 0x50], r14
lea r9, [rbp + 0x50]
xor r8d, r8d
mov edx, 0x8000
lea rcx, [0x1400edd10]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x1400750b4
mov r8d, 0x104
mov rdx, qword [rbp + 0x50]
lea rcx, [rbp + 0x120]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
jmp 0x1400750c7
lea rdx, str.error_getting_appdata_path_n
mov rcx, qword [0x140175720]
call fcn.14004dfa0
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], r14
mov qword [rbp + 0xd8], r14
mov r8d, listen
lea rdx, str.Robloxlogs
lea rcx, [rbp + 0xc0]
call fcn.1400049a0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rbp + 0x120]
mov r12, 0xffffffffffffffff
mov r8, r12
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140075120
lea rdx, [rbp + 0x120]
lea rcx, [rsp + 0x50]
call fcn.1400049a0
nop
lea rdx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0xf
cmova rdx, qword [rbp + 0xc0]
mov r8, qword [rbp + 0xd0]
lea rcx, [rsp + 0x50]
call fcn.1400032f0
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], r14
mov qword [rbp + 0x88], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x80], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or esi, 8
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400751dd
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400751d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400751d8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d6924
movdqa xmm0, xmmword [0x140159960]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdi, qword [rbp + 0x80]
lea rbx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova rbx, qword [rbp + 0x70]
call fcn.1400d5d90
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rdi
lea r8, [rbp - 0x50]
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.140059e30
or esi, 0x30
or esi, 1
mov dword [rsp + 0x20], esi
lea rdx, [rbp - 0x70]
lea rcx, [rbp]
call fcn.14005af00
movsd xmm0, qword [rax]
movsd qword [rsp + 0x28], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x40], ecx
lea rax, [0x14016fee0]
mov qword [rbp - 0x38], rax
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp + 0xe0], xmm0
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x1400752f6
cmp eax, 1
je 0x1400752fe
mov rdi, qword [rbp + 0x80]
lea rbx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova rbx, qword [rbp + 0x70]
call fcn.1400d5d90
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140059e30
or esi, 0xc00
or esi, 2
mov dword [rsp + 0x20], esi
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x10]
call fcn.14005af00
movsd xmm0, qword [rax]
movsd qword [rsp + 0x28], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rsp + 0x28]
test edx, edx
je 0x1400752ed
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x14007586b
cmp ecx, 3
jne 0x1400752fe
xor bl, bl
jmp 0x140075300
test ecx, ecx
jne 0x14007587d
mov bl, 1
test sil, 2
je 0x140075364
and esi, 0xfffffffd
mov dword [rsp + 0x20], esi
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140075351
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007534c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007534c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d6924
movdqa xmm0, xmmword [0x140159940]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], r14w
test sil, 1
je 0x1400753bf
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x1400753ad
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400753a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400753a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d6924
movdqa xmm0, xmmword [0x140159940]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], r14w
test bl, bl
je 0x1400754c8
lea rdx, str.Invalid_folder_path_n
mov rcx, qword [0x140175720]
call fcn.14004dfa0
call fcn.1400d5d90
lea rcx, [0x1400ee00f]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], r14
lea r8, [rsp + 0x40]
mov edx, eax
mov rcx, r13
call fcn.140059e30
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x14007543e
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140075439
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400757ec
call fcn.1400d6924
mov qword [rbp + 0x80], r14
mov qword [rbp + 0x88], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x70], 0
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0xf
jbe 0x140075495
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140075490
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140075852
call fcn.1400d6924
mov rax, r13
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.1400d68c0
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rbx, r14
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], r14
mov qword [rbp + 0xb8], 7
mov word [rbp + 0xa0], r14w
mov rsi, qword [rbp + 0x80]
lea rdi, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova rdi, qword [rbp + 0x70]
call fcn.1400d5d90
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rsi
lea r8, [rbp - 0x30]
mov edx, eax
lea rcx, [rbp - 0x20]
call fcn.140059e30
nop
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x60], xmm0
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x60]
call fcn.1400655f0
test eax, eax
jne 0x140075895
mov rdx, qword [rbp - 8]
cmp rdx, 7
jbe 0x140075584
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007557f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007557f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d6924
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov r15, qword [rbp + 0x68]
test r15, r15
je 0x1400755a0
lock inc dword [r15 + 8]
mov r15, qword [rbp + 0x68]
movaps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp + 0x90], xmm0
test r15, r15
je 0x1400755ba
lock inc dword [r15 + 8]
mov r15, qword [rbp + 0x68]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf0], xmm1
test r15, r15
je 0x140075604
mov eax, r12d
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x140075600
mov rdi, qword [rbp + 0x68]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, r12d
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x140075600
mov r15, qword [rbp + 0x68]
mov rax, qword [r15]
mov rcx, r15
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x140075604
mov r15, qword [rbp + 0x68]
cmp qword [rbp + 0x60], 0
je 0x140075724
mov rax, qword [rbp + 0x90]
nop word [rax + rax]
lea r14, [rax + 0x20]
mov rdx, r14
lea rcx, [rbp + 0x20]
call fcn.14005af00
movsd xmm0, qword [rax]
movsd qword [rsp + 0x28], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rsp + 0x28]
test edx, edx
je 0x140075653
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x1400758a8
cmp ecx, 2
jne 0x140075705
mov rcx, r14
cmp qword [r14 + 0x18], 7
jbe 0x140075669
mov rcx, qword [r14]
mov r9d, 0xffffffff
mov r8d, reloc.WLDAP32.dll_Ordinal_33
lea rdx, [rbp + 0x100]
call fcn.1400d6188
test eax, eax
jne 0x140075859
mov rax, qword [rbp + 0x100]
cmp rax, rbx
je 0x140075705
jl 0x140075705
mov rbx, rax
lea rax, [rbp + 0xa0]
cmp rax, r14
je 0x140075705
mov rdx, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 7
jbe 0x1400756b4
mov r14, qword [r14]
mov rax, qword [rbp + 0xb8]
cmp rdx, rax
ja 0x1400756f6
lea rsi, [rbp + 0xa0]
cmp rax, 7
cmova rsi, qword [rbp + 0xa0]
mov qword [rbp + 0xb0], rdx
lea rdi, [rdx + rdx]
mov r8, rdi
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
xor r14d, r14d
mov word [rsi + rdi], r14w
jmp 0x140075708
mov r9, r14
lea rcx, [rbp + 0xa0]
call fcn.14005c830
xor r14d, r14d
lea rcx, [rbp + 0x90]
call fcn.14005d6b0
mov rax, qword [rbp + 0x90]
test rax, rax
jne 0x140075620
mov rcx, qword [rbp + 0x98]
test rcx, rcx
je 0x14007576a
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140075766
mov rbx, qword [rbp + 0x98]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140075766
mov rcx, qword [rbp + 0x98]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r15, qword [rbp + 0x68]
test r15, r15
je 0x14007579f
mov eax, r12d
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x14007579f
mov rbx, qword [rbp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r12d
cmp r12d, 1
jne 0x14007579f
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
movups xmm0, xmmword [rbp + 0xa0]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rbp + 0xb0]
movups xmmword [r13 + 0x10], xmm1
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x1400757f8
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400757f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400757f3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d6924
mov qword [rbp + 0x80], r14
mov qword [rbp + 0x88], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x70], 0
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0xf
jbe 0x140075495
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140075490
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140075490
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r8, r14
mov edx, eax
lea rcx, str.last_write_time
call fcn.14005add0
nop
lea r8, [rsp + 0x70]
lea rcx, str.status
call fcn.14005add0
nop
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0xe0]
lea rcx, str.exists
call fcn.14005aea0
nop
lea r8, [rbp - 0x20]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.14005add0
nop
mov r8, r14
lea rcx, str.status
call fcn.14005add0
int3