Function at 0x4045ce
Capabilities:
Check if file exists
Delete registry key
Get common file path
Persist via app paths registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x61dc40]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 0x28
mov eax, 0x5b8b4d
call fcn.00598f2b
mov eax, dword [ebp + 0x218]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x21c]
mov dword [ebp - 0x34], eax
xor eax, eax
mov ebx, 0x208
xor edi, edi
push ebx
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
mov dword [ebp - 0x18], edi
call fcn.00596530
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00407b16
lea eax, [ebp]
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00407b16
push str.Installer
lea eax, [ebp]
mov byte [ebp - 4], 1
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push eax
call esi
push str.Uninst.exe
lea eax, [ebp]
push eax
call esi
lea eax, [ebp]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00407b16
mov byte [ebp - 4], 2
mov eax, dword [0x63a5ac]
mov dword [ebp - 0x1c], eax
cmp eax, edi
jne 0x4046ce
push edi
push 0x28
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x4046aa
sub eax, edx
sar eax, 1
push eax
push dword [ebp - 0x14]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x28]
push eax
neg edi
mov dword [ebp - 0x24], ebx
push str.Path
sbb edi, edi
mov ebx, str.SoftwareMicrosoftWindowsCurrentVersionApp_Pathshao123JuziBrowser.exe
push ebx
add edi, 0x80000002
push edi
mov dword [ebp - 0x28], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
je 0x404746
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx - 0xc]
add eax, eax
push eax
push ecx
push 1
push 0x5d0be4
push ebx
push edi
call esi
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx - 0xc]
add eax, eax
push eax
push ecx
push 1
push str.Path
push ebx
push edi
call esi
mov dword [ebp - 0x18], 1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x28]
push eax
push str.UninstallString
mov ebx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallC5E2255C_66FA_4187_8EB6_5176247C4723
push ebx
push edi
mov dword [ebp - 0x24], 0x208
mov dword [ebp - 0x28], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x40483d
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push 0x16
push 0x5db9c8
push 1
push str.DisplayName
push ebx
push edi
call esi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx - 0xc]
add eax, eax
push eax
push ecx
push 1
push str.DisplayIcon
push ebx
push edi
call esi
xor eax, eax
cmp ax, word [0x63f288]
jne 0x4047bb
call fcn.00404168
jmp 0x4047c0
mov eax, 0x63f288
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x4047c3
sub eax, edx
sar eax, 1
mov dword [ebp - 0x18], eax
xor eax, eax
cmp ax, word [0x63f288]
jne 0x4047e6
call fcn.00404168
jmp 0x4047eb
mov eax, 0x63f288
mov ecx, dword [ebp - 0x18]
add ecx, ecx
push ecx
push eax
push 1
push str.DisplayVersion
push ebx
push edi
call esi
push 0x16
push str.123Juzi.COM
push 1
push str.Publisher
push ebx
push edi
call esi
push 0x2e
push str.http:__www.123juzi.com_
push 1
push str.HelpLink
push ebx
push edi
call esi
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx - 0xc]
add eax, eax
push eax
push ecx
push 1
push str.UninstallString
push ebx
push edi
call esi
mov dword [ebp - 0x18], 1
xor esi, esi
cmp dword [ebp - 0x18], esi
je 0x4049e7
mov eax, dword [0x63696c]
mov ecx, 0x63696c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1c], esi
je 0x404876
push esi
push 2
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x404884
push esi
push 0x17
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, str._s_s.lnk
cmp word [ebp], si
je 0x404902
push 0x5db9c8
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 1
lea eax, [ebp]
push eax
push esi
push esi
call dword [sym.imp.SHELL32.dll_SHPathPrepareForWriteW]
test eax, eax
jne 0x4048d0
push dword [ebp - 0x20]
lea eax, [ebp]
push eax
push edi
lea eax, [ebp - 0x10]
call fcn.00404f66
mov ebx, dword [ebp - 0x14]
push esi
push esi
push dword [ebp - 0x10]
call fcn.0042678e
add esp, 0x18
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp]
push eax
call ebx
lea eax, [ebp]
push eax
call ebx
push dword [ebp - 0x20]
lea eax, [ebp]
push eax
push edi
lea eax, [ebp - 0x10]
call fcn.00404f66
mov ebx, dword [ebp - 0x14]
push esi
push esi
push dword [ebp - 0x10]
call fcn.0042678e
add esp, 0x18
cmp dword [ebp - 0x1c], esi
je 0x404919
push esi
push 0x10
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x404927
push esi
push 0x19
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp], si
je 0x4049c4
push dword [ebp - 0x20]
lea eax, [ebp]
push eax
push edi
lea eax, [ebp - 0x10]
call fcn.00404f66
mov ebx, dword [ebp - 0x34]
add esp, 0xc
cmp ebx, esi
je 0x40495e
cmp word [ebx], si
je 0x40495e
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40495e
push ebx
jmp 0x40495f
push esi
mov ebx, dword [ebp - 0x14]
push esi
push dword [ebp - 0x10]
call fcn.0042678e
add esp, 0xc
cmp dword [0x63a5ac], esi
je 0x40497d
call fcn.0042e23b
jmp 0x4049c4
push esi
push 0x1a
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4049c4
cmp word [ebp], si
je 0x4049c4
push str.MicrosoftInternet_ExplorerQuick_Launch
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push dword [ebp - 0x20]
lea eax, [ebp]
push eax
push edi
lea eax, [ebp - 0x10]
call fcn.00404f66
mov ebx, dword [ebp - 0x14]
push esi
push esi
push dword [ebp - 0x10]
call fcn.0042678e
add esp, 0x18
push esi
push 0x1388
push 2
push esi
push 0x2a
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00407b6b
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.00407b6b
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
call fcn.00407b6b
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00407b6b
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.0058f3cf
add ebp, 0x210
leave
ret 8