Function at 0x411d79
Capabilities:
Create process on windows
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4ac
mov eax, dword [0x5afee0]
xor eax, esp
mov dword [esp + 0x4a8], eax
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
push ebx
mov ecx, str.__dword
call fcn.004988d1
pop ecx
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0x411e1a
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x411dc9
call fcn.00410754
mov edi, eax
call fcn.00411ca0
jmp 0x412272
call fcn.00410f51
test eax, eax
jne 0x412272
call fcn.0047c0e1
push ebx
push ebx
push ebx
push 1
push 0x577458
push 0x57dcec
mov edx, str._Onx
xor ecx, ecx
call fcn.00487432
add esp, 0x18
cmp eax, 1
jne 0x412272
lea eax, [esp + 0x18]
push eax
mov ecx, 0x5d824c
mov dword [esp + 0x1c], 0x57cb10
call fcn.004a5a03
pop ecx
push 1
mov ecx, str.__mode
call fcn.004988d1
mov edi, eax
pop ecx
push edi
mov ecx, str.__atb
mov dword [esp + 0x14], edi
call fcn.004988d1
pop ecx
push edi
mov ecx, str.__defb
mov dword [esp + 0x24], eax
call fcn.004988d1
pop ecx
push edi
mov ecx, 0x57dd40
mov dword [esp + 0x1c], eax
call fcn.004988d1
pop ecx
push 1
mov ecx, str.__show
mov dword [esp + 0x30], eax
call fcn.004988d1
pop ecx
push ebx
mov ecx, str.__silent
mov dword [esp + 0x20], eax
call fcn.004988d1
pop ecx
push ebx
mov ecx, str.__skin
mov dword [esp + 0x38], eax
call fcn.004988d1
pop ecx
mov dword [esp + 0x30], eax
cmp dword [esp + 0x14], ebx
je 0x411f6a
xor eax, eax
push 0x208
mov word [esp + 0x94], ax
lea eax, [esp + 0x96]
push ebx
push eax
call fcn.00537010
add esp, 0xc
lea eax, [esp + 0x90]
push eax
push str.__pid
push esi
mov eax, 0x57d2fc
mov edi, 0x104
call fcn.0049893d
add esp, 0xc
cmp dword [esp + 0x10], ebx
jne 0x411ee2
cmp eax, ebx
je 0x411f3c
lea eax, [esp + 0x90]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x411eec
sub eax, edx
sar eax, 1
add eax, eax
push eax
lea eax, [esp + 0x94]
push eax
push 1
push 0x57d2d0
mov esi, str.Software_shouxin
push esi
mov edi, 0x80000001
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp dword [esp + 0x10], ebx
je 0x411f46
push 4
lea eax, [esp + 0x34]
push eax
push 4
push 0x57dd80
push esi
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x411f46
mov edi, 0x80000001
mov esi, str.Software_shouxin
cmp dword [esp + 0x18], ebx
je 0x411f6a
push 4
lea eax, [esp + 0x2c]
push eax
push 4
push str.firstsetdef
push esi
push edi
mov dword [esp + 0x40], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x34], ebx
je 0x411f78
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x41203b
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x5d824c
mov dword [esp + 0x20], 0x57cb10
call fcn.004a5a03
pop ecx
xor eax, eax
mov esi, 0x208
push esi
mov word [esp + 0x2a4], ax
lea eax, [esp + 0x2a6]
push ebx
push eax
call fcn.00537010
add esp, 0xc
push 0x5d8044
push 0x57dda4
lea eax, [esp + 0x2a8]
push 0x104
push eax
call fcn.00532a01
push 0x40
lea eax, [esp + 0x60]
push ebx
push eax
call fcn.00537010
xor eax, eax
mov dword [esp + 0x54], ebx
lea edi, [esp + 0x58]
stosd dword es:[edi], eax
add esp, 0x1c
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x4c]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
lea eax, [esp + 0x2c0]
push eax
push ebx
mov dword [esp + 0x70], 0x44
mov dword [esp + 0x9c], 0x80
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x412040
cmp dword [esp + 0x3c], ebx
je 0x412040
push dword [esp + 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x412040
mov esi, 0x208
cmp dword [esp + 0x14], ebx
je 0x41205d
mov edi, str.install
cmp dword [esp + 0x10], ebx
jne 0x412056
mov edi, str.reinstall
call fcn.0040abdb
jmp 0x412067
call fcn.0040abdb
mov edi, str.uninstall
call fcn.0040ac06
cmp dword [esp + 0x2c], ebx
setne al
cmp dword [esp + 0x20], ebx
setne cl
cmp dword [esp + 0x14], ebx
movzx ecx, cl
push eax
push ecx
push eax
push eax
setne al
movzx eax, al
push eax
call fcn.004122e2
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.004112bb
mov edi, 0x5d824c
call fcn.00410ebc
neg eax
sbb eax, eax
mov edi, 0x80000002
add eax, edi
mov dword [esp + 0x10], eax
cmp dword [esp + 0x14], ebx
je 0x412287
xor eax, eax
push esi
mov word [esp + 0x2a4], ax
lea eax, [esp + 0x2a6]
push ebx
push eax
call fcn.00537010
add esp, 0xc
push str.__type3___dword0
push 0x5d8044
push str.__s___s
mov edi, 0x104
lea eax, [esp + 0x2ac]
push edi
push eax
call fcn.00532a01
add esp, 0x14
xor eax, eax
push esi
mov word [esp + 0x94], ax
lea eax, [esp + 0x96]
push ebx
push eax
call fcn.00537010
mov ebx, edi
add esp, 0xc
lea esi, [esp + 0x90]
mov edi, 0x5d8044
call fcn.00496756
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallD1147527_7764_45b4_8821_4D21264C5C89
push esi
push dword [esp + 0x14]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0xa
push 0x57d948
push 1
push str.DisplayName
push esi
push dword [esp + 0x24]
call edi
mov ebx, 0x5d8044
mov eax, ebx
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x412166
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push ebx
push 1
push str.DisplayIcon
push esi
push dword [esp + 0x24]
call edi
lea eax, [esp + 0x90]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x412190
sub eax, ecx
sar eax, 1
add eax, eax
push eax
lea eax, [esp + 0x94]
push eax
push 1
push str.DisplayVersion
push esi
push dword [esp + 0x24]
call edi
push 0x1e
push str.ie.xinshuru.com
push 1
push str.Publisher
push esi
push dword [esp + 0x24]
call edi
push 0x2e
push str.http:__ie.xinshuru.com_
push 1
push str.HelpLink
push esi
push dword [esp + 0x24]
call edi
lea eax, [esp + 0x2a0]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x4121eb
sub eax, ecx
sar eax, 1
add eax, eax
push eax
lea eax, [esp + 0x2a4]
push eax
push 1
push str.UninstallString
push esi
push dword [esp + 0x24]
call edi
lea eax, [esp + 0x48]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x41224d
mov eax, dword [esp + 0x68]
test eax, eax
je 0x41224d
and dword [esp + 0x24], 0
shr eax, 0xa
push 4
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
push 4
push str.EstimatedSize
push esi
push dword [esp + 0x24]
call edi
xor ebx, ebx
cmp dword [esp + 0x14], ebx
jne 0x412272
push ebx
push ebx
push ebx
push ebx
push 0x577458
push 0x57dcec
mov edx, 0x57e088
xor ecx, ecx
call fcn.00487432
add esp, 0x18
mov ecx, dword [esp + 0x4b4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0052f7d0
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallD1147527_7764_45b4_8821_4D21264C5C89
push eax
call esi
push str.Software_shouxin
push 0x80000001
call esi
push str.Software_shouxin
push edi
call esi
push str.SOFTWAREClientsStartMenuInternet_shouxin
push 0x80000001
call esi
push str.SOFTWAREClientsStartMenuInternet_shouxin
push edi
call esi
push str.SoftwareClasses_shouxinurl
push 0x80000001
call esi
push str.SoftwareClasses_shouxinurl
push edi
call esi
push str.shouxinurl
push 0x80000000
call esi
jmp 0x41224f