Function at 0x4e77c8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
call fcn.00404728
xor eax, eax
push ebp
push 0x4e7acf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xff
call fcn.004027ac
push 0xff
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, dword [ebp + 8]
call fcn.0041d97c
mov dl, 1
mov eax, dword [0x41a4b8]
call fcn.00403414
mov dword [ebp - 0x20], eax
mov dl, 1
mov eax, dword [0x41a4b8]
call fcn.00403414
mov dword [ebp - 0x1c], eax
mov dl, 1
mov eax, dword [0x41a4b8]
call fcn.00403414
mov dword [ebp - 0x24], eax
mov dl, 1
mov eax, dword [0x440eac]
call fcn.00440fac
mov dword [ebp - 0x10], eax
mov dl, 1
mov eax, dword [0x440eac]
call fcn.00440fac
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [0x440eac]
call fcn.00440fac
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4e7aa5
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 0x10]
call fcn.0044104c
mov edx, ebx
mov eax, dword [ebp - 0x14]
call fcn.0044104c
mov edx, ebx
mov eax, dword [ebp - 0x18]
call fcn.0044104c
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
call fcn.004410b4
test al, al
je 0x4e7a6f
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
call fcn.004413d8
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
call fcn.004e71d0
mov eax, dword [ebp - 0x24]
call fcn.004e73b4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 4]
call fcn.00450c68
mov eax, dword [eax + 8]
mov ecx, 0x4e7ae8
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x20]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 4]
call fcn.00450c68
mov eax, dword [eax + 8]
mov ecx, 0x4e7af4
mov edx, 1
mov ebx, dword [eax]
call dword [ebx + 0x20]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4e7a1d
inc esi
xor ebx, ebx
mov eax, dword [0x53a7c8]
cmp byte [eax], 1
je 0x4e7a1d
lea ecx, [ebp - 0x34]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x30]
call fcn.00404584
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 8]
call fcn.004707c4
lea ecx, [ebp - 0x2c]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax]
call dword [edi + 0xc]
lea ecx, [ebp - 0x38]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x38]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
call fcn.004410b4
test al, al
je 0x4e79f9
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.004415e0
dec eax
sub al, 2
jae 0x4e79b1
lea ecx, [ebp - 0x28]
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.00441630
cmp dword [ebp - 0x28], 0
je 0x4e79f9
mov edx, dword [ebp - 0x28]
mov eax, 0x4e7b08
call fcn.0040487c
test eax, eax
jne 0x4e79f9
mov eax, dword [0x53a530]
mov eax, dword [eax]
mov edx, dword [ebp - 0x28]
call fcn.004ad43c
test al, al
je 0x4e79f9
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004e7478
mov eax, dword [ebp - 0x14]
call fcn.0044101c
mov eax, dword [ebp - 0x18]
call fcn.0044101c
mov eax, dword [0x53ab08]
mov eax, dword [eax]
call fcn.00490870
inc ebx
dec esi
jne 0x4e7933
mov eax, dword [0x53a7c8]
cmp byte [eax], 1
jne 0x4e7a4c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 4]
call fcn.00450c68
mov eax, dword [eax + 8]
mov ecx, 0x4e7b14
mov edx, 1
mov ebx, dword [eax]
call dword [ebx + 0x20]
jmp 0x4e7a6f
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 4]
call fcn.00450c68
mov eax, dword [eax + 8]
mov ecx, 0x4e7b28
mov edx, 1
mov ebx, dword [eax]
call dword [ebx + 0x20]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e7aac
mov eax, dword [ebp - 0x10]
call fcn.00403444
mov eax, dword [ebp - 0x14]
call fcn.00403444
mov eax, dword [ebp - 0x18]
call fcn.00403444
mov eax, dword [ebp - 0x20]
call fcn.00403444
mov eax, dword [ebp - 0x1c]
call fcn.00403444
ret