Function at 0x140024dc0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1400cd070]
xor rax, rsp
mov qword [rbp + 0x170], rax
xor edi, edi
mov dword [rsp + 0x20], edi
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
nop
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
lea r8d, [rdi + 0x19]
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov esi, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x68], rsi
mov byte [rsp + 0x50], dil
lea rax, [rsp + 0x70]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140024e55
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140003150
mov dword [rsp + 0x20], 1
cmp qword [rsp + 0x60], 4
jae 0x140024e95
mov r8d, 0x1e
lea rdx, str.C:UsersAdministratorDesktop
lea rcx, [rsp + 0x50]
call fcn.140003150
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.1400024d0
mov rcx, rax
call fcn.140024330
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.1400024d0
mov rcx, rax
call fcn.1400248b0
nop
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
lea r8d, [r9 + 0x10]
lea rdx, [rbp + 0x70]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rsi
mov byte [rsp + 0x28], 0
lea rax, [rbp + 0x70]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140024f00
mov r8, rbx
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x28]
call fcn.140003150
mov dword [rsp + 0x20], 3
mov rbx, qword [rsp + 0x38]
cmp rbx, 4
jae 0x140024f49
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.C:Users_
lea rcx, [rsp + 0x28]
call fcn.140003150
mov rbx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140024f89
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024f84
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140024f84
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073454
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rsp + 0x60], xmm1
mov dword [rsp + 0x20], 1
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rdi
lea r12, [rsp + 0x50]
movq r14, xmm0
psrldq xmm1, 8
movq r13, xmm1
cmp r13, 0x10
cmovae r12, r14
movabs rax, 0x7fffffffffffffff
cmp rbx, 0x10
jae 0x140024fef
movups xmm0, xmmword [r12]
movups xmmword [rsp + 0x28], xmm0
mov r15, rsi
jmp 0x14002505f
mov r15, rbx
or r15, 0xf
cmp r15, rax
cmova r15, rax
lea rcx, [r15 + 1]
cmp rcx, 0x1000
jb 0x14002503c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400251a0
mov rcx, rax
call fcn.1400731c8
mov rcx, rax
test rax, rax
je 0x140025035
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14002504b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140025048
call fcn.1400731c8
jmp 0x14002504b
mov rax, rdi
mov qword [rsp + 0x28], rax
lea r8, [rbx + 1]
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], r15
lea rcx, [rsp + 0x28]
call fcn.140024330
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rdi
lea r15, [rsp + 0x50]
cmp r13, 0x10
cmovae r15, r14
cmp rbx, 0x10
jae 0x1400250a0
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x28], xmm0
jmp 0x140025115
mov rsi, rbx
or rsi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
cmova rsi, rax
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x1400250f4
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14002519a
mov rcx, rax
call fcn.1400731c8
test rax, rax
je 0x1400250ed
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140025101
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140025101
call fcn.1400731c8
mov rdi, rax
mov qword [rsp + 0x28], rdi
lea r8, [rbx + 1]
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rsi
lea rcx, [rsp + 0x28]
call fcn.1400248b0
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
cmp r13, 0x10
jb 0x14002516a
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140025162
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140025162
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.140073454
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140072f40
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001790
nop
call fcn.140001790
int3