Function at 0x4adee4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
xor edx, edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ae1da
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 0x30c
call fcn.00404bb4
mov eax, dword [ebp - 4]
mov byte [eax + 0x311], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x312], 0
mov eax, dword [0x4bcec8]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x310], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
mov edx, 0x3e8
call fcn.00451780
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
mov edx, 0x3e8
call fcn.0045175c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
or ecx, 0xffffffff
mov edx, 0x227
call fcn.0049dda0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
mov dl, 5
call fcn.00451500
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
xor edx, edx
call fcn.00451f0c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
xor edx, edx
call fcn.0049a304
lea eax, [ebp - 0x114]
call fcn.0045e258
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 0xc]
mov ecx, 0x4ae1f0
call fcn.00404ec0
mov eax, dword [ebp - 0xc]
call fcn.00409dfc
test al, al
jne 0x4adfe1
mov eax, dword [ebp - 0xc]
call fcn.00409e20
mov eax, dword [ebp - 0xc]
call fcn.00409dfc
test al, al
jne 0x4ae060
lea eax, [ebp - 0x110]
xor ecx, ecx
mov edx, 0x104
call fcn.0040362c
push 0x104
lea eax, [ebp - 0x110]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x110]
mov ecx, 0x104
call fcn.00404e24
lea eax, [ebp - 0x118]
lea edx, [ebp - 0x110]
mov ecx, 0x104
call fcn.00404e24
mov edx, dword [ebp - 0x118]
lea eax, [ebp - 0xc]
mov ecx, 0x4ae200
call fcn.00404ec0
mov eax, dword [ebp - 0xc]
call fcn.00409dfc
test al, al
jne 0x4ae060
mov eax, dword [ebp - 0xc]
call fcn.00409e20
lea eax, [ebp - 0xc]
mov edx, 0x4ae210
call fcn.00404e7c
mov eax, dword [ebp - 0xc]
call fcn.00409dec
test al, al
je 0x4ae081
mov eax, dword [ebp - 0xc]
call fcn.00409fe0
mov eax, dword [ebp - 0xc]
call fcn.00409dec
test al, al
jne 0x4ae0e2
xor eax, eax
push ebp
push 0x4ae0db
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4ae228
push 0x4ae234
mov ecx, dword [0x4be668]
mov dl, 1
mov eax, dword [0x41bc90]
call fcn.00420810
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0042060c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae0e2
lea eax, [ebp - 8]
call fcn.0040f7f0
ret
mov eax, dword [ebp - 0xc]
call fcn.00409dec
test al, al
je 0x4ae117
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov edx, dword [ebp - 0xc]
call fcn.0049a304
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
add eax, 0x260
mov edx, 0x4ae240
call fcn.00404c08
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00451780
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0045175c
mov edx, 0x104
mov eax, dword [ebp - 4]
call fcn.004517a8
mov edx, 0xb4
mov eax, dword [ebp - 4]
call fcn.004517cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov dl, 1
call fcn.00451f0c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
xor edx, edx
call fcn.00451780
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
xor edx, edx
call fcn.0045175c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
call fcn.004517a8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
call fcn.004517cc
push 0
push 0
push 0x501
mov eax, dword [ebp - 4]
call fcn.004587ac
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae1e1
lea eax, [ebp - 0x118]
mov edx, 2
call fcn.00404bd8
lea eax, [ebp - 0xc]
call fcn.00404bb4
ret