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

Disassembly:
push 0x268
mov eax, 0x4a5d84
call fcn.00473d21
mov esi, dword [ebp + 8]
xor ebx, ebx
push ebx
lea eax, [ebp - 0x245]
mov edi, 0x4cb720
push eax
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xd0], 0x4cb780
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0x24c], ebx
call fcn.00403e30
mov dword [ebp - 4], 1
push ebx
lea eax, [ebp - 0x245]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4cb780
mov dword [ebp - 0x18], edi
call fcn.00403e30
mov byte [ebp - 4], 3
push ebx
lea eax, [ebp - 0x245]
push eax
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x130], 0x4cb780
mov dword [ebp - 0x108], edi
call fcn.00403e30
mov byte [ebp - 4], 5
mov edi, 0x104
push edi
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x40]
call fcn.00415e37
mov byte [ebp - 4], 6
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00415ddc
push dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x258]
call fcn.00411a7c
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.0042ba9d
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x40]
call fcn.0042006d
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0xd0]
call fcn.00411b2a
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa0]
call fcn.00401b80
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.00401b80
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.0042bcec
mov byte [ebp - 4], 0xb
lea ebx, [esi + 4]
cmp dword [ebx + 0x14], 8
jb 0x431166
mov eax, dword [ebx]
jmp 0x431168
mov eax, ebx
push eax
lea ecx, [ebp - 0x1e0]
call fcn.0044c27a
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.00411496
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0xd0]
call fcn.0042006d
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x70]
call fcn.00401b80
push 1
lea eax, [ebp - 0x245]
push eax
push esi
lea ecx, [ebp - 0xa0]
call fcn.00411496
mov byte [ebp - 4], 0x11
push 0
lea ecx, [ebp - 0x100]
push ecx
push eax
lea ecx, [ebp - 0x1e0]
call fcn.0044cf9f
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xa0]
call fcn.00401b80
push 0xc
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x250], esp
push 1
lea eax, [ebp - 0x100]
push eax
call fcn.004112ff
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0xf
call fcn.004581ed
add esp, 0x34
test al, al
je 0x4314a0
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x17c]
call fcn.0042c4ed
push edi
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x130]
call fcn.00415e37
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.00402ca0
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.00402ca0
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.00415ddc
mov ecx, dword [eax]
push 8
add esi, 4
pop edi
cmp dword [esi + 0x14], edi
jb 0x4312c3
mov esi, dword [esi]
mov eax, dword [ebp - 0x25c]
add eax, 4
cmp dword [eax + 0x14], edi
jb 0x4312d3
mov eax, dword [eax]
push dword [ebp - 0x250]
push 0x104
push ecx
push 0x4cb558
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xa0]
call fcn.00401ac0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x70]
call fcn.00401ac0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x274]
call fcn.00411a7c
cmp dword [ebp - 0x11c], 0
jne 0x43139c
cmp byte [0x4ee41c], 0
jne 0x431335
cmp byte [0x4f3b10], 0
je 0x431519
push 1
lea eax, [ebp - 0x245]
push eax
push str.msiaction.cpp
lea ecx, [ebp - 0xa0]
call fcn.00402ca0
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.00402ca0
mov byte [ebp - 4], 0x1a
push 0xcaf
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00402940
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x70]
call fcn.00401ac0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xa0]
jmp 0x431514
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x100]
call fcn.00401b80
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1e0]
call fcn.0044c5ca
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x40]
call fcn.0042c3cc
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.00411784
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.00413964
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 0x43141e
mov eax, dword [ebx]
jmp 0x431420
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], 0xcc2
call fcn.004191b5
add esp, 0x10
cmp dword [ebx + 0x14], 8
jb 0x431452
mov ebx, dword [ebx]
push ebx
lea ecx, [ebp - 0x244]
call fcn.0044c27a
mov byte [ebp - 4], 0x2b
push esi
push edi
push 0x42ecd6
lea ecx, [ebp - 0x244]
call fcn.0044cd17
test eax, eax
setne byte [ebp - 0x24c]
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x244]
call fcn.0044c5ca
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x268]
call fcn.00411a75
jmp 0x431537
cmp byte [0x4ee41c], 0
jne 0x4314b2
cmp byte [0x4f3b10], 0
je 0x431519
push 1
lea eax, [ebp - 0x245]
push eax
push str.msiaction.cpp
lea ecx, [ebp - 0x70]
call fcn.00402ca0
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.00402ca0
mov byte [ebp - 4], 0x22
push 0xcb5
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00402940
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0xa0]
call fcn.00401ac0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x70]
call fcn.00401ac0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x100]
call fcn.00401b80
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1e0]
call fcn.0044c5ca
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x17c]
call fcn.0042bfd3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x130]
call fcn.00401b80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00401b80
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd0]
call fcn.00401b80
mov al, byte [ebp - 0x24c]
call fcn.00473cd0
ret 4