Function at 0x42b372
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x290]
sub esp, 0x31c
mov eax, dword [0x52d320]
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 [0x4ea2b0]
push str.SHGetKnownFolderPath
push eax
call dword [0x4ea2ac]
push edi
mov edi, dword [0x4ea2a4]
push esi
mov dword [ebp + 0x7c], eax
call edi
lea ebx, [esi + 0xa28]
push ebx
push 0x104
call dword [0x4ea2a0]
push dword [0x5283c0]
push ebx
call dword [0x4eaacc]
mov ecx, esi
call fcn.00418091
test eax, eax
mov ebx, dword [0x4eaad8]
je 0x42b464
mov ecx, esi
call fcn.004276f9
test eax, eax
je 0x42b464
lea eax, [ebp + 0x80]
push eax
push 0
push 0
push 0x4eb5bc
call dword [ebp + 0x7c]
push dword [0x5283c0]
lea eax, [esi + 0x208]
push dword [ebp + 0x80]
push eax
call ebx
push dword [ebp + 0x80]
call dword [0x4eb098]
lea eax, [ebp + 0x80]
push eax
push 0
push 0
push 0x4eb59c
call dword [ebp + 0x7c]
push dword [0x5283c0]
lea eax, [esi + 0x618]
push dword [ebp + 0x80]
push eax
call ebx
push dword [ebp + 0x80]
call dword [0x4eb098]
jmp 0x42b478
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 0x42b493
lea ecx, [esi + 0x1658]
push ecx
push eax
push eax
push 0x1c
push eax
call dword [0x4eaa48]
jmp 0x42b4f7
lea ecx, [ebp + 0x80]
push ecx
push eax
push eax
push 0x4eb5ac
call dword [ebp + 0x7c]
push dword [ebp + 0x80]
lea eax, [ebp - 0x88]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x8c], eax
call fcn.004019ef
push dword [ebp - 0x8c]
lea eax, [esi + 0x1658]
push eax
call edi
lea eax, [ebp - 0x88]
cmp dword [ebp - 0x8c], eax
je 0x42b4eb
push dword [ebp - 0x8c]
call dword [0x4ea794]
pop ecx
push dword [ebp + 0x80]
call dword [0x4eb098]
push dword [0x5283c0]
lea eax, [esi + 0x1658]
push eax
call dword [0x4eaacc]
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 str.Data_
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.004276dd
lea eax, [esi + 0x208]
push eax
mov ecx, esi
call fcn.004276dd
lea eax, [esi + 0xa28]
push eax
mov ecx, esi
call fcn.004276dd
lea eax, [esi + 0x820]
push eax
mov ecx, esi
call fcn.004276dd
lea eax, [esi + 0x1450]
push eax
mov ecx, esi
call fcn.004276dd
lea eax, [esi + 0x1248]
push eax
mov ecx, esi
call fcn.004276dd
lea eax, [esi + 0x1040]
push eax
mov ecx, esi
call fcn.004276dd
cmp dword [ebp + 0x29c], 0
je 0x42b60e
push 3
push 0x1f01ff
lea eax, [esi + 0x618]
push eax
mov ecx, esi
call fcn.0042b134
and word [ebp + 0x84], 0
xor eax, eax
mov ecx, 0x81
lea edi, [ebp + 0x86]
rep stosd dword es:[edi], eax
push 0x4f2474
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.0042aff3
mov ecx, dword [ebp + 0x28c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d0557
add ebp, 0x290
leave
ret 8