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

Disassembly:
push 0x268
mov eax, 0x46997e
call fcn.00443652
mov esi, dword [ebp + 8]
xor ebx, ebx
push ebx
lea eax, [ebp - 0x245]
mov edi, 0x47d834
push eax
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xd0], 0x47d5a4
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], 0x47d5a4
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], 0x47d5a4
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.0040f9a8
mov byte [ebp - 4], 6
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.0040f94d
push dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x258]
call fcn.0040cef5
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.0041fe5f
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x40]
call fcn.004105c2
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0xd0]
call fcn.0040cf65
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.0041ff8a
mov byte [ebp - 4], 0xb
lea ebx, [esi + 4]
cmp dword [ebx + 0x14], 8
jb 0x4250ed
mov eax, dword [ebx]
jmp 0x4250ef
mov eax, ebx
push eax
lea ecx, [ebp - 0x1e0]
call fcn.0043e63c
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.0040cbd7
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0xd0]
call fcn.004105c2
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.0040cbd7
mov byte [ebp - 4], 0x11
push 0
lea ecx, [ebp - 0x100]
push ecx
push eax
lea ecx, [ebp - 0x1e0]
call fcn.0043ecab
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.0041738c
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0xf
call fcn.00456567
add esp, 0x34
test al, al
je 0x425427
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x17c]
call fcn.004204c3
push edi
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x130]
call fcn.0040f9a8
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.0040f94d
mov ecx, dword [eax]
push 8
add esi, 4
pop edi
cmp dword [esi + 0x14], edi
jb 0x42524a
mov esi, dword [esi]
mov eax, dword [ebp - 0x25c]
add eax, 4
cmp dword [eax + 0x14], edi
jb 0x42525a
mov eax, dword [eax]
push dword [ebp - 0x250]
push 0x104
push ecx
push 0x484ef8
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.0040cef5
cmp dword [ebp - 0x11c], 0
jne 0x425323
cmp byte [0x4a0228], 0
jne 0x4252bc
cmp byte [0x4a78a0], 0
je 0x4254a0
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 0xcaa
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 0x42549b
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x100]
call fcn.00401580
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1e0]
call fcn.0043e8ca
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x40]
call fcn.004203f2
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.0040cdbe
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.0040e7a6
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 0x4253a5
mov eax, dword [ebx]
jmp 0x4253a7
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], 0xcbd
call fcn.00411a9d
add esp, 0x10
cmp dword [ebx + 0x14], 8
jb 0x4253d9
mov ebx, dword [ebx]
push ebx
lea ecx, [ebp - 0x244]
call fcn.0043e63c
mov byte [ebp - 4], 0x2b
push esi
push edi
push 0x422c15
lea ecx, [ebp - 0x244]
call fcn.0043ea2f
test eax, eax
setne byte [ebp - 0x24c]
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x244]
call fcn.0043e8ca
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x268]
call fcn.0040ceee
jmp 0x4254be
cmp byte [0x4a0228], 0
jne 0x425439
cmp byte [0x4a78a0], 0
je 0x4254a0
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 0xcb0
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.0043e8ca
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x17c]
call fcn.004201e9
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.00443601
ret 4