Function at 0x42639a
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
sub esp, 0x104
lea ebp, [esp - 4]
mov eax, dword [0x4b42dc]
xor eax, ebp
mov dword [ebp + 0x104], eax
push 0x2c
mov eax, 0x4836bb
call fcn.004622a9
mov eax, dword [ebp + 0x110]
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov dword [ebp - 0x18], eax
xor ebx, ebx
lea eax, [ebp]
push eax
push ebx
push ebx
push 0x23
push ebx
mov dword [ebp - 4], ebx
call edi
test eax, eax
jl 0x42642d
call fcn.0043fe5b
push eax
lea ecx, [ebp - 0x14]
call fcn.00403560
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00403b5d
push 0x494d1c
push str.Application_Data
lea ecx, [ebp - 0x14]
call fcn.00407db6
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push esi
push str._AllUsersProfile_
call fcn.00407db6
lea ecx, [esi - 0x10]
mov byte [ebp - 4], bl
call fcn.00401264
lea eax, [ebp]
push eax
push ebx
push ebx
push 0x26
push ebx
call edi
test eax, eax
jl 0x426476
call fcn.0043fe5b
push eax
lea ecx, [ebp - 0x14]
call fcn.00403560
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00403b5d
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push esi
push str._ProgramFiles_
call fcn.00407db6
lea ecx, [esi - 0x10]
mov byte [ebp - 4], bl
call fcn.00401264
lea eax, [ebp]
push eax
push ebx
push ebx
push 0x1c
push ebx
call edi
test eax, eax
jl 0x4264f9
call fcn.0043fe5b
push eax
lea ecx, [ebp - 0x14]
call fcn.00403560
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00403b5d
mov ecx, dword [ebp - 0x18]
push ebx
mov esi, str._AppDataLocalLow_
push esi
call fcn.00403627
cmp eax, 0xffffffff
jle 0x4264cb
push str.LocalLow
push str.Local
lea ecx, [ebp - 0x14]
call fcn.00407db6
jmp 0x4264df
mov ecx, dword [ebp - 0x18]
push ebx
mov esi, str._AppDataLocal_
push esi
call fcn.00403627
cmp eax, 0xffffffff
jle 0x4264eb
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push esi
call fcn.00407db6
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401264
lea eax, [ebp]
push eax
push ebx
push ebx
push 0x1a
push ebx
call edi
test eax, eax
jl 0x426542
call fcn.0043fe5b
push eax
lea ecx, [ebp - 0x14]
call fcn.00403560
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00403b5d
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push esi
push str._AppData_
call fcn.00407db6
lea ecx, [esi - 0x10]
mov byte [ebp - 4], bl
call fcn.00401264
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov esi, str._TEMP_
push esi
push eax
call fcn.0046372c
cmp eax, 0xffffffff
pop ecx
pop ecx
jle 0x426582
lea eax, [ebp - 0x14]
push eax
call fcn.0042e5f5
pop ecx
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push esi
mov byte [ebp - 4], 5
call fcn.00407db6
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401264
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push str._FFProfile_
push eax
call fcn.0046372c
cmp eax, 0xffffffff
pop ecx
pop ecx
jle 0x4266b5
call fcn.0043fe5b
push eax
lea ecx, [ebp - 0x20]
call fcn.00403560
lea eax, [ebp]
push eax
push ebx
push ebx
push 0x1a
push ebx
mov byte [ebp - 4], 6
call edi
test eax, eax
jl 0x4266aa
call fcn.0043fe5b
push eax
lea ecx, [ebp - 0x14]
call fcn.00403560
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.00403b5d
push str.MozillaFirefoxProfiles_
lea ecx, [ebp - 0x14]
call fcn.00403b5d
lea ecx, [ebp - 0x38]
call fcn.0044e8b2
push 0x494c8c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 8
call fcn.00403aac
add esp, 0xc
mov eax, dword [eax]
push ebx
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 9
call fcn.0044e92a
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov esi, eax
mov byte [ebp - 4], 8
call fcn.00401264
cmp esi, ebx
je 0x426685
lea ecx, [ebp - 0x38]
call fcn.0044e5b6
mov esi, eax
mov eax, dword [ebp - 0x38]
push 0x10
lea ecx, [ebp - 0x38]
call dword [eax + 0x38]
cmp eax, ebx
je 0x42662f
lea ecx, [ebp - 0x38]
call fcn.0044e877
cmp eax, ebx
jne 0x42662f
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x38]
call fcn.0044eb64
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 0xa
call fcn.004038d8
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 8
call fcn.00401264
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push esi
push str._FFProfile_
call fcn.00407db6
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 7
call fcn.0044e8d8
lea ecx, [esi - 0x10]
call fcn.00401264
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401264
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.00462267
add ebp, 0x108
leave
ret