Function at 0x432932
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0x70
mov eax, 0x4902aa
call fcn.00458f67
mov ebx, ecx
push dword [ebx + 0x60]
lea ecx, [ebp - 0x6c]
call fcn.0040d7d2
mov eax, dword [ebp - 0x6c]
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp dword [eax - 0xc], ecx
jne 0x432c03
mov eax, dword [ebx + 0x10]
cmp dword [eax + 0x10], ecx
je 0x432c29
mov eax, dword [eax + 0x28]
test eax, eax
je 0x4328ae
push str.installer_config
push dword [ebx + 0x2c]
call eax
xor ecx, ecx
jmp 0x4328b1
or eax, 0xffffffff
mov dword [ebp - 0x60], eax
mov esi, ecx
test eax, eax
jle 0x432c29
xor eax, eax
lea edi, [ebp - 0x7c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx + 0x10]
cmp dword [eax + 0x10], ecx
je 0x432bdd
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x4328ed
lea ecx, [ebp - 0x7c]
push ecx
push esi
push str.installer_config
push dword [ebx + 0x2c]
call eax
xor ecx, ecx
jmp 0x4328ef
mov eax, ecx
test eax, eax
je 0x432bdd
push 0xf
pop edi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edi
mov byte [ebp - 0x40], cl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x28], cl
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x7c]
push eax
push ecx
push dword [ebx + 0x10]
call fcn.0043cebe
and dword [ebp - 0x48], 0
lea ecx, [ebp - 0x58]
add esp, 0x10
mov dword [ebp - 0x44], edi
mov byte [ebp - 0x58], 0
push 5
push str.AppID
call fcn.0040a9d0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00434262
pop ecx
pop ecx
mov ecx, dword [ebp - 0x44]
mov edi, 0x1000
mov byte [ebp - 0x65], al
mov byte [ebp - 4], 2
cmp ecx, 0x10
jb 0x432994
mov edx, dword [ebp - 0x58]
inc ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x5c], edx
cmp ecx, edi
jb 0x432988
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00403184
mov edx, dword [ebp - 0x5c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x64]
push ecx
push edx
call fcn.00458ecf
mov al, byte [ebp - 0x65]
pop ecx
pop ecx
test al, al
jne 0x432a27
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4329d0
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x64], ecx
cmp eax, edi
jb 0x4329c7
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00403184
mov eax, dword [ebp - 0x5c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x64]
push eax
push ecx
call fcn.00458ecf
pop ecx
pop ecx
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], cl
mov byte [ebp - 4], cl
cmp eax, 0x10
jb 0x432a18
mov ecx, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x64], ecx
cmp eax, edi
jb 0x432a0d
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00403184
mov eax, dword [ebp - 0x5c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x64]
push eax
push ecx
call fcn.00458ecf
pop ecx
pop ecx
xor ecx, ecx
inc esi
cmp esi, dword [ebp - 0x60]
jl 0x4328be
jmp 0x432c29
lea eax, [ebp - 0x28]
xor edi, edi
push eax
lea eax, [ebp - 0x7c]
inc edi
push eax
push edi
push dword [ebx + 0x10]
call fcn.0043cebe
add esp, 0x10
cmp dword [ebp - 0x18], 0
jne 0x432a63
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x432ab0
cmp dword [0x4c12e0], 0
je 0x432ab0
mov eax, dword [ecx]
push str._s_value_is_empty._We_need_the_App_ID_in_this_mode...
push ecx
call dword [eax + 0x1c]
pop ecx
pop ecx
jmp 0x432ab0
cmp dword [ebx + 0x60], 0
je 0x432a72
push dword [ebx + 0x60]
call fcn.0045f1d9
pop ecx
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00465f76
mov edx, eax
mov dword [ebx + 0x60], edx
pop ecx
mov ecx, dword [ebx + 0xc]
test edx, edx
jne 0x432b36
test ecx, ecx
je 0x432aad
cmp dword [0x4c12e0], eax
je 0x432aad
mov eax, dword [ecx]
push str.FATAL._Could_not_allocate_memory
push ecx
call dword [eax + 0x1c]
pop ecx
pop ecx
push 8
pop edi
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x432ae7
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ecx
cmp eax, 0x1000
jb 0x432ade
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00403184
mov eax, dword [ebp - 0x60]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x5c]
push eax
push ecx
call fcn.00458ecf
pop ecx
pop ecx
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x432eaa
mov ecx, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ecx
cmp eax, 0x1000
jb 0x432b28
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00403184
mov eax, dword [ebp - 0x60]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x5c]
push eax
push ecx
call fcn.00458ecf
pop ecx
pop ecx
jmp 0x432eaa
test ecx, ecx
je 0x432b5b
cmp dword [0x4c12e0], 0
je 0x432b5b
cmp dword [0x4c3630], 0
je 0x432b5b
mov eax, dword [ecx]
push edx
push str...Internal_AppID_set_to__s
push ecx
call dword [eax + 0x10]
add esp, 0xc
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x432b92
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ecx
cmp eax, 0x1000
jb 0x432b89
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00403184
mov eax, dword [ebp - 0x60]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x5c]
push eax
push ecx
call fcn.00458ecf
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x432c29
mov ecx, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ecx
cmp eax, 0x1000
jb 0x432bd2
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00403184
mov eax, dword [ebp - 0x60]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x5c]
push eax
push ecx
call fcn.00458ecf
pop ecx
pop ecx
jmp 0x432c29
mov edi, dword [ebx + 0xc]
test edi, edi
je 0x432c29
cmp dword [0x4c12e0], 0
je 0x432c29
mov eax, dword [edi]
mov esi, dword [eax + 0x18]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetupGetLineByIndex_failed_with_error:__lu
push edi
call esi
jmp 0x432c26
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x432c29
cmp dword [0x4c12e0], ecx
je 0x432c29
cmp dword [0x4c3630], ecx
je 0x432c29
mov ecx, dword [edx]
push eax
push str...We_already_have_appid__s_set._We_will_not_read_this_configuration
push edx
call dword [ecx + 0x10]
add esp, 0xc
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x432c56
cmp dword [0x4c12e0], 0
je 0x432c56
cmp dword [0x4c3630], 0
je 0x432c56
push dword [ebx + 0x250]
mov eax, dword [ecx]
push str...Using_Folder__s.
push ecx
call dword [eax + 0x10]
add esp, 0xc
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.0042e3f6
mov edi, eax
cmp dword [edi + 0x14], 0x10
mov byte [ebp - 4], 4
jb 0x432c6f
mov edi, dword [edi]
lea eax, [ebp - 0x58]
mov ecx, ebx
push eax
call fcn.0042e2ee
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 5
jb 0x432c86
mov eax, dword [eax]
lea esi, [ebx + 0x1fc]
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x432c96
mov ecx, dword [esi]
push edi
push eax
push ecx
push dword [ebx + 0x60]
lea eax, [ebx + 0x248]
push dword [ebx + 0x250]
push str._s_s_s_s_s
push eax
call fcn.0040f57c
add esp, 0x1c
lea ecx, [ebp - 0x58]
call fcn.0040a94c
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.0040a94c
mov eax, dword [ebx]
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, ebx
call dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, ebx
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 6
call fcn.0042e3f6
mov edi, eax
cmp dword [edi + 0x14], 0x10
mov byte [ebp - 4], 7
jb 0x432cf7
mov edi, dword [edi]
lea eax, [ebp - 0x58]
mov ecx, ebx
push eax
call fcn.0042e2ee
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 8
jb 0x432d0e
mov eax, dword [eax]
cmp dword [esi + 0x14], 0x10
jb 0x432d16
mov esi, dword [esi]
push dword [ebp - 0x60]
push edi
push eax
push esi
push dword [ebx + 0x60]
lea edi, [ebx + 0x24c]
push dword [ebx + 0x250]
push str._s_s_s_s_sLocales_s
push edi
call fcn.0040f57c
add esp, 0x20
lea ecx, [ebp - 0x58]
call fcn.0040a94c
lea ecx, [ebp - 0x40]
call fcn.0040a94c
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 0
lea ecx, [ecx - 0x10]
call fcn.0040c5fb
cmp byte [ebx + 0x22c], 0
mov eax, 0x24c
lea ecx, [eax - 4]
cmovne eax, ecx
mov eax, dword [eax + ebx]
sub eax, 0x10
push eax
call fcn.0040d923
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x64], esi
push esi
mov byte [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x432d96
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.0042e20f
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xa
push eax
mov ecx, ebx
call fcn.0042e507
mov dword [ebp - 0x5c], eax
cmp byte [ebx + 0x22c], 0
mov byte [ebp - 4], 0xb
je 0x432dcb
mov edx, dword [ebx + 0x248]
jmp 0x432dcd
mov edx, dword [edi]
and dword [ebp - 0x30], 0
mov ecx, edx
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x432de1
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0040a9d0
push dword [ebp - 0x60]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xc
push dword [ebp - 0x5c]
lea ecx, [ebx + 0xdc]
push eax
call fcn.0043bdc7
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x432e44
mov ecx, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ecx
cmp eax, 0x1000
jb 0x432e3b
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00403184
mov eax, dword [ebp - 0x60]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x5c]
push eax
push ecx
call fcn.00458ecf
pop ecx
pop ecx
and dword [ebp - 0x30], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0040a94c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.0040a94c
mov ecx, ebx
call fcn.00421660
mov edi, eax
test edi, edi
jne 0x432ea2
lea ecx, [ebx + 0x1c8]
call fcn.0043c169
test al, al
jne 0x432ea2
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x432e9f
cmp dword [0x4c12e0], edi
je 0x432e9f
mov eax, dword [ecx]
push str.Failed_to_build_the_destination_directory_id_cache
push ecx
call dword [eax + 0x14]
pop ecx
pop ecx
push 0x16
pop edi
lea ecx, [esi - 0x10]
call fcn.0040c5fb
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
call fcn.0040c5fb
mov eax, edi
call fcn.00458f11
ret