Function at 0x4aadec
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 0x4ab0e2
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 [0x4b7ee0]
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.0045174c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
mov edx, 0x3e8
call fcn.00451728
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
or ecx, 0xffffffff
mov edx, 0x227
call fcn.0049d468
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
mov dl, 5
call fcn.004514cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
xor edx, edx
call fcn.00451ed8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
xor edx, edx
call fcn.004999cc
lea eax, [ebp - 0x114]
call fcn.0045e164
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 0xc]
mov ecx, 0x4ab0f8
call fcn.00404ec0
mov eax, dword [ebp - 0xc]
call fcn.00409ddc
test al, al
jne 0x4aaee9
mov eax, dword [ebp - 0xc]
call fcn.00409e00
mov eax, dword [ebp - 0xc]
call fcn.00409ddc
test al, al
jne 0x4aaf68
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, 0x4ab108
call fcn.00404ec0
mov eax, dword [ebp - 0xc]
call fcn.00409ddc
test al, al
jne 0x4aaf68
mov eax, dword [ebp - 0xc]
call fcn.00409e00
lea eax, [ebp - 0xc]
mov edx, 0x4ab118
call fcn.00404e7c
mov eax, dword [ebp - 0xc]
call fcn.00409dcc
test al, al
je 0x4aaf89
mov eax, dword [ebp - 0xc]
call fcn.00409fc0
mov eax, dword [ebp - 0xc]
call fcn.00409dcc
test al, al
jne 0x4aafea
xor eax, eax
push ebp
push 0x4aafe3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4ab130
push 0x4ab13c
mov ecx, dword [0x4b9668]
mov dl, 1
mov eax, dword [0x41bc20]
call fcn.004207a0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0042059c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aafea
lea eax, [ebp - 8]
call fcn.0040f7d0
ret
mov eax, dword [ebp - 0xc]
call fcn.00409dcc
test al, al
je 0x4ab01f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov edx, dword [ebp - 0xc]
call fcn.004999cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
add eax, 0x260
mov edx, 0x4ab148
call fcn.00404c08
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0045174c
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00451728
mov edx, 0x104
mov eax, dword [ebp - 4]
call fcn.00451774
mov edx, 0xb4
mov eax, dword [ebp - 4]
call fcn.00451798
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov dl, 1
call fcn.00451ed8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
xor edx, edx
call fcn.0045174c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
xor edx, edx
call fcn.00451728
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
call fcn.00451774
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
call fcn.00451798
push 0
push 0
push 0x501
mov eax, dword [ebp - 4]
call fcn.00458778
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab0e9
lea eax, [ebp - 0x118]
mov edx, 2
call fcn.00404bd8
lea eax, [ebp - 0xc]
call fcn.00404bb4
ret