Function at 0x1400551a0
Capabilities:
Get common file path

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x630
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x1400b14a0]
xor rax, rsp
mov qword [rsp + 0x620], rax
mov r13, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x58], rdx
mov r14, qword [rsp + 0x690]
xor r15d, r15d
mov dword [rsp + 0x50], r15d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x188]
call fcn.140001678
nop
mov rdx, qword [rdi]
add rdx, 0x28
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x188]
call fcn.1400028b0
cmp qword [rsp + 0x198], r15
je 0x14005553f
lea rdx, [rsp + 0x200]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rsp + 0x410]
xor r8d, r8d
lea rdx, str.jreEbz
lea rcx, [rsp + 0x200]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea rdx, [rsp + 0x410]
lea rcx, [rsp + 0x1b0]
call fcn.14000264c
nop
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x1b0]
call fcn.1400018c0
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14000264c
mov r12, rax
lea rcx, [rsp + 0x188]
call fcn.1400018c0
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.14000264c
mov rdi, rax
lea rdx, str.jreEbz
lea rcx, [rsp + 0x138]
call fcn.14000264c
nop
mov dword [rsp + 0x40], 0xa00000
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov r9, r12
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.1400505c0
nop
lea r8, str.End_download_four_threads
lea rdx, str.INFO
mov rcx, rsi
call fcn.140018920
cmp qword [rsp + 0x170], r15
jne 0x140055484
lea r8, str.Retry_download_one_thread
lea rdx, str.INFO
mov rcx, rsi
call fcn.140018920
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x1b0]
call fcn.1400018c0
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.14000264c
mov r12, rax
lea rcx, [rsp + 0x188]
call fcn.1400018c0
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.14000264c
mov rdi, rax
lea rdx, str.jreEbz
lea rcx, [rsp + 0x110]
call fcn.14000264c
nop
mov dword [rsp + 0x40], 0xa00000
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov r9, r12
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x1d8]
call fcn.1400505c0
mov rdi, rax
lea rax, [rsp + 0x160]
cmp rax, rdi
je 0x140055461
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x160]
call fcn.140001678
cmp qword [rdi + 0x18], 8
jae 0x140055433
mov r8, qword [rdi + 0x10]
inc r8
mov rdx, rdi
lea rcx, [rsp + 0x160]
call fcn.14000195c
jmp 0x140055441
mov rax, qword [rdi]
mov qword [rsp + 0x160], rax
mov qword [rdi], r15
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x170], rax
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x178], rax
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
lea rcx, [rsp + 0x1d8]
call fcn.140001624
lea r8, str.End_download_one_thread
lea rdx, str.INFO
mov rcx, rsi
call fcn.140018920
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140001678
lea r11, [rsp + 0x160]
cmp rbx, r11
je 0x140055511
xor r8d, r8d
mov dl, 1
mov rcx, rbx
call fcn.140001678
mov r11, qword [rsp + 0x178]
cmp r11, 8
jae 0x1400554de
mov r8, qword [rsp + 0x170]
inc r8
lea rdx, [rsp + 0x160]
mov rcx, rbx
call fcn.14000195c
mov r11, qword [rsp + 0x178]
jmp 0x1400554f1
mov rax, qword [rsp + 0x160]
mov qword [rbx], rax
mov qword [rsp + 0x160], r15
mov rax, qword [rsp + 0x170]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], r11
mov qword [rsp + 0x170], r15
mov qword [rsp + 0x178], r15
lea rcx, [rsp + 0x160]
call fcn.140001624
nop
lea rcx, [rsp + 0x1b0]
call fcn.140001624
nop
lea rcx, [rsp + 0x188]
call fcn.140001624
mov rax, rbx
jmp 0x140055564
lea rcx, [rsp + 0x188]
call fcn.140001624
nop
jmp 0x140055554
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140001678
mov rax, rbx
mov rcx, qword [rsp + 0x620]
xor rcx, rsp
call fcn.14005ba60
add rsp, 0x630
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret