Function at 0x10069f1f
Capabilities:
Get common file path

Disassembly:
push 0x31c
mov eax, 0x10143916
call fcn.101237d7
mov ebx, ecx
mov dword [ebp - 0x328], ebx
mov eax, dword [ebx]
call dword [eax + 0x1c8]
mov edi, eax
mov eax, dword [ebx + 0xf34]
test eax, eax
je 0x10069fc7
push eax
call dword [sym.imp.USER32.dll_IsMenu]
neg eax
sbb eax, eax
neg eax
jne 0x10069f5e
call fcn.10004bf5
cmp dword [ebx + 0x158], 0
jne 0x10069f7c
push edi
push dword [ebx + 0xf34]
mov ecx, 0x101a4024
call fcn.1007a848
test eax, eax
jne 0x10069fc7
call fcn.1006a7d8
test eax, eax
je 0x10069fa2
mov eax, dword [edi]
mov ecx, edi
push 1
push dword [ebx + 0xf34]
call dword [eax + 0x438]
test eax, eax
jne 0x10069fc7
xor eax, eax
jmp 0x1006a4f3
mov edx, dword [edi]
xor ecx, ecx
cmp dword [ebx + 0x158], ecx
setne cl
xor eax, eax
test ecx, ecx
mov ecx, edi
sete al
push eax
push dword [ebx + 0xf34]
call dword [edx + 0x438]
jmp 0x10069f97
call fcn.1000827c
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x8c]
mov dword [ebp - 0x31c], eax
test eax, eax
je 0x1006a24c
cmp dword [0x101a2958], 0
jne 0x1006a24c
mov esi, dword [edi + 0xc40]
xor ecx, ecx
mov dword [ebp - 0x304], ecx
xor eax, eax
mov dword [ebp - 0x314], esi
mov dword [ebp - 0x310], eax
test esi, esi
je 0x1006a24c
lea ecx, [ebp - 0x314]
lea eax, [edi + 0xc3c]
push ecx
mov ecx, eax
call fcn.10011756
mov ecx, dword [eax]
xor eax, eax
test ecx, ecx
mov dword [ebp - 0x308], ecx
setne al
test eax, eax
je 0x10069f59
cmp dword [ecx + 0x20], 0xe110
jne 0x1006a05f
push str.Recent_File
add ecx, 0x2c
call fcn.1000ae64
test eax, eax
je 0x1006a073
mov ecx, dword [ebp - 0x308]
mov eax, dword [ecx + 0x24]
mov esi, dword [ebp - 0x314]
and eax, 1
inc dword [ebp - 0x304]
jmp 0x1006a006
push esi
lea ecx, [edi + 0xc3c]
call fcn.10016f5e
mov ecx, dword [ebp - 0x308]
push 1
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x218]
push eax
call fcn.101291d2
pop ecx
push 0x5c
pop ecx
mov word [ebp + eax*2 - 0x218], cx
inc eax
mov dword [ebp - 0x324], eax
add eax, eax
cmp eax, 0x208
jae 0x1006a41a
mov esi, dword [ebp - 0x31c]
xor ecx, ecx
mov word [ebp + eax - 0x218], cx
xor eax, eax
and dword [ebp - 0x320], eax
mov dword [ebp - 0x308], eax
cmp dword [esi + 4], eax
jle 0x1006a1ef
mov ebx, dword [ebp - 0x320]
call fcn.100051d1
push eax
lea ecx, [ebp - 0x30c]
call fcn.100025d0
mov eax, dword [esi]
lea ecx, [ebp - 0x218]
and dword [ebp - 4], 0
push 1
push dword [ebp - 0x324]
push ecx
push ebx
lea ecx, [ebp - 0x30c]
push ecx
mov ecx, esi
call dword [eax + 0xc]
test eax, eax
je 0x1006a1c3
call fcn.100051d1
push eax
lea ecx, [ebp - 0x318]
call fcn.100025d0
push dword [ebp - 0x30c]
mov eax, dword [ebp - 0x308]
inc eax
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x308], eax
lea eax, [ebp - 0x318]
push str._d__Ts
push eax
call fcn.10003899
mov esi, dword [ebp - 0x318]
lea eax, [ebx + 0xe110]
add esp, 0x10
lea ecx, [ebp - 0x300]
push 0
push esi
push 0xffffffffffffffff
push 0
push eax
call fcn.100bc31c
mov ecx, dword [ebp - 0x304]
mov edx, dword [edi]
push ecx
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call dword [edx + 0x344]
inc dword [ebp - 0x304]
lea ecx, [ebp - 0x300]
call fcn.100bc405
lea ecx, [esi - 0x10]
call fcn.100028d0
mov esi, dword [ebp - 0x31c]
mov ecx, dword [ebp - 0x30c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.100028d0
inc ebx
cmp ebx, dword [esi + 4]
jl 0x1006a0f7
mov eax, dword [ebp - 0x308]
mov ebx, dword [ebp - 0x328]
test eax, eax
jne 0x1006a24c
mov eax, dword [ebp - 0x310]
test eax, eax
je 0x1006a24c
mov eax, dword [ebp - 0x314]
mov dword [ebp - 0x324], eax
test eax, eax
je 0x1006a24c
lea eax, [ebp - 0x314]
push eax
lea ecx, [edi + 0xc3c]
call fcn.10011756
mov esi, dword [eax]
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x10069f59
test byte [esi + 0x24], 1
je 0x1006a24c
push dword [ebp - 0x324]
lea ecx, [edi + 0xc3c]
call fcn.10016f5e
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 4]
cmp dword [0x101a4394], 0
je 0x1006a48d
cmp dword [0x101a2958], 0
jne 0x1006a48d
mov eax, dword [edi + 0xc40]
xor esi, esi
and dword [ebp - 0x310], 0
and dword [ebp - 0x304], esi
mov dword [ebp - 0x30c], esi
mov dword [ebp - 0x314], eax
test eax, eax
je 0x1006a48d
lea ecx, [edi + 0xc3c]
mov dword [ebp - 0x31c], eax
lea eax, [ebp - 0x314]
push eax
call fcn.10011756
mov ecx, dword [eax]
xor eax, eax
test ecx, ecx
mov dword [ebp - 0x318], ecx
setne al
test eax, eax
je 0x10069f59
mov edx, dword [0x101a4394]
mov eax, dword [edx + 0x20]
cmp eax, dword [ecx + 0x20]
mov eax, dword [ebp - 0x314]
mov dword [ebp - 0x320], eax
jne 0x1006a432
cmp dword [0x101a3d70], 0
lea eax, [edx + 4]
mov dword [ebp - 0x308], eax
je 0x1006a2f4
cmp dword [eax + 0xc], 0
je 0x1006a318
push dword [ebp - 0x31c]
lea ecx, [edi + 0xc3c]
call fcn.10016f5e
mov ecx, dword [ebp - 0x318]
push 1
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x308]
cmp dword [ebp - 0x310], 0
jne 0x1006a472
cmp dword [ebp - 0x304], 0
jne 0x1006a34f
cmp dword [eax + 0xc], 0
je 0x1006a34f
cmp dword [edi + 0xc48], 0
je 0x1006a34f
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x348]
inc esi
mov dword [ebp - 0x30c], esi
mov ecx, dword [ebp - 0x308]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x310], eax
test eax, eax
je 0x1006a3f5
mov ebx, dword [ebp - 0x30c]
lea eax, [ebp - 0x310]
push eax
call fcn.1004c389
mov esi, eax
push 1
push dword [esi + 0x10]
call fcn.1007af08
mov ecx, eax
call fcn.1007aed0
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
push ecx
push dword [esi + 4]
lea ecx, [eax + 1]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push 0
push dword [esi + 0x10]
lea ecx, [ebp - 0x300]
call fcn.100bc31c
mov edx, dword [edi]
mov ecx, edi
push ebx
push eax
mov dword [ebp - 4], 3
call dword [edx + 0x344]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x300]
inc ebx
call fcn.100bc405
cmp dword [ebp - 0x310], 0
mov ecx, dword [ebp - 0x308]
jne 0x1006a36c
mov dword [ebp - 0x30c], ebx
mov ebx, dword [ebp - 0x328]
mov esi, dword [ebp - 0x30c]
cmp dword [ebp - 0x320], 0
je 0x1006a426
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x348]
inc esi
test eax, eax
js 0x1006a41f
mov dword [ebp - 0x304], 1
jmp 0x1006a426
call fcn.10123ca1
and dword [ebp - 0x304], 0
mov dword [ebp - 0x310], 1
jmp 0x1006a472
test byte [ecx + 0x24], 1
je 0x1006a46b
cmp dword [ebp - 0x304], 0
je 0x1006a45f
push dword [ebp - 0x31c]
lea ecx, [edi + 0xc3c]
call fcn.10016f5e
mov ecx, dword [ebp - 0x318]
push 1
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x304], 1
jmp 0x1006a472
and dword [ebp - 0x304], 0
mov eax, dword [ebp - 0x320]
lea ecx, [edi + 0xc3c]
inc esi
mov dword [ebp - 0x30c], esi
test eax, eax
jne 0x1006a295
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x3c4]
mov esi, eax
test esi, esi
je 0x1006a4ab
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x150]
test eax, eax
jne 0x1006a4b4
push ebx
call fcn.10034d03
pop ecx
mov esi, eax
test esi, esi
je 0x1006a4c5
mov eax, dword [edi]
mov ecx, edi
push 0
push esi
call dword [eax + 0x244]
mov eax, dword [0x101a3ef4]
test eax, eax
jne 0x1006a4d5
mov ecx, ebx
call fcn.1001193c
push ebx
push eax
call fcn.10068655
test eax, eax
je 0x10069f9b
mov edx, dword [ebx]
mov ecx, ebx
push 1
call dword [edx + 0x178]
xor eax, eax
inc eax
call fcn.10123781
ret