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

Disassembly:
push ebp
lea ebp, [esp - 0x1804]
mov eax, 0x1804
call fcn.00476b40
push 0xffffffffffffffff
push 0x4af3e3
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 0x432aee
push 0x800
lea eax, [ebp + 0x800]
push esi
push eax
call fcn.00475420
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.004325a7
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.00402820
mov ecx, dword [edi + 8]
call fcn.00460dda
mov edi, 0x8a
test eax, eax
je 0x432983
lea eax, [ebp + 0x800]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x432a2c
lea eax, [ebp + 0x800]
push eax
call fcn.0046b16b
pop ecx
jmp 0x432a2c
push 0x800
lea eax, [ebp]
push 0
push eax
call fcn.00475420
add esp, 0xc
push 1
push 0x19
lea eax, [ebp]
push eax
push 0
call ebx
push 0x88
lea ecx, [ebp - 0x10]
call fcn.004325a7
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.00402820
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4329de
lea eax, [ebp]
push eax
call fcn.0046b16b
pop ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
call fcn.0045f2f3
mov ecx, eax
call fcn.0043ce79
test eax, eax
jne 0x432a2c
push edi
lea ecx, [ebp - 0x10]
call fcn.004325a7
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.004316ef
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00402820
push 0x800
lea eax, [ebp + 0x1000]
push 0
push eax
call fcn.00475420
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.004325a7
push dword [eax]
lea eax, [ebp + 0x1000]
push eax
push eax
call esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402820
push edi
lea ecx, [ebp - 0x10]
call fcn.004325a7
push dword [eax]
lea eax, [ebp + 0x1000]
push eax
push eax
call esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402820
push 0x88
lea ecx, [ebp - 0x10]
call fcn.004325a7
push dword [eax]
lea eax, [ebp + 0x1000]
push eax
push eax
call esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402820
push edi
lea ecx, [ebp - 0x18]
call fcn.004325a7
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.004316ef
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402820
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.0047549a
add ebp, 0x1804
leave
ret