Function at 0x4a1de0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a959
mov eax, dword fs:[0]
push eax
sub esp, 0x200
mov eax, dword [0x5c30d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x114]
mov edi, dword [ebp + 0xc]
push 0x104
push 0
push eax
call fcn.00507800
add esp, 0xc
mov dword [ebp - 0x1e8], 0x104
lea ecx, [ebp - 0x1d4]
mov dword [ebp - 0x1c0], 0xf
mov dword [ebp - 0x1c4], 0
mov byte [ebp - 0x1d4], 0
push 6
push 0x560ed8
call fcn.004a5cb0
push 6
push str.SHSoft
lea ecx, [ebp - 0x15c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x148], 0xf
mov dword [ebp - 0x14c], 0
mov byte [ebp - 0x15c], 0
call fcn.004a5cb0
push 0xe
xor eax, eax
mov byte [ebp - 4], 1
push str.PuddingDesktop
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x118], 7
mov dword [ebp - 0x11c], 0
mov word [ebp - 0x12c], ax
call fcn.00499940
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.00502b5f
add esp, 8
mov eax, dword [ebp - 0x118]
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x4a1f04
inc eax
lea ecx, [ebp - 0x12c]
push eax
push dword [ebp - 0x12c]
call fcn.00499ac0
push 7
xor eax, eax
mov dword [ebp - 0x118], 7
push str.ZhiNeng
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x11c], 0
mov word [ebp - 0x12c], ax
call fcn.004a5cb0
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00507800
cmp dword [ebp - 0x1c0], 0x10
lea ecx, [ebp - 0x1e8]
push ecx
lea ecx, [ebp - 0x114]
push ecx
push dword [ebp - 0x1c4]
lea eax, [ebp - 0x1d4]
cmovae eax, dword [ebp - 0x1d4]
push eax
call fcn.005038eb
add esp, 0x1c
mov dword [ebp - 0x130], 0xf
cmp byte [ebp - 0x114], 0
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x144], 0
jne 0x4a1f9f
xor ecx, ecx
jmp 0x4a1fb1
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a1fa8
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x144]
call fcn.004a5cb0
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x1a4]
push eax
call fcn.0050275a
add esp, 8
mov eax, dword [ebp - 0x130]
mov byte [ebp - 4], 7
cmp eax, 0x10
jb 0x4a2000
inc eax
lea ecx, [ebp - 0x144]
push eax
push dword [ebp - 0x144]
call fcn.004a5db0
push 0x104
lea eax, [ebp - 0x114]
mov dword [ebp - 0x130], 0xf
push 0
push eax
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x144], 0
call fcn.00507800
cmp dword [ebp - 0x148], 0x10
lea ecx, [ebp - 0x1e8]
push ecx
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x1e8], 0x104
push ecx
push dword [ebp - 0x14c]
lea eax, [ebp - 0x15c]
cmovae eax, dword [ebp - 0x15c]
push eax
call fcn.005038eb
add esp, 0x1c
mov dword [ebp - 0x118], 0xf
cmp byte [ebp - 0x114], 0
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
jne 0x4a2091
xor ecx, ecx
jmp 0x4a20a9
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a20a0
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x12c]
call fcn.004a5cb0
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x18c]
push eax
call fcn.0050275a
add esp, 8
mov eax, dword [ebp - 0x118]
mov byte [ebp - 4], 0xa
cmp eax, 0x10
jb 0x4a20f8
inc eax
lea ecx, [ebp - 0x12c]
push eax
push dword [ebp - 0x12c]
call fcn.004a5db0
push 0x104
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], 0xf
push 0
push eax
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
call fcn.00507800
cmp dword [ebp - 0x1a8], 0x10
lea ecx, [ebp - 0x1e8]
push ecx
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x1e8], 0x104
push ecx
push dword [ebp - 0x1ac]
lea eax, [ebp - 0x1bc]
cmovae eax, dword [ebp - 0x1bc]
push eax
call fcn.005038eb
add esp, 0x1c
mov dword [ebp - 0x130], 0xf
cmp byte [ebp - 0x114], 0
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x144], 0
jne 0x4a2189
xor ecx, ecx
jmp 0x4a219b
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a2192
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x144]
call fcn.004a5cb0
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x174]
push eax
call fcn.0050275a
add esp, 8
mov eax, dword [ebp - 0x130]
mov byte [ebp - 4], 0xd
cmp eax, 0x10
jb 0x4a21ea
inc eax
lea ecx, [ebp - 0x144]
push eax
push dword [ebp - 0x144]
call fcn.004a5db0
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x130], 0xf
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x144], 0
mov dword [ebp - 0x1d8], 0
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1e4], 0
call fcn.00502d91
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0xe
call fcn.00502e16
test eax, eax
lea eax, [ebp - 0x1d8]
push eax
je 0x4a234b
push 0xf013f
push 0
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a247d
cmp dword [ebp - 0x190], 8
lea ecx, [ebp - 0x1dc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x1a4]
cmovae eax, dword [ebp - 0x1a4]
push 0
push ecx
push 0
push 0xf013f
push 0
push 0
push 0
push eax
push dword [ebp - 0x1d8]
call esi
test eax, eax
je 0x4a22c3
push dword [ebp - 0x1d8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4a247d
cmp dword [ebp - 0x178], 8
lea ecx, [ebp - 0x1e0]
push 0
push ecx
push 0
push 0xf013f
push 0
push 0
lea eax, [ebp - 0x18c]
cmovae eax, dword [ebp - 0x18c]
push 0
push eax
push dword [ebp - 0x1dc]
call esi
test eax, eax
je 0x4a2305
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4a246d
cmp dword [ebp - 0x160], 8
lea ecx, [ebp - 0x1e4]
push 0
push ecx
push 0
push 0xf013f
push 0
push 0
lea eax, [ebp - 0x174]
cmovae eax, dword [ebp - 0x174]
push 0
push eax
push dword [ebp - 0x1e0]
call esi
test eax, eax
je 0x4a2436
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4a2465
push 0xf003f
push 0
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a247d
cmp dword [ebp - 0x190], 8
lea ecx, [ebp - 0x1dc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x1a4]
cmovae eax, dword [ebp - 0x1a4]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push dword [ebp - 0x1d8]
call esi
test eax, eax
je 0x4a23b8
push dword [ebp - 0x1d8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4a247d
cmp dword [ebp - 0x178], 8
lea ecx, [ebp - 0x1e0]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
lea eax, [ebp - 0x18c]
cmovae eax, dword [ebp - 0x18c]
push 0
push eax
push dword [ebp - 0x1dc]
call esi
test eax, eax
je 0x4a23f7
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4a246d
cmp dword [ebp - 0x160], 8
lea ecx, [ebp - 0x1e4]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
lea eax, [ebp - 0x174]
cmovae eax, dword [ebp - 0x174]
push 0
push eax
push dword [ebp - 0x1e0]
call esi
test eax, eax
je 0x4a2436
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4a2465
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push edi
push 1
push 0
push ebx
push dword [ebp - 0x1e4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x1e4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x1e0]
call esi
push dword [ebp - 0x1dc]
call esi
push dword [ebp - 0x1d8]
call esi
lea ecx, [ebp - 0x20c]
call fcn.00502da4
mov eax, dword [ebp - 0x160]
cmp eax, 8
jb 0x4a24a6
inc eax
lea ecx, [ebp - 0x174]
push eax
push dword [ebp - 0x174]
call fcn.00499ac0
xor eax, eax
mov dword [ebp - 0x160], 7
mov word [ebp - 0x174], ax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x164], 0
cmp eax, 8
jb 0x4a24e1
inc eax
lea ecx, [ebp - 0x18c]
push eax
push dword [ebp - 0x18c]
call fcn.00499ac0
xor eax, eax
mov dword [ebp - 0x178], 7
mov word [ebp - 0x18c], ax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x17c], 0
cmp eax, 8
jb 0x4a251c
inc eax
lea ecx, [ebp - 0x1a4]
push eax
push dword [ebp - 0x1a4]
call fcn.00499ac0
xor eax, eax
mov dword [ebp - 0x190], 7
mov word [ebp - 0x1a4], ax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x194], 0
cmp eax, 0x10
jb 0x4a2557
inc eax
lea ecx, [ebp - 0x1bc]
push eax
push dword [ebp - 0x1bc]
call fcn.004a5db0
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x1a8], 0xf
mov dword [ebp - 0x1ac], 0
mov byte [ebp - 0x1bc], 0
cmp eax, 0x10
jb 0x4a2590
inc eax
lea ecx, [ebp - 0x15c]
push eax
push dword [ebp - 0x15c]
call fcn.004a5db0
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x148], 0xf
mov dword [ebp - 0x14c], 0
mov byte [ebp - 0x15c], 0
cmp eax, 0x10
jb 0x4a25c9
inc eax
lea ecx, [ebp - 0x1d4]
push eax
push dword [ebp - 0x1d4]
call fcn.004a5db0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bcc20
mov esp, ebp
pop ebp
ret 8