Function at 0x41c6cf
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x447150]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x148], ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x18]
cmp ebx, 0x100
ja 0x41c45d
je 0x41c435
lea eax, [ebx - 2]
cmp eax, 0x82
ja case.0x41c6c8.2030
movzx eax, byte [eax + 0x41c9f4]
jmp dword [eax*4 + 0x41c9c8]
push ecx
mov ecx, esi
call fcn.00426630
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
mov eax, edi
shr eax, 0x10
cwde
push eax
movsx eax, di
push eax
push ecx
mov ecx, esi
call fcn.00426550
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
lea eax, [ebp - 0x144]
push eax
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
mov ebx, dword [ebp - 0x148]
mov ecx, esi
push eax
push ebx
call fcn.0041cfe0
lea eax, [ebp - 0x144]
push eax
push ebx
call dword [sym.imp.USER32.dll_EndPaint]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
push edi
push dword [ebp + 0x14]
push ebx
push ecx
mov ecx, esi
call fcn.00405d40
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
push edi
push dword [ebp + 0x14]
mov ecx, esi
call fcn.00426df0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
mov ecx, esi
call fcn.0041cc20
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
push ecx
mov ecx, esi
call fcn.0041cee0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
push edi
push dword [ebp + 0x14]
push ecx
mov ecx, esi
call fcn.00421c20
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [esi + 0x2dc]
test eax, eax
je case.0x41c6c8.2030
push eax
call dword [sym.imp.aviplayer.dll_AVI_RefreshScreen]
add esp, 4
mov ecx, dword [ebp - 0x148]
push edi
push dword [ebp + 0x14]
push ebx
push ecx
call dword [sym.imp.USER32.dll_DefWindowProcA]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
mov eax, edi
shr eax, 0x10
push eax
movsx eax, di
push eax
push dword [ebp + 0x14]
push ecx
mov ecx, esi
call fcn.004017c0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
cmp ebx, 0x7e8
ja 0x41c6a0
je 0x41c67e
cmp ebx, 0x202
ja 0x41c5a5
je 0x41c586
cmp ebx, 0x113
ja 0x41c536
je 0x41c517
mov eax, ebx
sub eax, 0x101
je 0x41c4ef
sub eax, 0x10
je 0x41c4d0
sub eax, 1
jne case.0x41c6c8.2030
push edi
push dword [ebp + 0x14]
mov ecx, esi
call fcn.00421c60
test eax, eax
jne 0x41c410
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
push edi
push dword [ebp + 0x14]
push ecx
mov ecx, esi
call fcn.0040aad0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
mov eax, edi
shr eax, 0x10
push eax
movsx eax, di
push eax
push dword [ebp + 0x14]
push ecx
mov ecx, esi
call fcn.00401e40
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
push edi
push dword [ebp + 0x14]
push ecx
mov ecx, esi
call fcn.00426b90
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
mov eax, ebx
sub eax, 0x200
je 0x41c567
sub eax, 1
jne case.0x41c6c8.2030
push edi
push dword [ebp + 0x14]
push ecx
mov ecx, esi
call fcn.00405a60
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
push edi
push dword [ebp + 0x14]
push ecx
mov ecx, esi
call fcn.00405c70
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
push edi
push dword [ebp + 0x14]
push ecx
mov ecx, esi
call fcn.00405b40
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
lea eax, [ebx - 0x20a]
cmp eax, 0xa7
ja case.0x41c6c8.2030
movzx eax, byte [eax + 0x41ca94]
jmp dword [eax*4 + 0x41ca78]
push edi
push dword [ebp + 0x14]
push ecx
mov ecx, esi
call fcn.00421e40
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
push edi
push dword [ebp + 0x14]
push ecx
mov ecx, esi
call fcn.00405d10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
push edi
push dword [ebp + 0x14]
push ecx
mov ecx, esi
call fcn.00405c00
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
push edi
push dword [ebp + 0x14]
push ecx
mov ecx, esi
call fcn.00421bd0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
push edi
push dword [ebp + 0x14]
push ecx
mov ecx, esi
call fcn.004264d0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
push edi
push dword [ebp + 0x14]
push ecx
mov ecx, esi
call fcn.004264f0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
push edi
push dword [ebp + 0x14]
lea ecx, [esi + 0xfb0]
call fcn.00417b60
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
cmp ebx, 0x1788
ja 0x41c8fd
je 0x41c8df
lea eax, [ebx - 0x7e9]
cmp eax, 0x16
ja case.0x41c6c8.2030
movzx eax, byte [eax + 0x41cb74]
jmp dword [eax*4 + 0x41cb3c]
push 0
push 5
lea eax, [ebp - 0x104]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0x43c5b8
lea eax, [ebp - 0x104]
push 0x100
push eax
call fcn.0042cd81
push 0x448238
lea eax, [ebp - 0x104]
push 0x100
push eax
call fcn.0042cd81
push 0x43c5b8
lea eax, [ebp - 0x104]
push 0x100
push eax
call fcn.0042cd81
push str.cvr.ini
lea eax, [ebp - 0x104]
push 0x100
push eax
call fcn.0042cd81
add esp, 0x30
lea eax, [ebp - 0x104]
push eax
push 0x43c576
push str.PATH
push str.OPEN_PATH
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0
push 0
push 0x10
push dword [ebp - 0x148]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x41c410
push edi
push dword [ebp + 0x14]
lea ecx, [esi + 0xfb0]
call fcn.00417970
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
push edi
push dword [ebp + 0x14]
mov ecx, esi
call fcn.00423920
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
push edi
push dword [ebp + 0x14]
push ecx
mov ecx, esi
call fcn.00423dd0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
push edi
push dword [ebp + 0x14]
mov ecx, esi
call fcn.00423700
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
push edi
push dword [ebp + 0x14]
mov ecx, esi
call fcn.00423640
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
push edi
push dword [ebp + 0x14]
mov ecx, esi
call fcn.00423c60
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
push edi
push dword [ebp + 0x14]
mov ecx, esi
call fcn.00423a60
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
push edi
push dword [ebp + 0x14]
mov ecx, esi
call fcn.00423b00
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
push edi
push dword [ebp + 0x14]
mov ecx, esi
call fcn.00401fc0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
push edi
push dword [ebp + 0x14]
mov ecx, esi
call fcn.00405a10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
push edi
push dword [ebp + 0x14]
push ecx
mov ecx, esi
call fcn.00423940
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
push edi
push dword [ebp + 0x14]
push ecx
mov ecx, esi
call fcn.00423b40
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
push edi
push dword [ebp + 0x14]
mov ecx, esi
call fcn.00423760
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
cmp ebx, 0x33bf
ja 0x41c978
je 0x41c959
mov eax, ebx
sub eax, 0x1789
je 0x41c8df
sub eax, 1
je 0x41c93e
sub eax, 0x3e6
jne case.0x41c6c8.2030
push edi
push dword [ebp + 0x14]
mov ecx, esi
call fcn.00423b20
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
push edi
mov ecx, esi
call fcn.00423730
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
push edi
push dword [ebp + 0x14]
push ecx
mov ecx, esi
call fcn.00423cd0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
cmp ebx, 0x4e34
je 0x41c9ab
cmp ebx, 0x7d01
jne case.0x41c6c8.2030
push edi
push dword [ebp + 0x14]
push ecx
mov ecx, esi
call fcn.0040aec0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14
push edi
push ecx
mov ecx, esi
call fcn.004010c0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004271bb
mov esp, ebp
pop ebp
ret 0x14