Function at 0x4e4bfc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x4e4c04
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e4eaa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xff
call fcn.00402704
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [0x4174c4]
call fcn.004033c4
mov dword [ebp - 0xc], eax
mov ecx, 0xf013f
mov dl, 1
mov eax, dword [0x497d14]
call fcn.00497ee8
mov dword [ebp - 0x24], eax
xor edx, edx
push ebp
push 0x4e4e7b
push dword fs:[edx]
mov dword fs:[edx], esp
push 0xff
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
xor edx, edx
push ebp
push 0x4e4e4b
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x34]
xor eax, eax
call fcn.004e7780
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x14]
call fcn.004089c4
cmp dword [ebp - 0x14], 0
je 0x4e4cc6
lea ecx, [ebp - 0x3c]
mov edx, 0x4e4ec0
mov eax, dword [ebp - 0x14]
call fcn.004accfc
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x10]
call fcn.004089c4
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x10]
call fcn.004089c4
cmp dword [ebp - 0x40], 0
je 0x4e4d6a
xor edx, edx
push ebp
push 0x4e4d60
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x44]
push eax
mov ecx, 4
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00404728
mov eax, dword [ebp - 0x44]
call fcn.00408c34
mov ebx, eax
lea eax, [ebp - 0x48]
push eax
mov ecx, 2
mov edx, 5
mov eax, dword [ebp - 0x10]
call fcn.00404728
mov eax, dword [ebp - 0x48]
call fcn.00408c34
mov esi, eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, 2
mov edx, 7
mov eax, dword [ebp - 0x10]
call fcn.00404728
mov eax, dword [ebp - 0x4c]
call fcn.00408c34
mov ecx, eax
mov edx, esi
mov eax, ebx
call fcn.0040a594
fstp qword [ebp - 0x20]
wait
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e4d6a
mov edx, 0x80000002
mov eax, dword [ebp - 0x24]
call fcn.00497f98
lea eax, [ebp - 0x28]
mov edx, 0x4e4eec
call fcn.004042a0
push 1
mov cl, 1
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
call fcn.00498000
test al, al
je 0x4e4e39
lea ecx, [ebp - 0x2c]
mov edx, 0x4e4f14
mov eax, dword [ebp - 0x24]
call fcn.00498804
mov eax, dword [ebp - 0x2c]
call fcn.004e8274
mov ebx, eax
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
call fcn.004087b0
mov al, byte [0x4e4f20]
push eax
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
mov edx, 0x4e4f2c
mov eax, dword [ebp - 0x30]
call fcn.0040dab4
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x30]
call fcn.004042a0
call fcn.0040a758
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x54]
mov eax, 0x4e4f38
call fcn.0040b400
mov eax, dword [ebp - 0x54]
call fcn.00408c34
cmp ebx, eax
jg 0x4e4e39
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.004e4f44
test al, al
jne 0x4e4e39
mov eax, dword [0x51297c]
mov eax, dword [eax]
call fcn.00481bc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00403c6c
jmp 0x4e4e82
mov eax, dword [ebp - 0x24]
call fcn.00497f68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e4e55
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e4e82
mov eax, dword [ebp - 0x24]
call fcn.004033f4
mov eax, dword [ebp - 0xc]
call fcn.004033f4
mov eax, dword [ebp - 8]
call fcn.00402724
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e4eb1
lea eax, [ebp - 0x54]
mov edx, 0xc
call fcn.0040422c
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040422c
ret