Function at 0x4275e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4a1c1c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1cc
push ebx
push edi
mov edi, ecx
mov eax, dword [edi + 0x83c]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x10], edi
je 0x427654
cmp dword [edi + 0xe8], ebx
jne 0x42762d
lea ecx, [edi + 0xf0]
push ecx
push eax
mov ecx, 0x4d17d4
call fcn.00437c90
test eax, eax
jne 0x427654
mov ecx, edi
call fcn.00424c70
mov edx, dword [edi + 0x83c]
neg eax
sbb eax, eax
inc eax
push eax
push edx
lea ecx, [edi + 0xf0]
call fcn.0043de40
test eax, eax
je 0x427a70
push ebp
push esi
call fcn.0048f258
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x84]
cmp eax, ebx
mov dword [esp + 0x20], eax
je 0x42788a
cmp dword [0x4d0ff8], ebx
jne 0x42788a
mov eax, dword [edi + 0x6d8]
cmp eax, ebx
mov dword [esp + 0x28], ebx
je 0x42788a
jmp 0x427694
mov eax, dword [esp + 0x14]
mov ebp, dword [eax]
mov esi, dword [eax + 8]
mov dword [esp + 0x1c], eax
cmp dword [esi + 8], 0xe110
mov dword [esp + 0x14], ebp
jne 0x4276bf
mov eax, dword [esi + 0x10]
push str.Recent_File
push eax
call fcn.0041059c
add esp, 8
test eax, eax
je 0x4276d3
mov esi, dword [esi + 0xc]
and esi, 1
inc ebx
test ebp, ebp
mov dword [esp + 0x28], esi
jne 0x427690
jmp 0x42788a
mov eax, dword [esp + 0x1c]
lea ecx, [edi + 0x6d4]
push eax
call fcn.00472025
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
lea eax, [esp + 0xd8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0xd8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0x20]
mov edi, eax
mov eax, dword [edx + 4]
mov byte [esp + edi + 0xd8], 0x5c
inc edi
xor ebp, ebp
xor esi, esi
test eax, eax
mov dword [esp + 0x1c], edi
mov byte [esp + edi + 0xd8], 0
jle 0x427854
call fcn.004787a0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
push 1
push edi
lea edx, [esp + 0xe0]
push edx
push esi
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x1f8], 0
call dword [eax + 8]
test eax, eax
je 0x427817
call fcn.004787a0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
push eax
inc ebp
push ebp
lea ecx, [esp + 0x2c]
push str._d__s
push ecx
mov byte [esp + 0x1f4], 1
call fcn.0040394e
mov edi, dword [esp + 0x34]
add esp, 0x10
push 0
push edi
push 0xffffffffffffffff
push 0
lea edx, [esi + 0xe110]
push edx
lea ecx, [esp + 0x40]
call fcn.0043f640
mov ecx, dword [esp + 0x18]
push ebx
push eax
add ecx, 0xf0
mov byte [esp + 0x1ec], 2
call fcn.00495e70
lea ecx, [esp + 0x2c]
inc ebx
mov byte [esp + 0x1e4], 1
call fcn.0043e540
lea eax, [edi - 0x10]
mov byte [esp + 0x1e4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427813
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x1e4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427840
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
inc esi
cmp esi, ecx
jl 0x427737
test ebp, ebp
jne 0x427886
mov eax, dword [esp + 0x28]
test eax, eax
je 0x427886
mov eax, dword [esp + 0x14]
test eax, eax
je 0x427886
mov esi, dword [eax + 8]
test byte [esi + 0xc], 1
je 0x427886
mov ecx, dword [esp + 0x18]
push eax
add ecx, 0x6d4
call fcn.00472025
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
mov edi, dword [esp + 0x18]
mov eax, dword [0x4d1804]
test eax, eax
je 0x427a0e
mov eax, dword [0x4d0ff8]
test eax, eax
jne 0x427a0e
mov eax, dword [edi + 0x6d8]
xor ebp, ebp
xor ebx, ebx
test eax, eax
mov dword [esp + 0x10], ebp
je 0x427a0e
jmp 0x4278c0
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov ecx, eax
mov esi, dword [ecx + 8]
mov ecx, dword [0x4d1804]
mov ecx, dword [ecx + 0x20]
mov dword [esp + 0x14], edx
cmp ecx, dword [esi + 8]
jne 0x4279cc
push eax
lea ecx, [edi + 0x6d4]
call fcn.00472025
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
test ebx, ebx
jne 0x427a01
mov esi, dword [0x4d1804]
mov eax, dword [esp + 0x10]
add esi, 4
test eax, eax
jne 0x427929
mov eax, dword [esi + 0xc]
test eax, eax
je 0x427929
mov eax, dword [edi + 0x6e0]
test eax, eax
je 0x427929
push ebp
lea ecx, [edi + 0xf0]
call fcn.00495310
inc ebp
mov esi, dword [esi + 4]
test esi, esi
je 0x4279a8
lea ebx, [edi + 0xf0]
mov eax, esi
mov edi, dword [eax + 8]
mov eax, dword [edi + 0x10]
mov esi, dword [esi]
push 1
push eax
call fcn.00437680
mov ecx, eax
call fcn.004378b0
mov ecx, dword [edi + 4]
xor edx, edx
mov edi, dword [edi + 0x10]
cmp eax, 0xffffffff
setne dl
push edx
push ecx
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
dec ecx
and ecx, eax
push ecx
push 0
push edi
lea ecx, [esp + 0x40]
call fcn.0043f640
push ebp
push eax
mov ecx, ebx
mov dword [esp + 0x1ec], 3
call fcn.00495e70
lea ecx, [esp + 0x2c]
inc ebp
mov dword [esp + 0x1e4], 0xffffffff
call fcn.0043e540
test esi, esi
jne 0x427936
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4279c5
push ebp
lea ecx, [edi + 0xf0]
call fcn.00495310
inc ebp
mov dword [esp + 0x10], 1
mov ebx, 1
jmp 0x427a01
test byte [esi + 0xc], 1
je 0x4279f9
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4279ef
push eax
lea ecx, [edi + 0x6d4]
call fcn.00472025
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
mov dword [esp + 0x10], 1
jmp 0x427a01
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x14]
inc ebp
test eax, eax
jne 0x4278bc
mov eax, dword [edi + 0xf0]
lea ebx, [edi + 0xf0]
mov ecx, ebx
call dword [eax + 0x1f8]
mov esi, eax
test esi, esi
je 0x427a36
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x120]
test eax, eax
jne 0x427a3f
mov ecx, edi
call fcn.00476d2d
mov esi, eax
test esi, esi
je 0x427a50
mov eax, dword [ebx]
push 0
push esi
mov ecx, ebx
call dword [eax + 0x138]
mov eax, dword [0x4d1810]
test eax, eax
pop esi
pop ebp
jne 0x427a62
mov ecx, edi
call fcn.00476d6c
push edi
push eax
call fcn.004255f0
add esp, 8
test eax, eax
jne 0x427a89
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1cc]
mov dword fs:[0], ecx
add esp, 0x1d8
ret
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 0x144]
mov ecx, dword [esp + 0x1d4]
pop edi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1d8
ret