Function at 0x1404323e0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x3b8]
sub rsp, 0x4b0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14057c500]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov rbx, rcx
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x20], 0
lea rax, [0x1400495e0]
mov qword [rcx], rax
mov dword [rsp + 0x20], 1
lea rdx, [rbp - 0x80]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
or esi, 0xffffffff
test eax, eax
je 0x14043253b
mov r8d, 0x104
lea rdx, [rbp + 0x190]
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov r8d, eax
dec eax
cmp eax, 0x102
ja 0x140432492
lea rdx, [rbp + 0x190]
lea rcx, [rsp + 0x30]
call fcn.1402d3550
mov rdx, rax
lea edi, [rsi + 4]
jmp 0x1404324ab
mov r8d, edi
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x28]
call fcn.1402d3550
mov rdx, rax
mov edi, 5
mov dword [rsp + 0x20], edi
mov rcx, qword [rbx]
mov qword [rsp + 0x60], rcx
mov rax, qword [rdx]
mov qword [rbx], rax
mov qword [rdx], rcx
test dil, 4
je 0x140432500
and edi, 0xfffffffb
mov dword [rsp + 0x20], edi
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x1404324f1
cmp eax, 0xffffffff
je 0x140432500
mov eax, esi
lock xadd dword [rcx], eax
mov edi, dword [rsp + 0x20]
cmp eax, 1
jne 0x140432500
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
nop
test dil, 2
je 0x14043253b
and edi, 0xfffffffd
mov dword [rsp + 0x20], edi
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14043252d
cmp eax, 0xffffffff
je 0x14043253b
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14043253b
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
mov rax, qword [rbx]
cmp dword [rax + 4], 0
je 0x1404325df
mov edi, 0x5c
mov word [rsp + 0x24], di
lea r8d, [rdi - 0x5b]
movzx edx, di
mov rcx, rbx
call fcn.140367330
test al, al
je 0x140432592
mov word [rsp + 0x24], di
nop word [rax + rax]
mov edx, 1
mov rcx, rbx
call fcn.1403666f0
mov r8d, 1
movzx edx, di
mov rcx, rbx
call fcn.140367330
test al, al
jne 0x140432570
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140373170
mov rdx, rax
mov rcx, qword [rbx]
mov qword [rsp + 0x40], rcx
mov rax, qword [rax]
mov qword [rbx], rax
mov qword [rdx], rcx
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x1404325d1
cmp eax, 0xffffffff
je 0x1404325df
lock xadd dword [rcx], esi
cmp esi, 1
jne 0x1404325df
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
mov rcx, qword [rbx]
mov edx, dword [rcx + 4]
test edx, edx
jne 0x14043261a
mov dword [rsp + 0x40], 6
lea rax, [0x1400a7d14]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.140363a80
jmp 0x1404326bc
cmp edx, 2
jl 0x1404326bc
cmp dword [rcx], 1
ja 0x14043262f
cmp qword [rcx + 0x10], 0x18
je 0x14043263c
inc edx
xor r8d, r8d
mov rcx, rbx
call fcn.14036a620
mov rcx, qword [rbx]
cmp dword [rcx + 4], 1
jle 0x1404326bc
mov rax, qword [rcx + 0x10]
cmp word [rax + rcx + 2], 0x3a
jne 0x1404326bc
movzx ecx, word [rcx + rax]
call fcn.14036d3d0
mov edi, eax
mov rcx, qword [rbx]
cmp dword [rcx], 1
ja 0x14043266b
cmp qword [rcx + 0x10], 0x18
je 0x14043267b
mov edx, dword [rcx + 4]
inc edx
xor r8d, r8d
mov rcx, rbx
call fcn.14036a620
mov rax, qword [rbx]
mov edx, dword [rax + 4]
test edx, edx
jg 0x140432698
mov edx, 1
lea r8d, [rdx + 0x1f]
mov rcx, rbx
call fcn.14036c0e0
jmp 0x1404326b1
cmp dword [rax], 1
ja 0x1404326a4
cmp qword [rax + 0x10], 0x18
je 0x1404326b1
inc edx
xor r8d, r8d
mov rcx, rbx
call fcn.14036a620
mov rcx, qword [rbx]
mov rax, qword [rcx + 0x10]
mov word [rcx + rax], di
mov rax, rbx
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.1404e17d0
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret