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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42dcf5
mov eax, dword fs:[0]
push eax
sub esp, 0xe4c
mov eax, dword [0x440d84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe54], ecx
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xe4c], esi
mov dword [ebp - 0xe50], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
mov dword [ebp - 4], 0
call sub.MSVCR110.dll_memset
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xc40], ax
lea eax, [ebp - 0xc3e]
push eax
call sub.MSVCR110.dll_memset
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xe48], ax
lea eax, [ebp - 0xe46]
push eax
call sub.MSVCR110.dll_memset
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push eax
call sub.MSVCR110.dll_memset
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xa38], ax
lea eax, [ebp - 0xa36]
push eax
call sub.MSVCR110.dll_memset
add esp, 0x48
lea eax, [ebp - 0x218]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x104
push eax
push 0x432c58
push str.MUIRelativePath
push str.Ureg_Info
call esi
mov ecx, 0x432c58
lea eax, [ebp - 0x218]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41454a
test dx, dx
je 0x414546
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41454a
add eax, 4
add ecx, 4
test dx, dx
jne 0x414524
xor eax, eax
jmp 0x41454f
sbb eax, eax
or eax, 1
mov edi, dword [sym.imp.MSVCR110.dll_swprintf_s]
test eax, eax
je 0x414600
push 0x432c58
lea ecx, [ebp - 0xe4c]
call dword [sym.imp.mfc110u.dll_Ordinal_286]
lea eax, [ebp - 0xe4c]
push eax
push ecx
lea eax, [ebp + 0x18]
mov ecx, esp
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.mfc110u.dll_Ordinal_280]
mov ecx, dword [ebp - 0xe54]
lea ecx, [ecx + 0xcc]
call fcn.00423640
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x830], ax
lea eax, [ebp - 0x82e]
push eax
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0xe4c]
lea eax, [ebp - 0x830]
push 0x434f30
push 0x104
push eax
call edi
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0x2c
lea ecx, [ebp - 0xe4c]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
jmp 0x414623
push dword [ebp - 0xe4c]
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x432c58
push str.MUIPath
push str.Ureg_Info
call esi
push 0x104
lea eax, [ebp - 0x420]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x420]
push eax
call esi
push str.MUI_Lang.ini
lea eax, [ebp - 0x420]
push eax
push 0x434f30
lea eax, [ebp - 0xc40]
push 0x104
push eax
call edi
add esp, 0x14
lea eax, [ebp - 0xc40]
push eax
push 0x208
lea eax, [ebp - 0xe48]
push eax
push str.en_US
push dword [ebp - 0xe50]
push 0x434f74
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x628]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
push str..mui
lea eax, [ebp - 0x628]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscat_s]
add esp, 0x18
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0xe48]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x434f30
lea eax, [ebp - 0xa38]
push 0x104
push eax
call edi
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0xa38]
push eax
push 0x434f30
lea eax, [ebp - 0x218]
push 0x104
push eax
call edi
lea eax, [ebp - 0x218]
push eax
call fcn.00401440
add esp, 0x2c
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x414744
push str._OLREG__OLRSubmission__MUI_path_does_not_exist_
jmp 0x41477e
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x414779
push dword [ebp + 0xc]
push ebx
push 0x1453
push esi
call dword [sym.imp.USER32.dll_LoadStringW]
push ebx
call fcn.00401440
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x414786
push str._OLREG__OLRSubmission__MUI_LoadLibrary_failed.
call fcn.00401440
add esp, 4
lea ecx, [ebp + 0x18]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b9f8
mov esp, ebp
pop ebp
ret 0x14