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

Disassembly:
push 0x46c
mov eax, 0x558e9a
call fcn.0052faf2
mov edi, ecx
mov esi, dword [edi + 0x38]
xor ebx, ebx
mov dword [ebp - 0x438], edi
cmp esi, ebx
je 0x4265cd
push esi
call fcn.00426a84
push esi
call fcn.0042b517
pop ecx
mov dword [edi + 0x38], ebx
lea esi, [ebp - 0x43c]
call fcn.00409e44
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.0042b589
push eax
lea ecx, [ebp - 0x434]
call fcn.0040217f
push str.ESCNDV
push 0x5889e8
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.004034f1
add esp, 0x14
call fcn.0042b589
push eax
lea ecx, [ebp - 0x430]
call fcn.0040217f
push dword [ebp - 0x440]
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x428], esp
push 0x587b60
call fcn.00401daf
lea edi, [ebp - 0x42c]
call fcn.0042aa8c
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], 3
call fcn.00401ee1
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x42c]
add ecx, 0xfffffff0
call fcn.004021a7
call fcn.0042b589
push eax
lea ecx, [ebp - 0x42c]
call fcn.0040217f
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.004034f1
mov esi, dword [ebp - 0x42c]
add esp, 0x14
push esi
push 0xffffffffffffffff
push str.FormatType
mov edi, str.FileSaveSettings
push edi
call ebx
cmp eax, 0xffffffff
jne 0x426733
lea ecx, [esi - 0x10]
call fcn.004021a7
mov ecx, dword [ebp - 0x430]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x434]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x43c]
add ecx, 0xfffffff0
call fcn.004021a7
xor eax, eax
inc eax
call fcn.0052fb75
ret
push esi
push 1
push str.FolderPresetIndex
push edi
call ebx
mov ebx, eax
call fcn.0042b589
push eax
lea ecx, [ebp - 0x424]
call fcn.0040217f
mov byte [ebp - 4], 5
test ebx, ebx
jne 0x42676c
push ebx
push 5
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
jmp 0x4267c3
cmp ebx, 1
jne 0x4267a0
lea ebx, [ebp - 0x428]
call fcn.0042968a
push eax
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 6
call fcn.00401ee1
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x428]
add ecx, 0xfffffff0
call fcn.004021a7
jmp 0x4267e3
cmp ebx, 2
jne 0x4267e3
push esi
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x587cac
push str.FolderAbsolutePath
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
call fcn.0052ba99
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x424]
call fcn.00401e12
mov ebx, dword [ebp - 0x424]
cmp dword [ebx - 0xc], 0
jne 0x426876
lea ebx, [ebp - 0x428]
call fcn.0042968a
push eax
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 7
call fcn.00401ee1
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x428]
add ecx, 0xfffffff0
call fcn.004021a7
mov ebx, dword [ebp - 0x424]
cmp dword [ebx - 0xc], 0
jne 0x426876
lea ecx, [ebx - 0x10]
call fcn.004021a7
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x42c]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x430]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x434]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x43c]
add ecx, 0xfffffff0
call fcn.004021a7
mov eax, esi
jmp 0x42672d
push 0xa
lea ecx, [ebp - 0x45c]
call fcn.0042c48a
push 0xa
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 8
call fcn.0042c48a
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.00401e83
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.00425746
mov edx, dword [ebp - 0x440]
mov ecx, dword [ebp - 0x438]
call fcn.004253e3
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.00401e83
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.004258f3
mov ecx, dword [ebp - 0x438]
mov edx, edi
call fcn.00425b27
mov byte [ebp - 4], 8
mov ecx, edi
test eax, eax
je 0x426937
call fcn.0042c5b8
lea ecx, [ebp - 0x45c]
mov byte [ebp - 4], 5
call fcn.0042c5b8
mov ecx, ebx
call fcn.004021a7
xor esi, esi
jmp 0x426837
call fcn.0042c5b8
lea ecx, [ebp - 0x45c]
mov byte [ebp - 4], 5
call fcn.0042c5b8
mov ecx, ebx
jmp 0x42682f