Function at 0x42b55c
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x290]
sub esp, 0x31c
mov eax, dword [0x52e400]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x298]
xor eax, ebp
push str.shell32.dll
mov dword [ebp + 0x28c], eax
mov esi, ecx
mov dword [ebp + 0x78], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.SHGetKnownFolderPath
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
mov dword [ebp + 0x7c], eax
call edi
lea ebx, [esi + 0xa28]
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push dword [0x5293c0]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, esi
call fcn.004185db
test eax, eax
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
je 0x42b64e
mov ecx, esi
call fcn.004275c9
test eax, eax
je 0x42b64e
lea eax, [ebp + 0x80]
push eax
push 0
push 0
push 0x4ec5ec
call dword [ebp + 0x7c]
push dword [0x5293c0]
lea eax, [esi + 0x208]
push dword [ebp + 0x80]
push eax
call ebx
push dword [ebp + 0x80]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp + 0x80]
push eax
push 0
push 0
push 0x4ec5cc
call dword [ebp + 0x7c]
push dword [0x5293c0]
lea eax, [esi + 0x618]
push dword [ebp + 0x80]
push eax
call ebx
push dword [ebp + 0x80]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x42b662
lea eax, [esi + 0x208]
push esi
push eax
call edi
lea eax, [esi + 0x618]
push esi
push eax
call edi
xor eax, eax
cmp dword [ebp + 0x7c], eax
jne 0x42b67d
lea ecx, [esi + 0x1658]
push ecx
push eax
push eax
push 0x1c
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
jmp 0x42b6e1
lea ecx, [ebp + 0x80]
push ecx
push eax
push eax
push 0x4ec5dc
call dword [ebp + 0x7c]
push dword [ebp + 0x80]
lea eax, [ebp - 0x88]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x8c], eax
call fcn.004019c9
push dword [ebp - 0x8c]
lea eax, [esi + 0x1658]
push eax
call edi
lea eax, [ebp - 0x88]
cmp dword [ebp - 0x8c], eax
je 0x42b6d5
push dword [ebp - 0x8c]
call dword [sym.imp.MSVCR71.dll_free]
pop ecx
push dword [ebp + 0x80]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [0x5293c0]
lea eax, [esi + 0x1658]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.Profiles_
lea ecx, [esi + 0x208]
lea eax, [esi + 0x410]
push ecx
push eax
call ebx
push str.Xar_
push esi
lea eax, [esi + 0xc30]
push eax
call ebx
mov edi, str.BHO_
push edi
push esi
lea eax, [esi + 0xe38]
push eax
call ebx
push str.Addins_
lea ecx, [esi + 0x618]
lea eax, [esi + 0x820]
push ecx
push eax
call ebx
push 0x4f347c
lea ecx, [esi + 0x618]
lea eax, [esi + 0x1450]
push ecx
push eax
call ebx
push str.Skin_
lea ecx, [esi + 0x208]
lea eax, [esi + 0x1248]
push ecx
push eax
call ebx
push edi
lea ecx, [esi + 0x1658]
lea eax, [esi + 0x1040]
push ecx
push eax
call ebx
lea eax, [esi + 0x410]
push eax
mov ecx, esi
call fcn.004275ad
lea eax, [esi + 0x208]
push eax
mov ecx, esi
call fcn.004275ad
lea eax, [esi + 0xa28]
push eax
mov ecx, esi
call fcn.004275ad
lea eax, [esi + 0x820]
push eax
mov ecx, esi
call fcn.004275ad
lea eax, [esi + 0x1450]
push eax
mov ecx, esi
call fcn.004275ad
lea eax, [esi + 0x1248]
push eax
mov ecx, esi
call fcn.004275ad
lea eax, [esi + 0x1040]
push eax
mov ecx, esi
call fcn.004275ad
cmp dword [ebp + 0x29c], 0
je 0x42b7f8
push 3
push 0x1f01ff
lea eax, [esi + 0x618]
push eax
mov ecx, esi
call fcn.0042b31e
and word [ebp + 0x84], 0
xor eax, eax
mov ecx, 0x81
lea edi, [ebp + 0x86]
rep stosd dword es:[edi], eax
push 0x4f3464
push dword [ebp + 0x78]
stosw word es:[edi], ax
lea eax, [ebp + 0x84]
push eax
call ebx
push 3
push 0x1f01ff
lea eax, [ebp + 0x84]
push eax
mov ecx, esi
call fcn.0042b1dd
mov ecx, dword [ebp + 0x28c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d1da7
add ebp, 0x290
leave
ret 8