Function at 0x140082610
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 - 0x1e0]
sub rsp, 0x2e0
lea rbx, [rcx + 0x5f60]
xor esi, esi
lea rdi, [rcx + 0xa8]
mov r14, rcx
cmp qword [rbx + 8], rsi
jne 0x1400826c1
test rdi, rdi
mov edx, 0x125
cmove rcx, rsi
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rdx, qword [rbx]
mov rcx, rbx
mov r15, rax
call qword [rdx + reloc.WS2_32.dll_recv]
mov r12, rax
mov rax, qword [rbx + 0x28]
test rax, rax
jne 0x14008268c
call fcn.140025630
mov qword [rbx + 0x28], rax
test rax, rax
je 0x1400826c1
mov r8, rbx
mov rdx, r12
mov rcx, rax
call fcn.140025760
mov rcx, qword [rbx + 0x28]
call fcn.1400256ac
mov r8, rax
mov edx, 0xfffffffc
mov rcx, r15
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
test rax, rax
je 0x1400826c1
mov qword [rbx + 0x40], rax
mov qword [rbx + 8], r15
cmp qword [r14 + 0x5fb0], rsi
jne 0x1400826f2
test rdi, rdi
mov rcx, r14
mov edx, 0x155
cmove rcx, rsi
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rdx, rax
lea rcx, [r14 + 0x5fa8]
call fcn.140018ae0
cmp qword [r14 + 0x5ec8], rsi
jne 0x140082723
test rdi, rdi
mov rcx, r14
mov edx, 0x154
cmove rcx, rsi
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rdx, rax
lea rcx, [r14 + 0x5ec0]
call fcn.140018ae0
mov rbx, qword [r14 + 8]
lea r15, [r14 + 8]
mov rdi, r15
test rbx, rbx
je 0x140082788
lea rcx, [0x1401f35f0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x1401f35e8]
cmp ecx, dword [0x1401f35d8]
jae 0x14008277b
mov r8d, dword [0x1401f35e0]
mov rax, qword [0x1401f35d0]
imul r8d, ecx
mov rcx, qword [r8 + rax]
test rcx, rcx
je 0x14008277b
mov r8d, 3
mov rdx, rbx
call fcn.14006edc0
lea rdi, [r14 + 8]
lea rcx, [0x1401f35f0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [r14 + 0x5f68]
mov r9d, 0x80c086
xor r8d, r8d
mov edx, 0x409
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [r14 + 0x5f68]
mov r9d, 0x640000
xor r8d, r8d
mov edx, 0x401
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [r14 + 0x5f68]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x402
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8b, 1
mov rcx, r14
movzx edx, r8b
call fcn.1400822b0
mov r8, qword [r14 + 0x5eb8]
mov edx, 0xfffffff4
mov rcx, qword [r14 + 0x5ec8]
call qword [sym.imp.USER32.dll_SetClassLongPtrW]
mov r8, qword [r14 + 0x5eb0]
mov r9d, 1
mov rcx, qword [r14 + 0x5fb0]
lea edx, [r9 + 0x2f]
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
lea rcx, [rbp - 0x30]
mov r8d, 0x208
call fcn.14014e180
mov rcx, qword [r15]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
mov edx, 2
mov r12, rax
call qword [sym.imp.USER32.dll_GetDlgItem]
lea rdx, [rsp + 0x60]
mov rcx, r12
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r13d, dword [rsp + 0x68]
lea rdx, [rsp + 0x40]
sub r13d, dword [rsp + 0x48]
mov rcx, r12
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140082893
lea rdx, [rsp + 0x48]
mov rcx, r12
call qword [sym.imp.USER32.dll_ScreenToClient]
mov r15, rdi
mov ecx, dword [rsp + 0x48]
lea eax, [r13 - 2]
sub ecx, dword [rsp + 0x40]
lea r8, [rbp - 0x30]
mov dword [rsp + 0x50], eax
mov r9d, 0x104
mov edx, 0x27
lea eax, [rcx*2]
add ecx, 0xfffffffe
add eax, r13d
add ecx, eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x58], ecx
call fcn.140071310
mov edx, 0xffffffec
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, 0xfffffff0
mov rcx, rbx
mov edi, eax
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov qword [rsp + 0x30], 0x101
lea rcx, [r14 + 0x5ff0]
mov dword [rsp + 0x28], edi
lea r9, [rbp - 0x30]
lea r8, [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov rdx, r12
call fcn.14001a7a0
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
lea edx, [r9 + 0x31]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [r14 + 0x5ff8]
mov r9d, 1
mov r8, rax
lea edx, [r9 + 0x2f]
call qword [sym.imp.USER32.dll_SendMessageW]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, qword [r14 + 0xa8]
mov qword [rcx + 0xc38], rax
mov rax, qword [r15]
mov qword [r14 + 0x5ab8], rax
add r14, 0xeb0
call fcn.14001c6f0
cmp eax, 0x1db1
jl 0x140082ae5
xor r9d, r9d
mov qword [rsp + 0x20], r14
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x24]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x140082ae5
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
xorps xmm0, xmm0
lea r15, str.none
movups xmmword [rbp - 0x80], xmm0
mov r12, rax
mov byte [rbp - 0x75], 0x30
xor eax, eax
mov byte [rbp - 0x79], 1
mov qword [rbp - 0x40], rax
lea rdi, [r14 + 0x3df8]
mov dword [rbp - 0x38], eax
mov ebx, esi
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
nop word [rax + rax]
mov r10, qword [rdi]
mov r8, r15
mov rax, r10
sub r8, r10
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140082a14
add rax, 2
test ecx, ecx
jne 0x140082a00
test edx, edx
je 0x140082a4e
mov r9, 0xffffffffffffffff
lea rcx, [rbp - 0x74]
mov r8, r10
mov r15, r10
lea edx, [r9 + 0x21]
call fcn.14003c5c8
mov r9, r14
mov dword [rsp + 0x20], esi
lea r8, [0x14001c760]
mov rcx, r12
lea rdx, [rsp + 0x70]
call qword [sym.imp.GDI32.dll_EnumFontFamiliesExW]
inc ebx
add rdi, 0x20
cmp ebx, 0xd
jb 0x1400829f0
lea rax, [r14 + 0x3e11]
cmp byte [rax], 0
je 0x140082a74
inc esi
add rax, 0x20
cmp esi, 0xd
jb 0x140082a60
xor bl, bl
jmp 0x140082a76
mov bl, 1
cmp byte [r14 + 0x3df1], 0
jne 0x140082ab5
xor edx, edx
lea rcx, str.oledlg.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
je 0x140082aab
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [r14 + 0x3df1], 1
cmp byte [r14 + 0x3df1], 0
je 0x140082ab9
test bl, bl
je 0x140082ae5
lea rcx, [r14 + 0x208]
call fcn.140003d60
test al, al
jne 0x140082ae5
mov r9d, 0x400000
lea rdx, [0x14001cc20]
mov r8, r14
lea rcx, [r14 + 0x208]
call fcn.140003cc0
lea r11, [rsp + 0x2e0]
mov eax, 1
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