Function at 0x10014be0
Capabilities:
Get common file path
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x1003f6e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 4
push esi
call dword [sym.imp.USER32.dll_GetWindow]
push 8
push esi
mov ebx, eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edx, dword [ebp + 0xc]
mov edi, eax
mov ecx, edx
sub ecx, 0x10
je 0x10014e98
sub ecx, 0x100
je 0x10014e55
sub ecx, 1
je 0x10014cc5
test edi, edi
je 0x10014eb1
cmp edx, dword [edi + 4]
jne 0x10014eb1
push 8
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, eax
je 0x10014eb1
push dword [edi]
mov ebx, dword [eax + 4]
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push dword [edi]
push 0
push 0xc
push 0x480
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [ebx + 0xa8], 0x16
jne 0x10014eb1
push 0x410
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x50]
test eax, eax
je 0x10014cba
or ecx, 1
mov dword [ebx + 0x50], ecx
jmp 0x10014eb1
and ecx, 0xfffffffe
mov dword [ebx + 0x50], ecx
jmp 0x10014eb1
mov ecx, dword [ebp + 0x10]
movzx eax, cx
sub eax, 0x440
je 0x10014e16
sub eax, 0x20
je 0x10014dfe
sub eax, 0x20
jne 0x10014eb1
shr ecx, 0x10
cmp ecx, 0x300
jne 0x10014eb1
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0x480
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10014d20
sub ecx, edx
sar ecx, 1
cmp ecx, 5
ja 0x10014d56
push 2
lea eax, [ebp - 0x210]
push 0x100027cc
push eax
call dword [sym.imp.msvcrt.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x10014d56
push 1
jmp 0x10014de9
lea ecx, [ebp - 0x210]
call fcn.10031550
test eax, eax
je 0x10014de7
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.msvcrt.dll__wchdir]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.msvcrt.dll__wchdir]
add esp, 8
xor ecx, ecx
test eax, eax
sete cl
push ecx
push 1
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x440
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push 0x104
lea eax, [ebp - 0x418]
xor edx, edx
push eax
lea ecx, [ebp - 0x210]
call fcn.10032260
lea eax, [ebp - 0x418]
push eax
push 0
push 0xc
push 0x440
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10014eb1
push 0
push 1
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x10014eb1
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret 0x10
push 0x104
lea eax, [ebp - 0x418]
push eax
push 0x440
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x418]
push eax
push 0
push 0xc
push 0x480
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10014eb1
mov ecx, esi
call fcn.10015730
push 8
call dword [sym.imp.msvcrt.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
jne 0x10014e76
mov ecx, esi
call fcn.100314b0
jmp 0x10014eb1
push edi
push 8
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [ebp + 0x14]
push 0x100027ec
mov eax, dword [eax + 0x40]
mov dword [edi], eax
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [edi + 4], eax
jmp 0x10014eb1
test edi, edi
je 0x10014ea6
push edi
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
push 0
push 8
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret 0x10