Function at 0x4f4a8c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x16
push 0
push 0
dec ecx
jne 0x4f4a95
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
call fcn.00404ed0
xor eax, eax
push ebp
push 0x4f5072
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xff
call fcn.004027dc
mov dword [ebp - 0x20], eax
push 0xff
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, dword [ebp + 0xc]
call fcn.0041bcbc
mov dl, 1
mov eax, dword [0x418888]
call fcn.00403bbc
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [0x441474]
call fcn.00441574
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4f502b
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
call fcn.00441614
xor ecx, ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
call fcn.0044167c
test al, al
je 0x4f500d
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.00441a68
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4f500d
inc esi
xor ebx, ebx
mov eax, dword [0x581040]
mov eax, dword [eax]
call fcn.0048d8b8
mov eax, dword [0x580cd8]
cmp byte [eax], 2
je 0x4f500d
lea ecx, [ebp - 0x2c]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x28]
call fcn.00404d2c
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.0046cef4
call fcn.0057b47c
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.00441ba8
dec eax
sub al, 2
jae 0x4f5005
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x20]
call fcn.00404c18
push dword [ebp - 0x30]
push 0x4f508c
lea ecx, [ebp - 0x38]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 0x10]
call fcn.00441bf8
push dword [ebp - 0x34]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404da0
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.0057b564
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0x18]
call fcn.004090d0
mov edx, dword [ebp - 0x3c]
mov eax, 0x4f509c
call fcn.00405024
cmp eax, 2
jne 0x4f5005
mov edx, dword [ebp - 0x18]
mov eax, 0x4f50a8
call fcn.00405024
test eax, eax
jne 0x4f5005
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x18]
call fcn.00408fc0
mov edx, dword [ebp - 0x40]
mov eax, 0x4f50b4
call fcn.00405024
test eax, eax
jne 0x4f5005
mov eax, dword [0x580a04]
mov eax, dword [eax]
mov edx, dword [ebp - 0x18]
call fcn.0057a5b8
test al, al
je 0x4f5005
mov eax, dword [ebp - 0x18]
call fcn.004099b4
test al, al
jne 0x4f5005
lea ecx, [ebp - 0x44]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x44]
push eax
lea edx, [ebp - 0x4c]
mov eax, dword [ebp + 0x14]
call fcn.00579b8c
push dword [ebp - 0x4c]
push 0x4f50c0
push dword [ebp + 0x10]
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.00404da0
mov ecx, dword [ebp - 0x48]
mov edx, 0x4f50cc
mov eax, dword [ebp + 8]
call fcn.0057ac74
cmp al, 1
je 0x4f5005
mov eax, dword [ebp + 0xc]
call fcn.004f3024
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.004f3038
mov byte [eax + 0xc], 1
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.004f3038
add eax, 0x12
push eax
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x64]
mov eax, dword [ebp + 0x14]
call fcn.00579b8c
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0xb
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0xb
lea edx, [ebp - 0x60]
mov ecx, 1
mov eax, 0x4f50e4
call fcn.0040a520
mov edx, dword [ebp - 0x50]
pop eax
call fcn.00404a74
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.004f3038
add eax, 0x16
mov edx, 0x4f50f4
call fcn.00404a74
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.004f3038
add eax, 0x1a
push eax
lea ecx, [ebp - 0x68]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x68]
pop eax
call fcn.00404a74
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.004f3038
add eax, 0x1e
push eax
lea ecx, [ebp - 0x70]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x70]
lea ecx, [ebp - 0x6c]
mov eax, dword [ebp - 0x10]
call fcn.00441bf8
mov edx, dword [ebp - 0x6c]
pop eax
call fcn.00404a74
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp + 0x14]
call fcn.00579b8c
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0xb
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0xb
lea edx, [ebp - 0x60]
mov ecx, 1
mov eax, 0x4f50e4
call fcn.0040a520
mov eax, dword [ebp - 0x74]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.004f3038
add eax, 0x2e
mov edx, 0x4f5104
pop ecx
call fcn.00404d2c
lea ecx, [ebp - 0x7c]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x7c]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.004f3038
add eax, 0x32
mov edx, 0x4f5118
pop ecx
call fcn.00404d2c
lea ecx, [ebp - 0x84]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x84]
lea ecx, [ebp - 0x80]
mov eax, dword [ebp - 0x10]
call fcn.00441bf8
mov eax, dword [ebp - 0x80]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.004f3038
add eax, 0x36
mov edx, 0x4f512c
pop ecx
call fcn.00404d2c
push 0x4f513c
lea ecx, [ebp - 0x8c]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x88]
mov eax, dword [ebp - 0x10]
call fcn.00441bf8
push dword [ebp - 0x88]
push 0x4f5150
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.004f3038
add eax, 0x3a
mov edx, 3
call fcn.00404da0
mov eax, dword [0x5810e0]
inc dword [eax]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.004f3038
mov edx, dword [0x5810e0]
mov edx, dword [edx]
mov dword [eax + 0x2a], edx
lea eax, [ebp - 0x90]
push eax
lea edx, [ebp - 0x94]
mov eax, dword [ebp + 0x14]
call fcn.00579b8c
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0xb
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0xb
lea edx, [ebp - 0x60]
mov ecx, 1
mov eax, 0x4f50e4
call fcn.0040a520
mov eax, dword [ebp - 0x90]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.004f3038
add eax, 0x42
mov edx, 0x4f5184
pop ecx
call fcn.00404d2c
mov al, byte [0x4f5190]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0xa0]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0xa0]
lea ecx, [ebp - 0x9c]
mov eax, dword [ebp - 0x10]
call fcn.00441bf8
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x98]
call fcn.00409c98
mov eax, dword [ebp - 0x98]
xor ecx, ecx
mov edx, 0x4f519c
call fcn.0040e9b0
push 0x4f51a8
push dword [ebp - 0x24]
push 0x4f51bc
lea ecx, [ebp - 0xa8]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0xa8]
lea ecx, [ebp - 0xa4]
mov eax, dword [ebp - 0x10]
call fcn.00441bf8
push dword [ebp - 0xa4]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.004f3038
add eax, 0x46
mov edx, 4
call fcn.00404da0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.004f3038
add eax, 0x3e
mov edx, dword [ebp - 0x1c]
call fcn.00404a74
lea eax, [ebp - 0xac]
push eax
mov eax, dword [ebp + 0xc]
call fcn.0041bd60
mov dword [ebp - 0xb4], eax
mov byte [ebp - 0xb0], 0
lea edx, [ebp - 0xb4]
xor ecx, ecx
mov eax, 0x4f51e4
call fcn.0040a520
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 8]
call fcn.0046cef4
inc ebx
dec esi
jne 0x4f4b4e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f5032
mov eax, dword [ebp - 0x10]
call fcn.00403bec
mov eax, dword [ebp - 0x14]
call fcn.00403bec
ret