Function at 0x4174d0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436286
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x442308]
xor eax, ebp
mov dword [ebp - 0x40], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.00401600
push eax
push str.exePath
push 0x200
push str.SoftwareBaiduBaiduPinyin
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00407220
mov ecx, dword [ebp + 8]
add ecx, 0x54
call fcn.00401600
push eax
push str.installDir
push 0x200
push str.SoftwareBaiduBaiduPinyin
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00407220
mov ecx, dword [ebp + 8]
add ecx, 0x38
call fcn.00401600
push eax
push str.InstalledVersion
push 0x200
push str.SoftwareBaiduBaiduPinyin
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00407220
push str.uninst.exe
push 0x43c8b0
mov eax, dword [ebp + 8]
add eax, 0x1c
push eax
lea ecx, [ebp - 0x194]
push ecx
call fcn.00404120
add esp, 0xc
mov dword [ebp - 0x27c], eax
mov edx, dword [ebp - 0x27c]
mov dword [ebp - 0x280], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x280]
push eax
lea ecx, [ebp - 0x1b0]
push ecx
call fcn.00404120
add esp, 0xc
mov dword [ebp - 0x284], eax
mov edx, dword [ebp - 0x284]
mov dword [ebp - 0x288], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x288]
call fcn.00401600
push eax
push str.UninstallString
push 0x200
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallBaiduPinyin
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00407220
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1b0]
call fcn.00401080
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x194]
call fcn.00401080
push str.uninst.exe
push 0x43c8b0
mov eax, dword [ebp + 8]
add eax, 0x1c
push eax
lea ecx, [ebp - 0x1cc]
push ecx
call fcn.00404120
add esp, 0xc
mov dword [ebp - 0x28c], eax
mov edx, dword [ebp - 0x28c]
mov dword [ebp - 0x290], edx
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x290]
push eax
lea ecx, [ebp - 0x1e8]
push ecx
call fcn.00404120
add esp, 0xc
mov dword [ebp - 0x294], eax
mov edx, dword [ebp - 0x294]
mov dword [ebp - 0x298], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x298]
call fcn.00401600
push eax
push str.DisplayIcon
push 0x200
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallBaiduPinyin
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00407220
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1e8]
call fcn.00401080
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1cc]
call fcn.00401080
push 0
call fcn.0042484f
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.0042460c
add esp, 8
xor edx, edx
mov word [ebp - 0x15c], dx
push 0xfe
push 0
lea eax, [ebp - 0x15a]
push eax
call fcn.00423660
add esp, 0xc
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x20]
add edx, 1
push edx
mov eax, dword [ebp - 0x1c]
add eax, 0x76c
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
push str._I64u__d__d__d__d:_d:_d
push 0x80
lea eax, [ebp - 0x15c]
push eax
call fcn.00402c40
add esp, 0x2c
push 0x43c8ac
push str.installTime
push 0x200
push str.SoftwareBaiduBaiduPinyin
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x178]
push ecx
call fcn.00407370
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x178]
call fcn.00403d20
movzx edx, al
test edx, edx
je 0x41779e
lea eax, [ebp - 0x15c]
push eax
push str.installTime
push 0x200
push str.SoftwareBaiduBaiduPinyin
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00407220
mov ecx, dword [ebp + 8]
add ecx, 0x1c
push ecx
lea ecx, [ebp - 0x5c]
call fcn.004015a0
mov byte [ebp - 4], 5
push 0x439520
lea edx, [ebp - 0x5c]
push edx
call fcn.00407a70
push 0x43951c
push 0
lea ecx, [ebp - 0x5c]
call fcn.00420030
push 0x43951c
lea ecx, [ebp - 0x5c]
call fcn.004016e0
lea ecx, [ebp - 0x5c]
call fcn.00401600
push eax
push str.BaiduPinyin
push 0x200
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00407220
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x288]
test ecx, ecx
je 0x4178cb
push str.Everyone
lea ecx, [ebp - 0x204]
call fcn.00401550
mov byte [ebp - 4], 6
push str.CURRENT_USERSoftwareBaiduBaiduPinyin
lea ecx, [ebp - 0x220]
call fcn.00401550
mov byte [ebp - 4], 7
lea edx, [ebp - 0x204]
push edx
push 0xc
lea eax, [ebp - 0x220]
push eax
call fcn.00401240
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x220]
call fcn.00401080
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x204]
call fcn.00401080
push str.ALL_APPLICATION_PACKAGES
lea ecx, [ebp - 0x23c]
call fcn.00401550
mov byte [ebp - 4], 8
push str.CURRENT_USERSoftwareBaiduBaiduPinyin
lea ecx, [ebp - 0x258]
call fcn.00401550
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x23c]
push ecx
push 0xc
lea edx, [ebp - 0x258]
push edx
call fcn.00401240
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x258]
call fcn.00401080
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x23c]
call fcn.00401080
push str.CURRENT_USERSoftwareBaiduBaiduPinyin
lea ecx, [ebp - 0x274]
call fcn.00401550
mov byte [ebp - 4], 0xa
push 0xc
lea eax, [ebp - 0x274]
push eax
call fcn.00401420
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x274]
call fcn.00401080
mov dword [ebp - 0x278], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5c]
call fcn.00401080
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x178]
call fcn.00401080
mov eax, dword [ebp - 0x278]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.0042364d
mov esp, ebp
pop ebp
ret