Function at 0x1400048f0
Capabilities:
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
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400a4900]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
mov qword [rbp - 0x60], rcx
xor ebx, ebx
lea r9, [rbp - 0x50]
xor r8d, r8d
test edx, edx
jne 0x140004b2b
lea rcx, [0x1400819d0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x140004d2d
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
mov rdx, qword [rbp - 0x50]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], bx
jne 0x140004970
lea rcx, [rbp - 0x48]
call fcn.14000c0e0
nop
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova rdx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x38]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x48]
cmova rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.14000af20
nop
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
mov r12, qword [rbp - 0x18]
sub rax, r12
cmp rax, 0x10
jb 0x140004d6c
lea rdx, [rbp - 0x28]
mov r14, qword [rbp - 0x28]
mov r13, qword [rbp - 0x10]
cmp r13, 0xf
cmova rdx, r14
mov qword [rbp - 0x60], rdx
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rbx
lea r15, [r12 + 0x10]
mov ebx, reloc.WS2_32.dll_ntohs
mov rsi, rdi
cmp r15, rbx
jbe 0x140004a82
mov rbx, r15
or rbx, 0xf
cmp rbx, rcx
jbe 0x140004a3b
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14007e1f0
test rax, rax
je 0x140004a6c
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140004a7b
mov eax, socket
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x140004a54
xor esi, esi
jmp 0x140004a7f
cmp rcx, 0x1000
jb 0x140004a73
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140004d60
jmp 0x140004a20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e1f0
mov rsi, rax
mov rdx, qword [rbp - 0x60]
mov qword [rdi], rsi
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], rbx
mov r8, r12
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.Mozilla_Firefox]
movups xmmword [r12 + rsi], xmm0
mov byte [rsi + r15], 0
cmp r13, 0xf
jbe 0x140004ae1
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140004ad8
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004ad8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.14007e474
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x140004d2a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004d25
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004d25
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor edx, edx
lea rcx, [0x1400819c0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x140004d2d
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
mov rdx, qword [rbp - 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], bx
jne 0x140004b60
lea rcx, [rbp - 0x48]
call fcn.14000c0e0
nop
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova rdx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x38]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x48]
cmova rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.14000af20
nop
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
mov r15, qword [rbp - 0x18]
sub rax, r15
cmp rax, 0x19
jb 0x140004d5a
lea r12, [rbp - 0x28]
mov r14, qword [rbp - 0x28]
mov r13, qword [rbp - 0x10]
cmp r13, 0xf
cmova r12, r14
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rbx
add r15, 0x19
mov ebx, reloc.WS2_32.dll_ntohs
mov rsi, rdi
cmp r15, rbx
jbe 0x140004c69
mov rbx, r15
or rbx, 0xf
cmp rbx, rcx
jbe 0x140004c26
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14007e1f0
test rax, rax
je 0x140004c57
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140004c66
mov eax, socket
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x140004c3f
xor esi, esi
jmp 0x140004c66
cmp rcx, 0x1000
jb 0x140004c5e
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140004d66
jmp 0x140004c0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e1f0
mov rsi, rax
mov qword [rdi], rsi
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], rbx
mov rbx, qword [rbp - 0x18]
mov r8, rbx
mov rdx, r12
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.MozillaFirefoxProfiles]
movups xmmword [rbx + rsi], xmm0
movsd xmm0, qword [0x140096628]
movsd qword [rbx + rsi + 0x10], xmm0
movzx eax, byte [reloc.WS2_32.dll_WSAStartup]
mov byte [rbx + rsi + 0x18], al
mov byte [rsi + r15], 0
cmp r13, 0xf
jbe 0x140004ce7
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140004cde
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004cde
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.14007e474
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x140004d2a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004d25
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004d25
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e474
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14007df30
lea r11, [rsp + 0x80]
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.140001210
nop
call fcn.140001170
nop
call fcn.140001170
nop
call fcn.140001210
int3