Function at 0x140081020
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 + 0x5ee0]
xor esi, esi
lea rdi, [rcx + 0xa8]
mov r14, rcx
cmp qword [rbx + 8], rsi
jne 0x1400810d1
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 0x14008109c
call fcn.140025280
mov qword [rbx + 0x28], rax
test rax, rax
je 0x1400810d1
mov r8, rbx
mov rdx, r12
mov rcx, rax
call fcn.1400253b0
mov rcx, qword [rbx + 0x28]
call fcn.1400252fc
mov r8, rax
mov edx, 0xfffffffc
mov rcx, r15
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
test rax, rax
je 0x1400810d1
mov qword [rbx + 0x40], rax
mov qword [rbx + 8], r15
cmp qword [r14 + 0x5f30], rsi
jne 0x140081102
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 + 0x5f28]
call fcn.140018650
cmp qword [r14 + 0x5e48], rsi
jne 0x140081133
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 + 0x5e40]
call fcn.140018650
mov rbx, qword [r14 + 8]
lea r15, [r14 + 8]
mov rdi, r15
test rbx, rbx
je 0x140081198
lea rcx, [0x1401f25f0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x1401f25e8]
cmp ecx, dword [0x1401f25d8]
jae 0x14008118b
mov r8d, dword [0x1401f25e0]
mov rax, qword [0x1401f25d0]
imul r8d, ecx
mov rcx, qword [r8 + rax]
test rcx, rcx
je 0x14008118b
mov r8d, 3
mov rdx, rbx
call fcn.14006d840
lea rdi, [r14 + 8]
lea rcx, [0x1401f25f0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [r14 + 0x5ee8]
mov r9d, 0x80c086
xor r8d, r8d
mov edx, 0x409
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [r14 + 0x5ee8]
mov r9d, 0x640000
xor r8d, r8d
mov edx, 0x401
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [r14 + 0x5ee8]
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.140080cd0
mov r8, qword [r14 + 0x5e38]
mov edx, 0xfffffff4
mov rcx, qword [r14 + 0x5e48]
call qword [sym.imp.USER32.dll_SetClassLongPtrW]
mov r8, qword [r14 + 0x5e30]
mov r9d, 1
mov rcx, qword [r14 + 0x5f30]
lea edx, [r9 + 0x2f]
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
lea rcx, [rbp - 0x30]
mov r8d, 0x208
call fcn.14014d290
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 0x1400812a3
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.14006fd70
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 + 0x5f70]
mov dword [rsp + 0x28], edi
lea r9, [rbp - 0x30]
lea r8, [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov rdx, r12
call fcn.14001a2a0
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
lea edx, [r9 + 0x31]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [r14 + 0x5f78]
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 + 0x5a38], rax
add r14, 0xeb0
call fcn.14001c120
cmp eax, 0x1db1
jl 0x1400814f5
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 0x1400814f5
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 + 0x3d78]
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 0x140081424
add rax, 2
test ecx, ecx
jne 0x140081410
test edx, edx
je 0x14008145e
mov r9, 0xffffffffffffffff
lea rcx, [rbp - 0x74]
mov r8, r10
mov r15, r10
lea edx, [r9 + 0x21]
call fcn.14003c218
mov r9, r14
mov dword [rsp + 0x20], esi
lea r8, [0x14001c190]
mov rcx, r12
lea rdx, [rsp + 0x70]
call qword [sym.imp.GDI32.dll_EnumFontFamiliesExW]
inc ebx
add rdi, 0x20
cmp ebx, 0xd
jb 0x140081400
lea rax, [r14 + 0x3d91]
cmp byte [rax], 0
je 0x140081484
inc esi
add rax, 0x20
cmp esi, 0xd
jb 0x140081470
xor bl, bl
jmp 0x140081486
mov bl, 1
cmp byte [r14 + 0x3d71], 0
jne 0x1400814c5
xor edx, edx
lea rcx, str.oledlg.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
je 0x1400814bb
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [r14 + 0x3d71], 1
cmp byte [r14 + 0x3d71], 0
je 0x1400814c9
test bl, bl
je 0x1400814f5
lea rcx, [r14 + 0x208]
call fcn.140003a20
test al, al
jne 0x1400814f5
mov r9d, 0x400000
lea rdx, [0x14001c650]
mov r8, r14
lea rcx, [r14 + 0x208]
call fcn.140003980
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