Function at 0x42caef
Capabilities:
Get common file path

Disassembly:
push 0x644
mov eax, 0x4efedf
call fcn.004bcf2f
mov ebx, ecx
mov dword [ebp - 0x648], ebx
xor eax, eax
mov esi, 0x208
push esi
push eax
mov word [ebp - 0x434], ax
lea eax, [ebp - 0x432]
push eax
call fcn.004bf1a0
add esp, 0xc
lea eax, [ebp - 0x434]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x538]
call fcn.004045b0
and dword [ebp - 4], 0
lea ecx, [ebp - 0x538]
push 0x510068
call fcn.00404710
push str.Local_State
lea eax, [ebp - 0x538]
push eax
lea eax, [ebp - 0x4d8]
push eax
call fcn.0042449e
add esp, 0xc
xor eax, eax
mov byte [ebp - 4], 1
push esi
push eax
mov word [ebp - 0x224], ax
lea eax, [ebp - 0x222]
push eax
call fcn.004bf1a0
mov eax, dword [ebx + 0x28]
add esp, 0xc
add eax, 8
cmp dword [eax + 0x14], 8
jb 0x42cba5
mov eax, dword [eax]
push 0x104
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004c2578
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x4a8]
call fcn.004045b0
mov esi, 0x50c82c
mov byte [ebp - 4], 2
lea eax, [ebp - 0x4a8]
push esi
push eax
call fcn.00409db0
pop ecx
pop ecx
lea ecx, [ebp - 0x4a8]
test al, al
jne 0x42d35f
push 0x50c8cc
call fcn.00404710
cmp dword [ebp - 0x4c4], 8
lea eax, [ebp - 0x4d8]
cmovae eax, dword [ebp - 0x4d8]
push eax
lea eax, [ebp - 0x580]
push eax
call fcn.0042b681
mov byte [ebp - 4], 3
mov ecx, dword [ebx + 0x24]
push 0x18
pop eax
add ecx, eax
cmp dword [ecx + 0x14], 8
jb 0x42cc3e
mov ecx, dword [ecx]
cmp dword [ebp - 0x56c], 8
lea eax, [ebp - 0x580]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmovae eax, dword [ebp - 0x580]
push ecx
push eax
push str.chrome_flags
push str.MoreInfo
call edi
push esi
lea ecx, [ebp - 0x520]
call fcn.004045b0
push str.liebao.exe
lea eax, [ebp - 0x4a8]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x4f0]
push eax
call fcn.0042449e
add esp, 0xc
mov byte [ebp - 4], 5
lea eax, [ebp - 0x4f0]
cmp dword [ebp - 0x4dc], 8
cmovae eax, dword [ebp - 0x4f0]
push eax
call fcn.0042b511
mov esi, eax
test esi, esi
jne 0x42ccd5
push str.liebao.exe
lea ecx, [ebp - 0x520]
call fcn.00404710
push 0x50c830
lea ecx, [ebp - 0x520]
call fcn.00404710
mov ecx, str.unsigned__
cmp esi, 1
mov eax, str.signed__
cmovne eax, ecx
lea ecx, [ebp - 0x568]
push eax
call fcn.004045b0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x4f0]
cmp dword [ebp - 0x4dc], 8
cmovae eax, dword [ebp - 0x4f0]
push eax
lea eax, [ebp - 0x598]
push eax
call fcn.0042b59d
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x598]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x568]
call fcn.00405440
mov ecx, dword [ebx + 0x24]
add ecx, 0x18
cmp dword [ecx + 0x14], 8
jb 0x42cd3e
mov ecx, dword [ecx]
cmp dword [ebp - 0x554], 8
lea eax, [ebp - 0x568]
push ecx
cmovae eax, dword [ebp - 0x568]
push eax
push str.liebao.exe
push str.ModuleVersion2
call edi
push 0x50c8cc
lea eax, [ebp - 0x598]
push eax
lea eax, [ebp - 0x4c0]
push eax
call fcn.0042449e
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x4a8]
mov byte [ebp - 4], 8
call fcn.00405440
lea ecx, [ebp - 0x4c0]
mov byte [ebp - 4], 7
call fcn.00402120
push 0x50c82c
lea ecx, [ebp - 0x550]
mov dword [ebp - 0x460], str.chrome.dll
mov dword [ebp - 0x45c], str.icudtl.dat
mov dword [ebp - 0x458], str.liebao.dll
mov dword [ebp - 0x454], str.chrome_child.dll
mov dword [ebp - 0x450], str.MouseGesture.dll
mov dword [ebp - 0x44c], str.Module_securityknbpolicy.dll
mov dword [ebp - 0x448], str.Module_securitykaxhlp.dll
mov dword [ebp - 0x444], str.knbcenter.exe
mov dword [ebp - 0x440], str.Module_securityknbctrl.dll
mov dword [ebp - 0x43c], str.kBrowserUpgrade2.dll
mov dword [ebp - 0x438], str.uplive.dll
call fcn.004045b0
mov byte [ebp - 4], 9
xor esi, esi
push dword [ebp + esi*4 - 0x460]
lea eax, [ebp - 0x4a8]
push eax
lea eax, [ebp - 0x478]
push eax
call fcn.0042449e
add esp, 0xc
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x478]
cmp dword [ebp - 0x464], 8
cmovae eax, dword [ebp - 0x478]
push eax
call fcn.0042b511
mov edi, eax
test edi, edi
jne 0x42ce87
test esi, esi
jne 0x42ce87
push str.chrome.dll
lea ecx, [ebp - 0x520]
call fcn.00404710
push 0x50c830
lea ecx, [ebp - 0x520]
call fcn.00404710
cmp edi, 1
mov ecx, str.unsigned__
mov eax, str.signed__
cmovne eax, ecx
lea ecx, [ebp - 0x490]
push eax
call fcn.004045b0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x478]
cmp dword [ebp - 0x464], 8
cmovae eax, dword [ebp - 0x478]
push eax
lea eax, [ebp - 0x4c0]
push eax
call fcn.0042b59d
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x490]
mov byte [ebp - 4], 0xc
call fcn.00405440
lea ecx, [ebp - 0x4c0]
mov byte [ebp - 4], 0xb
call fcn.00402120
mov ecx, dword [ebx + 0x24]
push 0x18
pop edi
add ecx, edi
cmp dword [ecx + 0x14], 8
jb 0x42cefb
mov ecx, dword [ecx]
cmp dword [ebp - 0x47c], 8
lea eax, [ebp - 0x490]
push ecx
cmovae eax, dword [ebp - 0x490]
push eax
push dword [ebp + esi*4 - 0x460]
push str.ModuleVersion2
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x490]
mov byte [ebp - 4], 0xa
call fcn.00402120
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 9
call fcn.00402120
inc esi
cmp esi, 0xb
jb 0x42ce22
xor eax, eax
mov dword [ebp - 0x46c], eax
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x464], eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x46c]
cmp dword [ebp - 0x494], 8
lea eax, [ebp - 0x4a8]
push ecx
cmovae eax, dword [ebp - 0x4a8]
push eax
call fcn.0042baf7
mov eax, dword [ebp - 0x468]
mov esi, dword [ebp - 0x46c]
sub eax, esi
cdq
idiv edi
mov edi, eax
test edi, edi
je 0x42cfc9
push 0x18
pop ebx
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x550]
call fcn.00405440
push 0x50c830
lea ecx, [ebp - 0x550]
call fcn.00404710
add esi, ebx
dec edi
jne 0x42cf9e
mov ebx, dword [ebp - 0x648]
cmp dword [ebx + 0x108c], 0
je 0x42d0cf
cmp dword [ebp - 0x510], 0
jne 0x42cfec
cmp dword [ebp - 0x540], 0
je 0x42d0cf
push 2
push 0x5f
lea ecx, [ebp - 0x44c]
call fcn.004b6990
push str.badsig
lea ecx, [ebp - 0x4c0]
mov byte [ebp - 4], 0xe
call fcn.004045b0
lea eax, [ebp - 0x520]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x4c0]
push eax
lea ecx, [ebp - 0x44c]
call fcn.004b7300
lea ecx, [ebp - 0x4c0]
mov byte [ebp - 4], 0xe
call fcn.00402120
push 0x51018c
lea ecx, [ebp - 0x4c0]
call fcn.004045b0
lea eax, [ebp - 0x550]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x4c0]
push eax
lea ecx, [ebp - 0x44c]
call fcn.004b7300
lea ecx, [ebp - 0x4c0]
mov byte [ebp - 4], 0xe
call fcn.00402120
xor eax, eax
mov dword [ebp - 0x480], eax
mov dword [ebp - 0x47c], eax
mov dword [ebp - 0x47c], 0xf
mov dword [ebp - 0x480], eax
mov byte [ebp - 0x490], al
lea eax, [ebp - 0x490]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x44c]
call fcn.004b74b0
lea ecx, [ebp - 0x490]
mov byte [ebp - 4], 0xe
call fcn.004020a0
lea ecx, [ebp - 0x44c]
mov byte [ebp - 4], 0xd
call fcn.004b6a00
mov eax, dword [ebx + 0x24]
push 0x18
pop edi
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x42d0df
mov eax, dword [eax]
push eax
mov eax, dword [ebx + 0x28]
mov esi, 0x50cc94
mov edx, 0x510188
mov ecx, esi
cmp dword [eax + 0xf8], 1
cmovne ecx, edx
push ecx
push str.install_result
push str.MoreInfo
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x644]
call fcn.0042c8d4
lea eax, [ebp - 0x538]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x508]
call fcn.00404580
mov byte [ebp - 4], 0x13
mov eax, dword [0x55bb3c]
test al, 1
jne 0x42d172
or eax, 1
mov dword [0x55bb3c], eax
xor eax, eax
mov byte [ebp - 4], 0x14
mov dword [0x55bb30], eax
mov dword [0x55bb34], eax
mov dword [0x55bb38], eax
push ecx
mov byte [ebp - 4], 0x15
call fcn.0043f6d3
push 0x4f57d1
mov byte [ebp - 4], 0x14
call fcn.004bbbb9
pop ecx
mov byte [ebp - 4], 0x13
mov ecx, dword [0x55bb30]
mov eax, dword [0x55bb34]
cmp ecx, eax
je 0x42d218
sub eax, ecx
mov dword [ebp - 0x64c], 0xa8
cdq
xor edi, edi
idiv dword [ebp - 0x64c]
and dword [ebp - 0x650], edi
xor esi, esi
and dword [ebp - 0x648], edi
mov dword [ebp - 0x64c], eax
test eax, eax
je 0x42d1e0
mov eax, dword [ebp - 0x650]
lea edx, [ecx + 0x28]
cmp dword [edx + 4], eax
jl 0x42d1d1
jg 0x42d1c6
cmp dword [edx], edi
jbe 0x42d1d1
mov edi, dword [edx]
mov eax, dword [edx + 4]
mov dword [ebp - 0x648], esi
inc esi
add edx, 0xa8
cmp esi, dword [ebp - 0x64c]
jb 0x42d1bb
imul eax, dword [ebp - 0x648], 0xa8
add eax, ecx
lea ecx, [ebp - 0x644]
push eax
call fcn.0043f27e
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x5fc]
push eax
lea ecx, [ebp - 0x508]
call fcn.00405440
push 0x18
mov esi, 0x50cc94
pop edi
jmp 0x42d228
push str.Default
lea ecx, [ebp - 0x508]
call fcn.00404710
push str.Preferences
lea ecx, [ebp - 0x508]
call fcn.00404710
mov ecx, dword [ebx + 0x24]
add ecx, edi
cmp dword [ecx + 0x14], 8
jb 0x42d245
mov ecx, dword [ecx]
cmp dword [ebp - 0x4f4], 8
lea eax, [ebp - 0x508]
push ecx
cmovae eax, dword [ebp - 0x508]
push ecx
push eax
call fcn.0042b856
pop ecx
test eax, eax
mov ecx, esi
mov eax, 0x510188
cmove ecx, eax
push ecx
push str.adfilter
push str.MoreInfo
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebx + 0x24]
add ecx, edi
cmp dword [ecx + 0x14], 8
jb 0x42d28c
mov ecx, dword [ecx]
cmp dword [ebp - 0x4c4], 8
lea eax, [ebp - 0x4d8]
push ecx
cmovae eax, dword [ebp - 0x4d8]
push ecx
push eax
call fcn.0042ba32
test eax, eax
mov eax, 0x510188
pop ecx
cmove esi, eax
push esi
push str.selfprotect
push str.MoreInfo
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x4a8]
mov ecx, ebx
push eax
call fcn.0042d38c
lea ecx, [ebp - 0x508]
mov byte [ebp - 4], 0x12
call fcn.00402120
lea ecx, [ebp - 0x644]
mov byte [ebp - 4], 0xd
call fcn.0043fbea
lea ecx, [ebp - 0x46c]
mov byte [ebp - 4], 9
call fcn.00409770
lea ecx, [ebp - 0x550]
mov byte [ebp - 4], 7
call fcn.00402120
lea ecx, [ebp - 0x598]
mov byte [ebp - 4], 6
call fcn.00402120
lea ecx, [ebp - 0x568]
mov byte [ebp - 4], 5
call fcn.00402120
lea ecx, [ebp - 0x4f0]
mov byte [ebp - 4], 4
call fcn.00402120
lea ecx, [ebp - 0x520]
mov byte [ebp - 4], 3
call fcn.00402120
lea ecx, [ebp - 0x580]
mov byte [ebp - 4], 2
call fcn.00402120
lea ecx, [ebp - 0x4a8]
mov byte [ebp - 4], 1
call fcn.00402120
lea ecx, [ebp - 0x4d8]
mov byte [ebp - 4], 0
call fcn.00402120
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x538]
call fcn.00402120
call fcn.004bcede
ret