Function at 0x140047370
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 [0x1401f0010]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov rsi, rdx
mov rdi, rcx
mov edx, 0x5c
mov rcx, rsi
call fcn.14014b204
lea rbx, [rax + 1]
mov edx, 0x20
mov rcx, rsi
call fcn.14014b204
cmp byte [rbx], 0x5b
jne 0x14004765e
cmp byte [rbx + 1], 0x20
jne 0x14004765e
cmp byte [rax + 1], 0x5d
jne 0x14004765e
cmp rbx, rax
jae 0x14004765e
lea rdx, [rbp + 0x190]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp byte [rdi + 0x889], 0
je 0x14004741e
lea r8, [rdi + 0x88a]
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.14013ac00
mov r8, rsi
mov edx, 0x104
lea rcx, [rbp + 0x80]
call fcn.14013ac00
mov edx, 0x5c
lea rcx, [rbp + 0x80]
call fcn.14014b204
mov rbx, rax
lea r8, [rax + 3]
mov edx, 0x104
lea rcx, [rsp + 0x70]
call fcn.14013ac00
lea rax, [rsp + 0x70]
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x140047465
sub rcx, 2
cmp rcx, 0x104
jae 0x14004768c
mov byte [rsp + rcx + 0x70], 0
mov byte [rbx + 1], 0
xor ebx, ebx
mov qword [rsp + 0x50], rbx
movdqa xmm0, xmmword [0x1401d5a70]
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 0x1400474b0
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.1400172c0
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140048950
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 0x14004752e
mov rcx, rbx
call fcn.140017260
movups xmmword [rbx], xmm6
movups xmmword [rbx + 0x10], xmm7
movdqa xmm0, xmmword [0x1401d5a70]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140017260
nop
lea rcx, [rsp + 0x50]
call fcn.140017260
lea rcx, [rsp + 0x70]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x140047550
lea rdx, [rbp + 0x80]
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140047567
add rax, 0xd
add rax, rcx
cmp rax, 0x103
ja 0x140047657
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.14001a8e0
lea r8, [rsp + 0x70]
mov edx, 0x104
lea rcx, [rbp + 0x80]
call fcn.14013ac60
lea r8, [rbp + 0x80]
mov edx, 0x104
lea rcx, [rsp + 0x70]
call fcn.14013ac00
lea rcx, [rsp + 0x70]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1400475f2
cmp rax, 0x100
ja 0x140047657
lea r8, str..
mov edx, 0x104
lea rcx, [rsp + 0x70]
call fcn.14013ac60
lea r9, [rbp + 0x2a0]
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x80]
mov rcx, qword [rdi + 0x680]
call fcn.14008ae70
test al, al
je 0x140047657
lea r8, [rbp + 0x2a0]
mov edx, 0x144
mov rcx, rsi
call fcn.14013ac00
mov eax, 1
jmp 0x140047660
mov eax, 0xffffffff
jmp 0x140047660
xor eax, eax
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.140131ef0
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.1401322e8
int3