Function at 0x140004300
Capabilities:
Get common file path

Disassembly:
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov qword [0x1400f15a0], rcx
lea rcx, [0x1400f1578]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
lea rdx, [0x1400f1300]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor r13d, r13d
test eax, eax
jne 0x140004351
mov word [0x1400f1300], r13w
mov qword [rsp + 0xb8], rbx
lea rcx, [0x1400f1300]
mov qword [rsp + 0xc0], rbp
or rdx, 0xffffffffffffffff
mov qword [rsp + 0xc8], rdi
call fcn.140077080
mov esi, 1
mov qword [0x1400f1570], rax
mov r14d, esi
xor r12b, r12b
xor r15b, r15b
call fcn.1400997d8
cmp dword [rax], esi
jle 0x1400044ee
lea edi, [rsi + 7]
nop
call fcn.1400997e0
mov rcx, qword [rax]
mov rbx, qword [rdi + rcx]
test r15b, r15b
je 0x14000445c
mov r8d, r14d
lea rdx, [0x1400be004]
lea rcx, [rsp + 0x40]
call fcn.140004900
movsxd rbp, eax
cmp word [rsp + 0x40], r13w
je 0x14000467d
lea rax, [rsp + 0xb0]
mov r8, rbp
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x20], 3
lea rcx, [0x1400f59d0]
call fcn.1400228f0
test rax, rax
jne 0x140004440
mov r9d, dword [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov eax, r13d
lea rcx, [0x1400f59d0]
cmp byte [rsp + 0xb0], al
mov r8, rbp
setne al
inc eax
mov dword [rsp + 0x20], eax
call fcn.140022bd0
test rax, rax
je 0x14000467d
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
mov rdx, rbx
mov rcx, rax
call fcn.14007d4e0
inc r14d
jmp 0x1400044db
lea rdx, [0x1400be00c]
mov rcx, rbx
call fcn.140099630
test eax, eax
je 0x1400044d8
lea rdx, [0x1400be018]
mov rcx, rbx
call fcn.140099630
test eax, eax
je 0x1400044d8
lea rdx, [0x1400be02c]
mov rcx, rbx
call fcn.140099630
test eax, eax
je 0x1400044cf
lea rdx, [0x1400be038]
mov rcx, rbx
call fcn.140099630
test eax, eax
je 0x1400044cf
lea rdx, [0x1400be048]
mov rcx, rbx
call fcn.140099630
test eax, eax
jne 0x1400044c4
mov byte [0x1400f655b], 1
jmp 0x1400044db
dec esi
mov r15b, 1
sub rdi, 8
jmp 0x1400044db
mov byte [0x1400f154d], 1
jmp 0x1400044db
mov r12b, 1
inc esi
add rdi, 8
call fcn.1400997d8
cmp esi, dword [rax]
jl 0x1400043a0
lea rax, [rsp + 0xb0]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rdx, [0x1400be064]
mov dword [rsp + 0x20], 3
lea rcx, [0x1400f59d0]
call fcn.1400228f0
mov rcx, rax
test rax, rax
jne 0x140004557
mov r9d, dword [rsp + 0x30]
lea rdx, [0x1400be064]
mov eax, r13d
lea rcx, [0x1400f59d0]
cmp byte [rsp + 0xb0], al
setne al
xor r8d, r8d
inc eax
mov dword [rsp + 0x20], eax
call fcn.140022bd0
mov rcx, rax
test rcx, rcx
je 0x14000467d
lea eax, [r14 - 1]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
movsxd rdx, eax
call fcn.140001460
call fcn.140004160
movzx r9d, r12b
lea rcx, [0x1400f59d0]
call fcn.140016b40
cmp eax, 1
jne 0x14000467d
mov rax, qword [0x1400edaa8]
lea rcx, [0x1400f11a0]
mov edx, 2
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x1400045a0
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
lea rcx, [0x1400f59d0]
call fcn.140017cc0
cmp eax, 0xffffffff
je 0x14000467d
test eax, eax
je 0x1400048c3
mov eax, dword [0x1400f1568]
test eax, eax
jne 0x140004687
mov rax, qword [0x1400ef488]
cmp word [rax], r13w
jne 0x140004671
cmp dword [0x1400f2424], r13d
jne 0x140004671
cmp qword [0x1400f1560], r13
jne 0x140004671
cmp qword [0x1400f1558], r13
jne 0x140004671
cmp byte [0x1400f154c], r13b
je 0x140004702
mov dword [0x1400f1568], 1
jmp 0x14000468c
mov eax, 2
jmp 0x1400048c5
cmp eax, 4
je 0x140004702
test r12b, r12b
jne 0x14000470b
cmp byte [0x1400f154d], r13b
jne 0x1400047b0
mov rdx, qword [0x1400f6550]
lea rcx, [0x1400be068]
call qword [sym.imp.USER32.dll_FindWindowW]
mov rdi, rax
test rax, rax
je 0x1400047b0
mov eax, dword [0x1400f1568]
cmp eax, 3
je 0x1400048c3
cmp eax, 2
je 0x1400046fb
mov r8, qword [0x1400f6538]
lea rcx, [0x1400be080]
xorps xmm3, xmm3
mov qword [rsp + 0x20], r13
mov edx, 4
call fcn.14007f600
cmp eax, 7
je 0x1400048c3
mov eax, 0x407
jmp 0x140004730
test r12b, r12b
je 0x1400047b0
mov rdx, qword [0x1400f6550]
lea rcx, [0x1400be068]
call qword [sym.imp.USER32.dll_FindWindowW]
mov rdi, rax
test rax, rax
je 0x1400047b0
mov eax, 0x406
xor r9d, r9d
movsxd r8, eax
mov rcx, rdi
lea edx, [r9 + 0x44]
call qword [sym.imp.USER32.dll_PostMessageW]
mov ecx, reloc.OLEAUT32.dll_SafeArrayLock
mov ebx, r13d
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400047a5
nop
cmp ebx, 0x64
jne 0x14000478b
xorps xmm3, xmm3
mov qword [rsp + 0x20], r13
xor r8d, r8d
lea edx, [rbx - 0x60]
lea rcx, [0x1400be1b0]
call fcn.14007f600
cmp eax, 7
je 0x14000467d
mov ebx, r13d
mov ecx, reloc.OLEAUT32.dll_SafeArrayLock
inc ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x140004760
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
lea r8, [0x1400f15b8]
xor edx, edx
mov ecx, 0x2000
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x1400047ea
cmp dword [0x1400f15b8], r13d
je 0x1400047ea
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov ecx, 0x2001
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
lea rcx, [0x1400f59d0]
call fcn.140016d10
cmp eax, 1
jne 0x14000467d
mov ecx, eax
call fcn.14009bb90
xor r9d, r9d
mov rcx, rax
xor edx, edx
lea r8d, [r9 + 4]
call fcn.14009b9d0
movsxd rax, dword [0x1400edab0]
test eax, eax
je 0x140004852
imul rcx, rax, 0xd4
call fcn.1400997a8
mov qword [0x1400f1550], rax
test rax, rax
je 0x140004852
movsxd rcx, dword [0x1400edab0]
xor edx, edx
imul r8, rcx, 0xd4
mov rcx, rax
call fcn.140098640
call fcn.14000ad70
mov r9d, 3
mov byte [0x1400f6558], 1
xor r8d, r8d
lea rdx, [0x1400be240]
lea rcx, [0x1400f59d0]
call fcn.140022860
mov rbx, rax
test rax, rax
je 0x1400048a5
cmp byte [rax + 0x23], r13b
jne 0x14000488c
mov rbx, qword [rax + 0x10]
test byte [rbx + 0x21], 0x80
jne 0x1400048a5
mov rcx, rbx
call fcn.140001500
movzx eax, byte [rbx + 0x21]
and al, 0xf
or al, 0x80
mov byte [rbx + 0x21], al
lea rcx, [0x1400f59d0]
call fcn.1400174d0
test eax, eax
je 0x14000467d
xor edx, edx
lea ecx, [rdx + 0xa]
call fcn.140001800
xor eax, eax
mov rdi, qword [rsp + 0xc8]
mov rbp, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rsi
ret