Function at 0x140047b50
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rax - 0x3f8]
sub rsp, 0x4e0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x1401ef010]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov rsi, rdx
mov rdi, rcx
mov edx, 0x5c
mov rcx, rsi
call fcn.1401463b4
lea rbx, [rax + 1]
mov edx, 0x20
mov rcx, rsi
call fcn.1401463b4
cmp byte [rbx], 0x5b
jne 0x140047e3e
cmp byte [rbx + 1], 0x20
jne 0x140047e3e
cmp byte [rax + 1], 0x5d
jne 0x140047e3e
cmp rbx, rax
jae 0x140047e3e
lea rdx, [rbp + 0x190]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp byte [rdi + 0x889], 0
je 0x140047bfe
lea r8, [rdi + 0x88a]
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.14013b330
mov r8, rsi
mov edx, 0x104
lea rcx, [rbp + 0x80]
call fcn.14013b330
mov edx, 0x5c
lea rcx, [rbp + 0x80]
call fcn.1401463b4
mov rbx, rax
lea r8, [rax + 3]
mov edx, 0x104
lea rcx, [rsp + 0x70]
call fcn.14013b330
lea rax, [rsp + 0x70]
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x140047c45
sub rcx, 2
cmp rcx, 0x104
jae 0x140047e6c
mov byte [rsp + rcx + 0x70], 0
mov byte [rbx + 1], 0
xor ebx, ebx
mov qword [rsp + 0x50], rbx
movdqa xmm0, xmmword [0x1401d5210]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], bl
lea rax, [rbp + 0x80]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], bl
jne 0x140047c90
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.140017060
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140049130
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x30], xmm6
movups xmm7, xmmword [rax + 0x10]
movdqu xmmword [rsp + 0x40], xmm7
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], setsockopt
mov byte [rax], 0
lea rbx, [rdi + 0x9a8]
lea rax, [rsp + 0x30]
cmp rbx, rax
je 0x140047d0e
mov rcx, rbx
call fcn.140017000
movups xmmword [rbx], xmm6
movups xmmword [rbx + 0x10], xmm7
movdqa xmm0, xmmword [0x1401d5210]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140017000
nop
lea rcx, [rsp + 0x50]
call fcn.140017000
lea rcx, [rsp + 0x70]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x140047d30
lea rdx, [rbp + 0x80]
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140047d47
add rax, 0xd
add rax, rcx
cmp rax, 0x103
ja 0x140047e37
lea rax, str..zip
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, str._UVNCDIR_
lea r8, [rbp + 0x190]
lea rdx, str._s_s_s_s
lea rcx, [rbp + 0x2a0]
call fcn.14001a670
lea r8, [rsp + 0x70]
mov edx, 0x104
lea rcx, [rbp + 0x80]
call fcn.14013b390
lea r8, [rbp + 0x80]
mov edx, 0x104
lea rcx, [rsp + 0x70]
call fcn.14013b330
lea rcx, [rsp + 0x70]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140047dd2
cmp rax, 0x100
ja 0x140047e37
lea r8, str..
mov edx, 0x104
lea rcx, [rsp + 0x70]
call fcn.14013b390
lea r9, [rbp + 0x2a0]
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x80]
mov rcx, qword [rdi + 0x680]
call fcn.14008c3d0
test al, al
je 0x140047e37
lea r8, [rbp + 0x2a0]
mov edx, 0x144
mov rcx, rsi
call fcn.14013b330
mov eax, 1
jmp 0x140047e40
mov eax, 0xffffffff
jmp 0x140047e40
xor eax, eax
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.140132620
lea r11, [rsp + 0x4e0]
mov rbx, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rdi
pop rsi
pop rbp
ret
call fcn.1401327c8
int3