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

Disassembly:
push 0x268
mov eax, 0x468855
call fcn.00442722
mov esi, dword [ebp + 8]
xor ebx, ebx
push ebx
lea eax, [ebp - 0x245]
mov edi, 0x477350
push eax
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xd0], 0x47c4e4
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0x24c], ebx
call fcn.00402580
mov dword [ebp - 4], 1
push ebx
lea eax, [ebp - 0x245]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x47c4e4
mov dword [ebp - 0x18], edi
call fcn.00402580
mov byte [ebp - 4], 3
push ebx
lea eax, [ebp - 0x245]
push eax
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x130], 0x47c4e4
mov dword [ebp - 0x108], edi
call fcn.00402580
mov byte [ebp - 4], 5
mov edi, 0x104
push edi
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040f868
mov byte [ebp - 4], 6
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.0040f80d
push dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x258]
call fcn.0040c9c5
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 1
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x70]
call fcn.0041f55a
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x40]
call fcn.0041047d
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0xd0]
call fcn.0040ca5e
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa0]
call fcn.00401580
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.00401580
cmp dword [ebp - 0xb8], 8
lea eax, [ebp - 0xcc]
cmovae eax, dword [ebp - 0xcc]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x17c]
call fcn.0041f685
mov byte [ebp - 4], 0xb
lea ebx, [esi + 4]
cmp dword [ebx + 0x14], 8
jb 0x424717
mov eax, dword [ebx]
jmp 0x424719
mov eax, ebx
push eax
lea ecx, [ebp - 0x1e0]
call fcn.0043d4d3
mov byte [ebp - 4], 0xc
push 1
lea eax, [ebp - 0x245]
push eax
mov esi, str.IsConfig.ini
push esi
lea ecx, [ebp - 0x70]
call fcn.0040c6e1
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0xd0]
call fcn.0041047d
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x70]
call fcn.00401580
push 1
lea eax, [ebp - 0x245]
push eax
push esi
lea ecx, [ebp - 0xa0]
call fcn.0040c6e1
mov byte [ebp - 4], 0x11
push 0
lea ecx, [ebp - 0x100]
push ecx
push eax
lea ecx, [ebp - 0x1e0]
call fcn.0043db84
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xa0]
call fcn.00401580
push 0xc
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x250], esp
push 1
lea eax, [ebp - 0x100]
push eax
call fcn.004339a6
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0xf
call fcn.00455651
add esp, 0x34
test al, al
je 0x424a51
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x17c]
call fcn.0041faf6
push edi
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x130]
call fcn.0040f868
mov edi, eax
mov byte [ebp - 4], 0x14
push 1
lea eax, [ebp - 0x245]
push eax
push str.TempPathGuid
lea ecx, [ebp - 0x70]
call fcn.004025e0
mov esi, eax
mov byte [ebp - 4], 0x15
push 1
lea eax, [ebp - 0x245]
push eax
push str.SetupDefaults
lea ecx, [ebp - 0xa0]
call fcn.004025e0
mov dword [ebp - 0x25c], eax
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0xe8], 8
mov ecx, dword [edi]
lea eax, [ebp - 0xfc]
cmovae eax, dword [ebp - 0xfc]
mov dword [ebp - 0x250], eax
mov byte [edi + 4], 1
call fcn.0040f80d
mov ecx, dword [eax]
push 8
add esi, 4
pop edi
cmp dword [esi + 0x14], edi
jb 0x424874
mov esi, dword [esi]
mov eax, dword [ebp - 0x25c]
add eax, 4
cmp dword [eax + 0x14], edi
jb 0x424884
mov eax, dword [eax]
push dword [ebp - 0x250]
push 0x104
push ecx
push 0x483e18
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xa0]
call fcn.00401580
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x70]
call fcn.00401580
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x274]
call fcn.0040c9c5
cmp dword [ebp - 0x11c], 0
jne 0x42494d
cmp byte [0x49f228], 0
jne 0x4248e6
cmp byte [0x4a6880], 0
je 0x424aca
push 1
lea eax, [ebp - 0x245]
push eax
push str.msiaction.cpp
lea ecx, [ebp - 0xa0]
call fcn.004025e0
mov byte [ebp - 4], 0x19
push 1
lea eax, [ebp - 0x245]
push eax
push str.ISConfig.ini_for_current_issetup.dll_does_not_contain_TempPathGuid.
lea ecx, [ebp - 0x70]
call fcn.004025e0
mov byte [ebp - 4], 0x1a
push 0xca3
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004023a0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x70]
call fcn.00401580
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xa0]
jmp 0x424ac5
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x100]
call fcn.00401580
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1e0]
call fcn.0043d7a3
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x40]
call fcn.0041fa5d
cmp dword [ebp - 0x28], edi
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
xor esi, esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x268]
call fcn.0040c8a0
mov byte [ebp - 4], 0x2a
cmp dword [ebp - 0x28], edi
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x268]
call fcn.0040e355
cmp dword [ebp - 0x28], 8
lea edi, [ebp - 0x3c]
cmovae edi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x3c]
cmovae ecx, dword [ebp - 0x3c]
cmp dword [ebx + 0x14], 8
jb 0x4249cf
mov eax, dword [ebx]
jmp 0x4249d1
mov eax, ebx
push ecx
push eax
lea eax, [ebp - 0x254]
push str.Extracting_resources_for__s_to__s
push eax
mov dword [ebp - 0x254], str.msiaction.cpp
mov dword [ebp - 0x250], 0xcb6
call fcn.00411965
add esp, 0x10
cmp dword [ebx + 0x14], 8
jb 0x424a03
mov ebx, dword [ebx]
push ebx
lea ecx, [ebp - 0x244]
call fcn.0043d4d3
mov byte [ebp - 4], 0x2b
push esi
push edi
push 0x422248
lea ecx, [ebp - 0x244]
call fcn.0043d940
test eax, eax
setne byte [ebp - 0x24c]
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x244]
call fcn.0043d7a3
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x268]
call fcn.0040c9be
jmp 0x424ae8
cmp byte [0x49f228], 0
jne 0x424a63
cmp byte [0x4a6880], 0
je 0x424aca
push 1
lea eax, [ebp - 0x245]
push eax
push str.msiaction.cpp
lea ecx, [ebp - 0x70]
call fcn.004025e0
mov byte [ebp - 4], 0x21
push 1
lea eax, [ebp - 0x245]
push eax
push str.Could_not_extract_isconfig.ini_from_current_issetup.dll
lea ecx, [ebp - 0xa0]
call fcn.004025e0
mov byte [ebp - 4], 0x22
push 0xca9
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.004023a0
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0xa0]
call fcn.00401580
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x70]
call fcn.00401580
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x100]
call fcn.00401580
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1e0]
call fcn.0043d7a3
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x17c]
call fcn.0041f854
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x130]
call fcn.00401580
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00401580
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd0]
call fcn.00401580
mov al, byte [ebp - 0x24c]
call fcn.004426d1
ret 4