Function at 0x432b49
Capabilities:
Get common file path
Read .ini file

Disassembly:
push 0x46c
mov eax, 0x56a288
call fcn.0053d399
mov edi, ecx
mov esi, dword [edi + 0x38]
xor ebx, ebx
mov dword [ebp - 0x438], edi
cmp esi, ebx
je 0x432b79
push esi
call fcn.00433032
push esi
call fcn.00437ef9
pop ecx
mov dword [edi + 0x38], ebx
lea esi, [ebp - 0x43c]
call fcn.0041280d
push 1
push 0x1a
lea eax, [ebp - 0x420]
push eax
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push dword [ebp - 0x43c]
mov edi, dword [edi + 4]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push str.ModelID
push edi
call ebx
mov dword [ebp - 0x440], eax
call fcn.00437f60
push eax
lea ecx, [ebp - 0x434]
call fcn.0042a551
push str.ESCNDV
push 0x59a6b4
lea eax, [ebp - 0x420]
push eax
mov esi, str._s_s_s
lea eax, [ebp - 0x434]
push esi
push eax
mov byte [ebp - 4], 1
call fcn.0040a7ee
add esp, 0x14
call fcn.00437f60
push eax
lea ecx, [ebp - 0x430]
call fcn.0042a551
push dword [ebp - 0x440]
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x428], esp
push 0x598e20
call fcn.00402358
lea edi, [ebp - 0x42c]
call fcn.00437362
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], 3
call fcn.0040248a
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x42c]
add ecx, 0xfffffff0
call fcn.00402728
call fcn.00437f60
push eax
lea ecx, [ebp - 0x42c]
call fcn.0042a551
mov eax, dword [ebp - 0x438]
mov byte [ebp - 4], 4
push dword [eax + 0x68]
lea eax, [ebp - 0x42c]
push dword [ebp - 0x430]
push dword [ebp - 0x434]
push esi
push eax
call fcn.0040a7ee
mov esi, dword [ebp - 0x42c]
add esp, 0x14
push esi
push 0xffffffffffffffff
push 0x59b1c8
mov edi, str.FileSaveSettings
push edi
call ebx
cmp eax, 0xffffffff
jne 0x432cdf
lea ecx, [esi - 0x10]
call fcn.00402728
mov ecx, dword [ebp - 0x430]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp - 0x434]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp - 0x43c]
add ecx, 0xfffffff0
call fcn.00402728
xor eax, eax
inc eax
call fcn.0053d41c
ret
push esi
push 1
push str.FolderPresetIndex
push edi
call ebx
mov ebx, eax
call fcn.00437f60
push eax
lea ecx, [ebp - 0x424]
call fcn.0042a551
mov byte [ebp - 4], 5
test ebx, ebx
jne 0x432d18
push ebx
push 5
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
jmp 0x432d6f
cmp ebx, 1
jne 0x432d4c
lea ebx, [ebp - 0x428]
call fcn.00435d1b
push eax
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 6
call fcn.0040248a
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x428]
add ecx, 0xfffffff0
call fcn.00402728
jmp 0x432d8f
cmp ebx, 2
jne 0x432d8f
push esi
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x5990a0
push str.FolderAbsolutePath
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
call fcn.005384e9
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x424]
call fcn.004023bb
mov ebx, dword [ebp - 0x424]
cmp dword [ebx - 0xc], 0
jne 0x432e22
lea ebx, [ebp - 0x428]
call fcn.00435d1b
push eax
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 7
call fcn.0040248a
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x428]
add ecx, 0xfffffff0
call fcn.00402728
mov ebx, dword [ebp - 0x424]
cmp dword [ebx - 0xc], 0
jne 0x432e22
lea ecx, [ebx - 0x10]
call fcn.00402728
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x42c]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp - 0x430]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp - 0x434]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp - 0x43c]
add ecx, 0xfffffff0
call fcn.00402728
mov eax, esi
jmp 0x432cd9
push 0xa
lea ecx, [ebp - 0x45c]
call fcn.00438e87
push 0xa
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 8
call fcn.00438e87
push ecx
mov byte [ebp - 4], 9
add ebx, 0xfffffff0
mov dword [ebp - 0x428], esp
mov esi, esp
push ebx
lea edi, [ebp - 0x45c]
call fcn.0040242c
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.00431afb
mov edx, dword [ebp - 0x440]
mov ecx, dword [ebp - 0x438]
call fcn.00431798
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x45c]
push eax
push ecx
mov dword [ebp - 0x428], esp
mov esi, esp
push ebx
lea edi, [ebp - 0x478]
call fcn.0040242c
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.00431ca8
mov ecx, dword [ebp - 0x438]
mov eax, edi
push eax
call fcn.00431edc
mov byte [ebp - 4], 8
mov ecx, edi
test eax, eax
je 0x432ee4
call fcn.00438fb5
lea ecx, [ebp - 0x45c]
mov byte [ebp - 4], 5
call fcn.00438fb5
mov ecx, ebx
call fcn.00402728
xor esi, esi
jmp 0x432de3
call fcn.00438fb5
lea ecx, [ebp - 0x45c]
mov byte [ebp - 4], 5
call fcn.00438fb5
mov ecx, ebx
jmp 0x432ddb