Function at 0x449af0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4d675c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1cc
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [esp + 0x10], edi
mov eax, dword [edi + 0x810]
cmp eax, esi
je 0x449b77
cmp dword [edi + 0xd4], esi
jne 0x449b3d
lea ecx, [edi + 0xdc]
push ecx
push eax
mov ecx, 0x518e18
call fcn.00470750
test eax, eax
jne 0x449b77
mov ecx, edi
call fcn.00449fc0
mov edx, dword [edi + 0x810]
lea ecx, [edi + 0xdc]
neg eax
sbb eax, eax
inc eax
push eax
push edx
call fcn.0044f6b0
test eax, eax
jne 0x449b77
pop edi
pop esi
mov ecx, dword [esp + 0x1cc]
mov dword fs:[0], ecx
add esp, 0x1d8
ret
push ebx
push ebp
call fcn.004c13ba
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xa8]
cmp eax, esi
mov dword [esp + 0x14], eax
je 0x449d7f
cmp dword [0x518c54], esi
jne 0x449d7f
mov ebx, dword [edi + 0x6ac]
mov dword [esp + 0x10], esi
cmp ebx, esi
mov dword [esp + 0x24], esi
je 0x449d7f
mov eax, ebx
mov ebp, ebx
mov ebx, dword [ebx]
mov esi, dword [eax + 8]
cmp dword [esi + 8], 0xe110
jne 0x449bdc
mov eax, dword [esi + 0x10]
push str.Recent_File
push eax
call fcn.004372d8
add esp, 8
test eax, eax
je 0x449bf8
mov esi, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
and esi, 1
inc ecx
test ebx, ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x10], ecx
jne 0x449bb5
jmp 0x449d7f
lea ecx, [edi + 0x6a8]
push ebp
call fcn.004a479b
test esi, esi
je 0x449c11
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
lea ecx, [esp + 0xd8]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryA]
lea edx, [esp + 0xd8]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov edi, eax
mov eax, dword [esp + 0x14]
xor ebp, ebp
xor esi, esi
mov ecx, dword [eax + 4]
mov byte [esp + edi + 0xd8], 0x5c
inc edi
test ecx, ecx
mov dword [esp + 0x28], edi
mov byte [esp + edi + 0xd8], 0
jle 0x449d49
mov ecx, dword [0x510634]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x14]
push 1
lea edx, [esp + 0xdc]
push edi
push edx
lea eax, [esp + 0x28]
push esi
push eax
mov dword [esp + 0x1f8], 0
call fcn.004ac7fd
test eax, eax
je 0x449d23
mov ecx, dword [0x510634]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x1c]
inc ebp
push edx
push ebp
lea eax, [esp + 0x28]
push str._d__s
push eax
mov byte [esp + 0x1f4], 1
call fcn.004a17cf
mov ecx, dword [esp + 0x30]
add esp, 0x10
mov edi, dword [esp + 0x10]
lea edx, [esi + 0xe110]
push 0
push ecx
push 0xffffffffffffffff
push 0
push edx
lea ecx, [esp + 0x40]
call fcn.0045df90
mov ecx, edi
push edi
push eax
mov eax, dword [esp + 0x20]
inc ecx
mov byte [esp + 0x1ec], 2
mov dword [esp + 0x18], ecx
lea ecx, [eax + 0xdc]
call fcn.004c5030
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1e4], 1
call fcn.0045e080
lea ecx, [esp + 0x20]
mov byte [esp + 0x1e4], 0
call fcn.004a9169
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1e4], 0xffffffff
call fcn.004a9169
mov ecx, dword [esp + 0x14]
inc esi
cmp esi, dword [ecx + 4]
jl 0x449c5c
test ebp, ebp
jne 0x449d7b
mov eax, dword [esp + 0x24]
test eax, eax
je 0x449d7b
test ebx, ebx
je 0x449d7b
mov esi, dword [ebx + 8]
test byte [esi + 0xc], 1
je 0x449d7b
mov edx, dword [esp + 0x18]
push ebx
lea ecx, [edx + 0x6a8]
call fcn.004a479b
test esi, esi
je 0x449d7b
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov edi, dword [esp + 0x18]
mov eax, dword [0x518d74]
test eax, eax
je 0x449f12
mov eax, dword [0x518c54]
test eax, eax
jne 0x449f12
mov eax, dword [edi + 0x6ac]
xor ebx, ebx
xor ebp, ebp
test eax, eax
mov dword [esp + 0x10], ebp
je 0x449f12
jmp 0x449db5
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov ecx, eax
mov dword [esp + 0x14], edx
mov esi, dword [ecx + 8]
mov ecx, dword [0x518d74]
mov ecx, dword [ecx + 0x20]
mov edx, dword [esi + 8]
cmp ecx, edx
jne 0x449ecc
push eax
lea ecx, [edi + 0x6a8]
call fcn.004a479b
test esi, esi
je 0x449ded
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
test ebx, ebx
jne 0x449f05
mov eax, dword [0x518d74]
lea esi, [eax + 4]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x449e25
mov eax, dword [esi + 0xc]
test eax, eax
je 0x449e25
mov eax, dword [edi + 0x6b4]
test eax, eax
je 0x449e25
mov eax, ebp
lea ecx, [edi + 0xdc]
push eax
inc ebp
call fcn.004c51d0
mov esi, dword [esi + 4]
test esi, esi
je 0x449ea6
mov eax, esi
mov esi, dword [esi]
push 1
mov edi, dword [eax + 8]
mov eax, dword [edi + 0x10]
push eax
call fcn.00460f40
mov ecx, eax
call fcn.00461350
mov ecx, dword [edi + 4]
xor edx, edx
cmp eax, 0xffffffff
mov edi, dword [edi + 0x10]
setne dl
push edx
push ecx
mov ecx, eax
mov ebx, ebp
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push 0
push edi
lea ecx, [esp + 0x40]
call fcn.0045df90
mov edx, dword [esp + 0x18]
push ebx
push eax
mov dword [esp + 0x1ec], 3
lea ecx, [edx + 0xdc]
inc ebp
call fcn.004c5030
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1e4], 0xffffffff
call fcn.0045e080
test esi, esi
jne 0x449e2c
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x449ec5
mov eax, ebp
lea ecx, [edi + 0xdc]
push eax
inc ebp
call fcn.004c51d0
mov dword [esp + 0x10], 1
mov ebx, 1
jmp 0x449f05
test byte [esi + 0xc], 1
je 0x449efd
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x449ef3
push eax
lea ecx, [edi + 0x6a8]
call fcn.004a479b
test esi, esi
je 0x449ef3
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov dword [esp + 0x10], 1
jmp 0x449f05
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x14]
inc ebp
test eax, eax
jne 0x449db1
mov edx, dword [edi + 0xdc]
lea ebx, [edi + 0xdc]
mov ecx, ebx
call dword [edx + 0x174]
mov esi, eax
test esi, esi
je 0x449f3a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xb0]
test eax, eax
jne 0x449f43
mov ecx, edi
call fcn.004a6d87
mov esi, eax
test esi, esi
je 0x449f54
mov edx, dword [ebx]
push 0
push esi
mov ecx, ebx
call dword [edx + 0xc0]
mov eax, dword [0x518e38]
pop ebp
test eax, eax
pop ebx
jne 0x449f66
mov ecx, edi
call fcn.004a6ee7
push edi
push eax
call fcn.004491e0
add esp, 8
test eax, eax
jne 0x449f8b
pop edi
pop esi
mov ecx, dword [esp + 0x1cc]
mov dword fs:[0], ecx
add esp, 0x1d8
ret
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 0xc8]
mov ecx, dword [esp + 0x1d4]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x1d8
ret