Function at 0x432817
Capabilities:
Check if file exists
Create directory
Get disk information
Get file attributes
Read .ini file

Disassembly:
push 0x42c
mov eax, 0x4fc174
call fcn.004e336a
mov eax, dword [0x542750]
mov dword [ebp - 0x434], eax
push 0x547b18
lea eax, [ebp - 0x434]
xor ebx, ebx
push str._sUser.ini
push eax
mov dword [ebp - 4], ebx
call fcn.0040301c
mov eax, dword [0x542750]
add esp, 0xc
mov dword [ebp - 0x42c], eax
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x434]
push edi
push ebx
push str.gamespathcount
push 0x50f824
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov dword [ebp - 0x438], esi
test esi, esi
jne 0x432927
lea ecx, [ebp - 0x428]
call fcn.00433720
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x428]
cmp dword [eax - 8], ebx
jne 0x4328bb
movzx eax, word [ebx + 0x547f70]
lea ebx, [ebx + 2]
mov word [ebx + 0x547d5e], ax
test ax, ax
jne 0x4328a0
jmp 0x432abc
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x42c]
call fcn.00402a9f
push str.6wanDownload
lea ecx, [ebp - 0x42c]
call fcn.00402a02
push edi
push 0x50e100
push str.gamespathcount
push 0x50f824
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov esi, dword [ebp - 0x42c]
push edi
push esi
push str.gamespath1
push 0x50f824
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 1
call fcn.00403030
jmp 0x4329b3
xor eax, eax
push 0x40e
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push ebx
push eax
call fcn.004db6f0
mov eax, dword [0x542750]
add esp, 0xc
mov dword [ebp - 0x428], eax
push esi
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 3
push str.gamespath_d
push eax
call fcn.0040301c
add esp, 0xc
lea eax, [ebp - 0x424]
push edi
push 0x208
push eax
push 0x50e6f0
push dword [ebp - 0x428]
push 0x50f824
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x42c]
call fcn.004028a2
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 1
call fcn.00403030
mov esi, dword [ebp - 0x42c]
mov ebx, 0x547d60
mov ecx, ebx
sub ecx, esi
movzx eax, word [esi]
mov word [ecx + esi], ax
lea esi, [esi + 2]
test ax, ax
jne 0x4329bc
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x430], eax
cmp eax, 0xffffffff
jne 0x432ac9
lea ecx, [ebp - 0x428]
call fcn.00433720
mov byte [ebp - 4], 4
xor ecx, ecx
mov eax, dword [ebp - 0x428]
cmp dword [eax - 8], ecx
jne 0x432a18
movzx eax, word [ecx + 0x547f70]
lea ecx, [ecx + 2]
mov word [ecx + 0x547d5e], ax
test ax, ax
jne 0x4329fd
jmp 0x432abc
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x42c]
call fcn.00402a9f
push str.6wanDownload
lea ecx, [ebp - 0x42c]
call fcn.00402a02
mov eax, dword [0x542750]
mov dword [ebp - 0x430], eax
push dword [ebp - 0x438]
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 5
push str.gamespath_d
push eax
call fcn.0040301c
mov esi, dword [ebp - 0x42c]
add esp, 0xc
push edi
push esi
push dword [ebp - 0x430]
push 0x50f824
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
xor edi, edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, ebx
sub ecx, esi
movzx eax, word [esi]
mov word [ecx + esi], ax
lea esi, [esi + 2]
test ax, ax
jne 0x432a8a
sub ebx, 2
mov ax, word [ebx + 2]
add ebx, 2
cmp ax, di
jne 0x432a9c
mov eax, dword [0x50f2c8]
lea ecx, [ebp - 0x430]
mov edi, ebx
mov dword [edi], eax
call fcn.00403030
lea ecx, [ebp - 0x428]
call fcn.00403030
jmp 0x432af8
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x432af8
test byte [ebp - 0x430], 0x10
je 0x432af8
sub ebx, 2
xor edi, edi
mov ax, word [ebx + 2]
add ebx, 2
cmp ax, di
jne 0x432ae3
mov eax, dword [0x50f2c8]
mov edi, ebx
mov dword [edi], eax
lea ecx, [ebp - 0x42c]
call fcn.00403030
lea ecx, [ebp - 0x434]
call fcn.00403030
call fcn.004e3319
ret