Function at 0x42e82b
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x290]
sub esp, 0x31c
mov eax, dword [0x52f220]
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 [0x52a3d0]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, esi
call fcn.0041b5b4
test eax, eax
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
jmp 0x42e91d
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 0x42e94c
lea ecx, [esi + 0x1658]
push ecx
push eax
push eax
push 0x1c
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
jmp 0x42e9b0
lea ecx, [ebp + 0x80]
push ecx
push eax
push eax
push 0x4ed5cc
call dword [ebp + 0x7c]
push dword [ebp + 0x80]
lea eax, [ebp - 0x88]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x8c], eax
call fcn.004019c3
push dword [ebp - 0x8c]
lea eax, [esi + 0x1658]
push eax
call edi
lea eax, [ebp - 0x88]
cmp dword [ebp - 0x8c], eax
je 0x42e9a4
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 [0x52a3d0]
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 0x4f46c0
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.0042ab54
lea eax, [esi + 0x208]
push eax
mov ecx, esi
call fcn.0042ab54
lea eax, [esi + 0xa28]
push eax
mov ecx, esi
call fcn.0042ab54
lea eax, [esi + 0x820]
push eax
mov ecx, esi
call fcn.0042ab54
lea eax, [esi + 0x1450]
push eax
mov ecx, esi
call fcn.0042ab54
lea eax, [esi + 0x1248]
push eax
mov ecx, esi
call fcn.0042ab54
lea eax, [esi + 0x1040]
push eax
mov ecx, esi
call fcn.0042ab54
cmp dword [ebp + 0x29c], 0
je 0x42eac7
push 3
push 0x1f01ff
lea eax, [esi + 0x618]
push eax
mov ecx, esi
call fcn.0042e5ed
and word [ebp + 0x84], 0
xor eax, eax
mov ecx, 0x81
lea edi, [ebp + 0x86]
rep stosd dword es:[edi], eax
push 0x4f46a8
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.0042e4ac
mov ecx, dword [ebp + 0x28c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d1f17
add ebp, 0x290
leave
ret 8