Function at 0x4d5f74
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x4d5f7d
push ecx
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.00404c7c
xor eax, eax
push ebp
push 0x4d642e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xff
call fcn.004027bc
mov dword [ebp - 0x1c], eax
push 0xff
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, dword [ebp + 0xc]
call fcn.0041b670
mov dl, 1
mov eax, dword [0x41828c]
call fcn.00403968
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [0x43e9dc]
call fcn.0043eadc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4d63ec
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
call fcn.0043eb7c
xor ecx, ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
call fcn.0043ebe4
test al, al
je 0x4d63ce
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.0043efd0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4d63ce
inc esi
xor ebx, ebx
mov eax, dword [0x532ec0]
cmp byte [eax], 1
je 0x4d63ce
lea ecx, [ebp - 0x24]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x20]
call fcn.00404ad8
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0046dddc
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.0043f110
dec eax
sub al, 2
jae 0x4d63ba
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
call fcn.004049c4
push dword [ebp - 0x28]
push 0x4d6448
lea ecx, [ebp - 0x30]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
call fcn.0043f160
push dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404b4c
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x18]
call fcn.00408d8c
mov edx, dword [ebp - 0x34]
mov eax, 0x4d6458
call fcn.00404dd0
cmp eax, 2
jne 0x4d63ba
mov edx, dword [ebp - 0x18]
mov eax, 0x4d6464
call fcn.00404dd0
test eax, eax
jne 0x4d63ba
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x18]
call fcn.00408c7c
mov edx, dword [ebp - 0x38]
mov eax, 0x4d6470
call fcn.00404dd0
test eax, eax
jne 0x4d63ba
mov eax, dword [0x532c2c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x18]
call fcn.004d23fc
test al, al
je 0x4d63ba
mov eax, dword [ebp - 0x18]
call fcn.00409794
test al, al
jne 0x4d63ba
lea ecx, [ebp - 0x3c]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x3c]
push eax
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 0x14]
call fcn.004d1618
push dword [ebp - 0x44]
push 0x4d647c
push dword [ebp + 0x10]
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00404b4c
mov ecx, dword [ebp - 0x40]
mov edx, 0x4d6488
mov eax, dword [ebp + 8]
call fcn.004d29a0
cmp al, 1
je 0x4d63c6
mov eax, dword [ebp + 0xc]
call fcn.00490238
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.0049024c
mov edx, dword [0x532db0]
mov dl, byte [edx + 0xf]
mov byte [eax + 0xc], dl
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.0049024c
add eax, 0xe
push eax
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x5c]
mov eax, dword [ebp + 0x14]
call fcn.004d1618
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0xb
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], 0xb
lea edx, [ebp - 0x58]
mov ecx, 1
mov eax, 0x4d64a0
call fcn.0040a2dc
mov edx, dword [ebp - 0x48]
pop eax
call fcn.00404820
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.0049024c
add eax, 0x12
mov edx, 0x4d64b0
call fcn.00404820
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.0049024c
add eax, 0x16
push eax
lea ecx, [ebp - 0x60]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x60]
pop eax
call fcn.00404820
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.0049024c
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]
lea ecx, [ebp - 0x64]
mov eax, dword [ebp - 0x10]
call fcn.0043f160
mov edx, dword [ebp - 0x64]
pop eax
call fcn.00404820
lea eax, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x70]
mov eax, dword [ebp + 0x14]
call fcn.004d1618
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0xb
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], 0xb
lea edx, [ebp - 0x58]
mov ecx, 1
mov eax, 0x4d64a0
call fcn.0040a2dc
mov eax, dword [ebp - 0x6c]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.0049024c
add eax, 0x2a
mov edx, 0x4d64c0
pop ecx
call fcn.00404ad8
lea ecx, [ebp - 0x74]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x74]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.0049024c
add eax, 0x2e
mov edx, 0x4d64d4
pop ecx
call fcn.00404ad8
lea ecx, [ebp - 0x7c]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x7c]
lea ecx, [ebp - 0x78]
mov eax, dword [ebp - 0x10]
call fcn.0043f160
mov eax, dword [ebp - 0x78]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.0049024c
add eax, 0x32
mov edx, 0x4d64e8
pop ecx
call fcn.00404ad8
push 0x4d64f8
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.0043f160
push dword [ebp - 0x80]
push 0x4d650c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.0049024c
add eax, 0x36
mov edx, 3
call fcn.00404b4c
mov eax, dword [0x533294]
inc dword [eax]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.0049024c
mov edx, dword [0x533294]
mov edx, dword [edx]
mov dword [eax + 0x26], edx
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp + 0xc]
call fcn.0041b714
mov dword [ebp - 0x90], eax
mov byte [ebp - 0x8c], 0
lea edx, [ebp - 0x90]
xor ecx, ecx
mov eax, 0x4d6540
call fcn.0040a2dc
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 8]
call fcn.0046dddc
mov eax, dword [0x533210]
mov eax, dword [eax]
call fcn.0048e660
inc ebx
dec esi
jne 0x4d6037
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d63f3
mov eax, dword [ebp - 0x10]
call fcn.00403998
mov eax, dword [ebp - 0x14]
call fcn.00403998
ret