Function at 0x428196
Capabilities:
Create directory
Get common file path
Read .ini file

Disassembly:
push ebp
sub esp, 0x594
lea ebp, [esp - 4]
mov eax, dword [0x4d6080]
xor eax, ebp
mov dword [ebp + 0x594], eax
push 0x94
mov eax, 0x4a29a2
call fcn.004646e0
mov edi, dword [ebp + 0x5a0]
xor ebx, ebx
inc ebx
push ebx
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp + 0x4f8]
mov dword [ebp - 0x1c], edi
call fcn.00401f90
and dword [ebp - 4], 0
push ebx
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp + 0x560]
call fcn.00401f90
mov byte [ebp - 4], bl
push ebx
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp + 0x4c4]
call fcn.00401f90
mov byte [ebp - 4], 2
mov esi, 0x104
push esi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x560]
call fcn.0040b2f1
mov byte [ebp - 4], 3
mov ecx, dword [eax]
mov byte [eax + 4], bl
call fcn.00407803
push dword [eax]
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.0040b14b
lea eax, [ebp + 0x4b4]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
push ebx
lea eax, [ebp + 0x4b4]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00425dc8
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp + 0x560]
call fcn.00415ec8
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp + 0x4f8]
call fcn.004091a5
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.004016d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.004016d0
cmp dword [ebp + 0x514], 8
mov eax, dword [ebp + 0x500]
jae 0x4282b0
lea eax, [ebp + 0x500]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp + 0x4f8]
push eax
lea eax, [ebp + 0x468]
push eax
call fcn.00425cdb
mov byte [ebp - 4], 6
cmp dword [edi + 0x1c], 8
jb 0x4282db
mov edi, dword [edi + 8]
jmp 0x4282de
add edi, 8
push edi
lea ecx, [ebp + 0x234]
call fcn.0044063f
mov byte [ebp - 4], 7
push ebx
lea eax, [ebp - 0xd]
push eax
mov edi, str.IsConfig.ini
push edi
lea ecx, [ebp - 0x6c]
call fcn.004096ba
mov byte [ebp - 4], 8
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x52c]
push eax
lea ecx, [ebp + 0x4f8]
call fcn.00415ec8
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x6c]
call fcn.004016d0
push ebx
lea eax, [ebp - 0xd]
push eax
push edi
lea ecx, [ebp - 0xa0]
call fcn.004096ba
mov byte [ebp - 4], 0xb
cmp dword [ebp + 0x548], 8
mov edx, dword [ebp + 0x534]
jae 0x428351
lea edx, [ebp + 0x534]
push 0
push edx
mov ecx, eax
call fcn.0040ea2e
push eax
lea ecx, [ebp + 0x234]
call fcn.0044124d
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xa0]
call fcn.004016d0
push 0xc
sub esp, 0x34
mov ecx, esp
mov dword [ebp - 0x18], esp
push ebx
lea eax, [ebp + 0x52c]
push eax
call fcn.004091ca
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 0xa
call fcn.0044cef2
add esp, 0x38
test al, al
je 0x42864a
lea eax, [ebp + 0x52c]
push eax
lea ecx, [ebp + 0x468]
call fcn.00427daa
push esi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x4c4]
call fcn.0040b2f1
mov edi, eax
mov byte [ebp - 4], 0xd
push ebx
lea eax, [ebp - 0xd]
push eax
push str.TempPathGuid
lea ecx, [ebp - 0x6c]
call fcn.004018b0
mov ebx, eax
mov byte [ebp - 4], 0xe
push 1
lea eax, [ebp - 0xd]
push eax
push str.SetupDefaults
lea ecx, [ebp - 0xa0]
call fcn.004018b0
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xf
cmp dword [ebp + 0x548], 8
mov eax, dword [ebp + 0x534]
jae 0x428417
lea eax, [ebp + 0x534]
mov ecx, dword [edi]
mov dword [ebp - 0x14], eax
mov byte [edi + 4], 1
call fcn.00407803
mov eax, dword [eax]
push 8
pop edi
cmp dword [ebx + 0x1c], edi
jb 0x428434
mov ebx, dword [ebx + 8]
jmp 0x428437
add ebx, 8
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x1c], edi
jb 0x428444
mov ecx, dword [ecx + 8]
jmp 0x428447
add ecx, 8
push dword [ebp - 0x14]
push esi
push eax
push 0x4bdf40
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xa0]
call fcn.00401670
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x6c]
call fcn.00401670
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
call fcn.0040b14b
cmp dword [ebp + 0x4dc], 0
jne 0x428500
cmp byte [0x4d745e], 0
jne 0x42849f
cmp byte [0x4dc5e4], 0
je 0x4286bb
push 1
lea eax, [ebp - 0xd]
push eax
push str.E:CodeBases_Majesty_Hotfixesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
lea ecx, [ebp - 0xa0]
call fcn.004018b0
mov byte [ebp - 4], 0x10
push 1
lea eax, [ebp - 0xd]
push eax
push str.ISConfig.ini_for_current_issetup.dll_does_not_contain_TempPathGuid.
lea ecx, [ebp - 0x6c]
call fcn.004018b0
mov byte [ebp - 4], 0x11
push 0xcac
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.0049b7a0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x6c]
call fcn.00401670
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xa0]
jmp 0x4286b6
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x52c]
call fcn.004016d0
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x234]
call fcn.004407f8
lea eax, [ebp + 0x4c4]
push eax
lea ecx, [ebp + 0x560]
call fcn.0042296e
mov eax, dword [ebp + 0x568]
cmp dword [ebp + 0x57c], edi
jae 0x428544
lea eax, [ebp + 0x568]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x38]
call fcn.00405e89
mov byte [ebp - 4], 0x14
mov eax, dword [ebp + 0x568]
cmp dword [ebp + 0x57c], edi
jae 0x42856d
lea eax, [ebp + 0x568]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040ca72
mov ecx, dword [ebp + 0x568]
mov ebx, ecx
cmp dword [ebp + 0x57c], edi
jae 0x42858e
lea ebx, [ebp + 0x568]
mov ecx, ebx
mov esi, dword [ebp - 0x1c]
cmp dword [esi + 0x1c], edi
jb 0x42859b
mov eax, dword [esi + 8]
jmp 0x42859e
lea eax, [esi + 8]
push ecx
push eax
lea eax, [ebp - 0x20]
push str.Extracting_resources_for__s_to__s
push eax
mov dword [ebp - 0x20], str.E:CodeBases_Majesty_Hotfixesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
mov dword [ebp - 0x1c], 0xcbf
call fcn.004115dc
add esp, 0x10
cmp dword [esi + 0x1c], edi
jb 0x4285c9
mov esi, dword [esi + 8]
jmp 0x4285cc
add esi, 8
push esi
lea ecx, [ebp]
call fcn.0044063f
mov byte [ebp - 4], 0x15
push 0
push ebx
push 0x424b4e
lea ecx, [ebp]
call fcn.00441192
test eax, eax
setne bl
mov byte [ebp - 4], 0x14
lea ecx, [ebp]
call fcn.004407f8
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x38]
call fcn.00405e9a
mov byte [ebp - 4], 2
lea eax, [ebp + 0x468]
push eax
call fcn.00425d1f
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x4c4]
call fcn.004016d0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x560]
call fcn.004016d0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x4f8]
call fcn.004016d0
mov al, bl
jmp 0x428718
cmp byte [0x4d745e], 0
jne 0x42865c
cmp byte [0x4dc5e4], 0
je 0x4286bb
push ebx
lea eax, [ebp - 0xd]
push eax
push str.E:CodeBases_Majesty_Hotfixesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
lea ecx, [ebp - 0x6c]
call fcn.004018b0
mov byte [ebp - 4], 0x12
push ebx
lea eax, [ebp - 0xd]
push eax
push str.Could_not_extract_isconfig.ini_from_current_issetup.dll
lea ecx, [ebp - 0xa0]
call fcn.004018b0
mov byte [ebp - 4], 0x13
push 0xcb2
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0049b7a0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xa0]
call fcn.00401670
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x6c]
call fcn.00401670
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x52c]
call fcn.004016d0
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x234]
call fcn.004407f8
mov byte [ebp - 4], 2
lea eax, [ebp + 0x468]
push eax
call fcn.00425d1f
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x4c4]
call fcn.004016d0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x560]
call fcn.004016d0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x4f8]
call fcn.004016d0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x594]
xor ecx, ebp
call fcn.004646d1
add ebp, 0x598
leave
ret 4