Function at 0x14000e290
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x240
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x14001a010]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov r14, rcx
mov qword [rsp + 0x70], rcx
xor esi, esi
mov qword [rsp + 0xa0], rsi
lea r9, [rsp + 0xa0]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400136a0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x14000e433
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x104
lea rax, [rsp + 0x100]
mov qword [rsp + 0x20], rax
mov rbx, 0xffffffffffffffff
mov r9d, ebx
mov r8, qword [rsp + 0xa0]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x88], xmm1
lea rax, [rsp + 0x100]
inc rbx
cmp byte [rax + rbx], sil
jne 0x14000e361
mov r8, rbx
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x78]
call fcn.14000a120
nop
mov r8d, 5
lea rdx, str.Logs
lea rcx, [rsp + 0x78]
call fcn.140008e70
xorps xmm0, xmm0
movups xmmword [rsp + 0xa8], xmm0
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc0], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xa8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xb8], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], recv
mov byte [rax], 0
mov rdx, qword [rsp + 0x90]
cmp rdx, 0x10
jb 0x14000e41b
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e416
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e416
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000fe00
movdqa xmm0, xmmword [0x140014490]
movdqu xmmword [rsp + 0x88], xmm0
mov byte [rsp + 0x78], 0
jmp 0x14000e469
xorps xmm0, xmm0
movups xmmword [rsp + 0xa8], xmm0
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc0], rsi
mov r8d, 7
lea rdx, str.C:Logs
lea rcx, [rsp + 0xa8]
call fcn.14000a120
nop
mov rdi, qword [rsp + 0xb8]
lea rbx, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 0x10
cmovae rbx, qword [rsp + 0xa8]
call fcn.14000ee5c
mov qword [rsp + 0xd0], rbx
mov qword [rsp + 0xd8], rdi
lea r8, [rsp + 0xd0]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1400019d0
nop
mov r8d, 3
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xd0]
call fcn.140003830
movsd xmm0, qword [rax]
movsd qword [rsp + 0x60], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0xe0], ecx
lea r15, [0x14001a048]
mov qword [rsp + 0xe8], r15
movaps xmm0, xmmword [rsp + 0xe0]
movdqa xmmword [rsp + 0xe0], xmm0
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14000e54f
cmp eax, 1
sete bl
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14000e560
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e55b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e55b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov bl, 1
test ecx, ecx
jne 0x14000e88c
jmp 0x14000e50f
call fcn.14000fe00
test bl, bl
je 0x14000e633
mov rdi, qword [rsp + 0xb8]
lea rbx, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 0x10
cmovae rbx, qword [rsp + 0xa8]
call fcn.14000ee5c
mov qword [rsp + 0xe0], rbx
mov qword [rsp + 0xe8], rdi
lea r8, [rsp + 0xe0]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1400019d0
nop
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xd8], r15
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x40]
call fcn.14000dfb0
cmp dword [rsp + 0xd0], 0
jne 0x14000e8a6
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14000e62a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e624
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e624
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000fe00
nop
jmp 0x14000e633
mov r15, qword [rsp + 0xb8]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 1
jb 0x14000e8c0
lea r13, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 0x10
cmovae r13, qword [rsp + 0xa8]
xorps xmm0, xmm0
movups xmmword [rsp + 0xe0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xf0], xmm1
lea r12, [r15 + 1]
mov ebx, recv
lea rdi, [rsp + 0xe0]
cmp r12, rbx
jbe 0x14000e71a
mov rbx, r12
or rbx, 0xf
cmp rbx, rcx
jbe 0x14000e6d8
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400100a4
test rax, rax
je 0x14000e7fb
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14000e712
mov eax, socket
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14000e700
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000e8c6
jmp 0x14000e6b9
test rcx, rcx
je 0x14000e70f
call fcn.1400100a4
mov rdi, rax
jmp 0x14000e712
mov rdi, rsi
mov qword [rsp + 0xe0], rdi
mov qword [rsp + 0xf0], r12
mov qword [rsp + 0xf8], rbx
mov r8, r15
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r15], 0x5c
mov byte [rdi + r12], 0
mov r8, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0x10
jb 0x14000e750
mov r14, qword [r14]
mov rdx, r14
lea rcx, [rsp + 0xe0]
call fcn.140008e70
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], recv
mov byte [rax], 0
mov rdx, qword [0x14001a080]
cmp rdx, 0x10
jb 0x14000e7b3
mov rcx, qword [0x14001a068]
inc rdx
cmp rdx, 0x1000
jb 0x14000e7ae
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000e802
mov rcx, r8
call fcn.14000fe00
movups xmmword [0x14001a068], xmm6
movups xmmword [0x14001a078], xmm7
mov rdx, qword [rsp + 0xf8]
cmp rdx, 0x10
jb 0x14000e80f
inc rdx
mov rcx, qword [rsp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e809
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e809
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.14000fe00
nop
mov rdx, qword [rsp + 0xc0]
cmp rdx, 0x10
jb 0x14000e855
inc rdx
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e850
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e850
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000fe00
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.14000fde0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0xe0]
lea rcx, str.exists
call fcn.140002d80
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0xd0]
lea rcx, str.create_directories
call fcn.140002d80
nop
call fcn.140001230
int3
call fcn.140001190
int3