Function at 0x42cc2e
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4950d8
call fcn.0046cdfc
sub esp, 0x234
push ebx
push esi
push edi
lea eax, [ebp - 0x240]
push 0x104
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x240]
lea ecx, [ebp - 0x14]
push eax
call fcn.00484016
and dword [ebp - 4], 0
push str.win.ini
lea ecx, [ebp - 0x14]
call fcn.00484384
lea eax, [ebp - 0x140]
push eax
push dword [ebp - 0x14]
call fcn.00484e1e
and byte [ebp - 0x130], 0
lea eax, [ebp - 0x140]
push eax
push dword [ebp - 0x14]
call fcn.00484f83
push 0x4b5d14
lea ecx, [ebp - 0x20]
call fcn.00484016
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
mov byte [ebp - 4], 1
call fcn.00483d1d
lea edi, [esi + 0x330]
mov ecx, edi
mov dword [ebp - 0x10], edi
call fcn.0040317d
mov ecx, edi
call fcn.004031b1
test al, al
je 0x42ce3b
push 1
push ecx
mov ebx, str.MPEGVideo
mov ecx, esp
mov dword [ebp - 0x24], esp
push ebx
call fcn.00484016
push ecx
mov esi, 0x4b00d4
mov ecx, esp
mov dword [ebp - 0x1c], esp
push esi
mov byte [ebp - 4], 2
call fcn.00484016
push ecx
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.MCI_Extensions.BAK
call fcn.00484016
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0040366b
push ecx
mov edi, str.mci_extensions
mov ecx, esp
mov dword [ebp - 0x18], esp
push edi
call fcn.00484016
mov ecx, dword [ebp - 0x10]
call fcn.00403797
cmp eax, 0xffffffff
je 0x42cdbb
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push esi
call fcn.00484016
push ecx
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x1c], esp
push edi
call fcn.00484016
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 1
call fcn.00403590
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.004840e1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00483fa8
mov eax, dword [ebp - 0x20]
cmp dword [eax - 8], 0
jne 0x42ce33
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push ebx
call fcn.00484016
push ecx
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x1c], esp
push esi
call fcn.00484016
push ecx
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x28], esp
push edi
jmp 0x42ce22
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push ebx
call fcn.00484016
push ecx
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x18], esp
push esi
call fcn.00484016
push ecx
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x1c], esp
push edi
call fcn.00484016
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040366b
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push ebx
call fcn.00484016
push ecx
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x18], esp
push esi
call fcn.00484016
push ecx
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.MCI_Extensions
call fcn.00484016
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040366b
mov ecx, dword [ebp - 0x10]
call fcn.00403412
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00483fa8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00483fa8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret