Function at 0x432839
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x1804]
mov eax, 0x1804
call fcn.00476b30
push 0xffffffffffffffff
push 0x4af38b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x1800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x14], edi
cmp dword [edi + 0x14], esi
je 0x432a7c
push 0x800
lea eax, [ebp + 0x800]
push esi
push eax
call fcn.00475410
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push 1
push 0x10
lea eax, [ebp + 0x800]
push eax
push esi
call ebx
push 0x88
lea ecx, [ebp - 0x10]
call fcn.00432535
push dword [eax]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp + 0x800]
push eax
push eax
call esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402963
mov ecx, dword [edi + 8]
call fcn.004602ab
mov edi, 0x8a
test eax, eax
je 0x432911
lea eax, [ebp + 0x800]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4329ba
lea eax, [ebp + 0x800]
push eax
call fcn.0046b107
pop ecx
jmp 0x4329ba
push 0x800
lea eax, [ebp]
push 0
push eax
call fcn.00475410
add esp, 0xc
push 1
push 0x19
lea eax, [ebp]
push eax
push 0
call ebx
push 0x88
lea ecx, [ebp - 0x10]
call fcn.00432535
push dword [eax]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402963
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43296c
lea eax, [ebp]
push eax
call fcn.0046b107
pop ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
call fcn.0045e7a8
mov ecx, eax
call fcn.0043ce14
test eax, eax
jne 0x4329ba
push edi
lea ecx, [ebp - 0x10]
call fcn.00432535
mov eax, dword [eax]
push 1
xor ecx, ecx
push ecx
lea edx, [ebp + 0x800]
push edx
push ecx
push 0x4b8318
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x14]
push eax
call fcn.004316ea
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00402963
push 0x800
lea eax, [ebp + 0x1000]
push 0
push eax
call fcn.00475410
add esp, 0xc
push 1
push 0x17
lea eax, [ebp + 0x1000]
push eax
push 0
call ebx
push 0x256
lea ecx, [ebp - 0x10]
call fcn.00432535
push dword [eax]
lea eax, [ebp + 0x1000]
push eax
push eax
call esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402963
push edi
lea ecx, [ebp - 0x10]
call fcn.00432535
push dword [eax]
lea eax, [ebp + 0x1000]
push eax
push eax
call esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402963
push 0x88
lea ecx, [ebp - 0x10]
call fcn.00432535
push dword [eax]
lea eax, [ebp + 0x1000]
push eax
push eax
call esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402963
push edi
lea ecx, [ebp - 0x18]
call fcn.00432535
xor ecx, ecx
inc ecx
push ecx
push 0
mov dword [ebp - 4], ecx
lea ecx, [ebp + 0x1000]
push ecx
mov ecx, dword [ebp - 0x14]
push 0
push 0x4b8318
push dword [eax]
call fcn.004316ea
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402963
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1800]
xor ecx, ebp
call fcn.0047548a
add ebp, 0x1804
leave
ret