Function at 0x40f330
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c7c4
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x4cf500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, 1
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], bl
jne 0x40f38a
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], ebx
mov dword [ebp - 4], 0
call fcn.00418090
push 0x4a2ae0
call fcn.00472e64
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push eax
push sym.Install.exe__t__1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_4V__singleton_wrapp
call fcn.00419360
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
push edx
mov ebx, 0x4aaf74
call fcn.004066b0
lea ecx, [ebp - 0x14]
push 0x4da288
push ecx
mov ebx, eax
mov byte [ebp - 4], 2
call fcn.0040b4f0
add esp, 0x10
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f3e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp + 8], 0
je 0x40f4fc
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x18]
push edx
mov ebx, str.iconRMVB.ico
call fcn.004066b0
add esp, 8
mov esi, eax
mov bl, 5
push str.rmvb
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.00401c90
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 4], 6
mov edx, dword [edi]
mov edx, dword [edx + 8]
push esi
push eax
mov ecx, edi
call edx
mov byte [ebp - 4], bl
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f44f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f472
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x18]
push edx
mov ebx, str.iconMP4.ico
call fcn.004066b0
add esp, 8
mov esi, eax
mov bl, 7
push 0x4ab3d8
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.00401c90
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 4], 8
mov edx, dword [edi]
mov edx, dword [edx + 8]
push esi
push eax
mov ecx, edi
call edx
mov byte [ebp - 4], bl
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f4d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f72c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40f72c
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_51], 1
jne 0x40f526
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_51], 1
mov byte [ebp - 4], 9
call fcn.00414190
push 0x4a25c0
call fcn.00472e64
add esp, 4
mov byte [ebp - 4], 4
xor ecx, ecx
cmp ecx, 0x4da6c0
je 0x40f72c
mov edx, dword [0x4da6c0]
push edx
push 0x4ab7f8
push 0x4ab360
push str.OPTION_SETTING_ASSOCIATE
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push str.IDC_CHECK_ASSOCIATE_WITH_MP4
lea ecx, [ebp - 0x18]
call fcn.00401c90
push str.OPTION_SETTING_ASSOCIATE
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xa
call fcn.00401c90
mov eax, dword [0x4da6c0]
push eax
xor esi, esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40f598
mov ecx, dword [0x4da6c0]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
push ecx
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [ebp + 8]
cmp esi, 1
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f5bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f5e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x40f63e
push 0x4ab3d8
lea ecx, [ebp + 8]
call fcn.00401c90
mov byte [ebp - 4], 0xb
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f622
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x4da6c0]
push ecx
push 0x4ab7f8
push str.IDC_CHECK_ASSOCIATE_WITH_MP4
push str.OPTION_SETTING_ASSOCIATE
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push str.IDC_CHECK_ASSOCIATE_WITH_RMVB
lea ecx, [ebp - 0x18]
call fcn.00401c90
push str.OPTION_SETTING_ASSOCIATE
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xc
call fcn.00401c90
mov edx, dword [0x4da6c0]
push edx
xor esi, esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40f686
mov eax, dword [0x4da6c0]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [ebp + 8]
cmp esi, 1
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f6ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f6ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x40f72c
push str.rmvb
lea ecx, [ebp + 8]
call fcn.00401c90
mov byte [ebp - 4], 0xd
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f710
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x4da6c0]
push ecx
push 0x4ab7f8
push str.IDC_CHECK_ASSOCIATE_WITH_RMVB
push str.OPTION_SETTING_ASSOCIATE
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f74f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f775
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4