Function at 0x45c2e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x566e1d
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x5bf094]
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 esi, ecx
mov dword [ebp - 0x170], esi
call fcn.0045c260
lea eax, [ebp - 0x104]
push eax
mov ecx, esi
call fcn.00459bc0
mov ecx, dword [0x5c2108]
xor esi, esi
push esi
push 1
lea edx, [ebp - 0x48]
mov dword [ebp - 0x16c], ecx
push edx
lea ecx, [ebp - 0x16c]
mov dword [ebp - 4], esi
call fcn.00497180
push eax
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 1
call fcn.00495bd0
mov edi, 8
mov byte [ebp - 4], 3
cmp dword [ebp - 0x34], edi
jb 0x45c376
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b8946
add esp, 4
lea edx, [ebp - 0xe8]
xor ecx, ecx
mov ebx, 7
push edx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], cx
call fcn.00458630
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x8c], esi
mov word [ebp - 0x9c], cx
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], edi
jb 0x45c3b6
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x9c]
call fcn.00404090
mov edx, dword [ebp - 0x170]
mov eax, dword [edx]
mov dword [ebp - 0x17c], esi
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x174], esi
push 0x2001f
push eax
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], bl
call fcn.004593c0
cmp dword [ebp - 0x88], edi
jb 0x45c40e
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004b8946
add esp, 4
xor edx, edx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x8c], esi
mov word [ebp - 0x9c], dx
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xd4], edi
jb 0x45c43e
mov eax, dword [ebp - 0xe8]
push eax
call fcn.004b8946
add esp, 4
xor ecx, ecx
push 0xf
mov word [ebp - 0xe8], cx
xor edx, edx
push str.UninstallString
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], dx
call fcn.00403510
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0xb
call fcn.00404eb0
push str._uninstall
push eax
lea ecx, [ebp - 0x48]
push ecx
mov byte [ebp - 4], 0xc
call fcn.00424320
add esp, 0xc
push eax
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0xd
call fcn.00457e90
cmp dword [ebp - 0x34], edi
jb 0x45c4bc
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b8946
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x6c], edi
jb 0x45c4d9
mov edx, dword [ebp - 0x80]
push edx
call fcn.004b8946
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], esi
mov word [ebp - 0x80], ax
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x18], edi
jb 0x45c4fa
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b8946
add esp, 4
push 0xb
xor edx, edx
push str.DisplayName
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], dx
call fcn.00403510
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0xe
call fcn.004956c0
mov dword [ebp - 0x16c], eax
lea ecx, [ebp - 0x48]
push ecx
mov byte [ebp - 4], 0xf
call fcn.00458660
mov edx, dword [ebp - 0x16c]
push edx
push eax
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 4], 0x10
call fcn.00424380
add esp, 0x10
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0x11
call fcn.00457e90
cmp dword [ebp - 0x6c], edi
jb 0x45c578
mov edx, dword [ebp - 0x80]
push edx
call fcn.004b8946
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], esi
mov word [ebp - 0x80], ax
cmp dword [ebp - 0x34], edi
jb 0x45c595
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b8946
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x50], edi
jb 0x45c5b2
mov eax, dword [ebp - 0x64]
push eax
call fcn.004b8946
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], esi
mov word [ebp - 0x64], cx
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x18], edi
jb 0x45c5d3
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b8946
add esp, 4
push ebx
xor eax, eax
push 0x586d60
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], ax
call fcn.00403510
xor ecx, ecx
push 9
mov word [ebp - 0x2c], cx
push str.Publisher
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], esi
call fcn.00403510
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0x13
call fcn.00457e90
cmp dword [ebp - 0x18], edi
jb 0x45c634
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b8946
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], dx
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x34], edi
jb 0x45c655
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b8946
add esp, 4
xor ecx, ecx
push 0xb
mov word [ebp - 0x48], cx
push str.DisplayIcon
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esi
call fcn.00403510
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0x14
call fcn.00404eb0
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0x15
call fcn.00457e90
cmp dword [ebp - 0x50], edi
jb 0x45c6a8
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004b8946
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], esi
mov word [ebp - 0x64], dx
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x34], edi
jb 0x45c6c9
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b8946
add esp, 4
xor ecx, ecx
push 0xf
mov word [ebp - 0x48], cx
push str.InstallLocation
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esi
call fcn.00403510
mov ecx, dword [ebp - 0x170]
lea edx, [ebp - 0x64]
push edx
add ecx, 0xc
mov byte [ebp - 4], 0x16
call fcn.00404ed0
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0x17
call fcn.00457e90
cmp dword [ebp - 0x50], edi
jb 0x45c71f
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004b8946
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], esi
mov word [ebp - 0x64], dx
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x34], edi
jb 0x45c740
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b8946
add esp, 4
xor ecx, ecx
push 0xc
mov word [ebp - 0x2c], cx
push str.VersionMajor
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], esi
call fcn.00403510
push esi
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x18
call fcn.00495450
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x45c776
lea ecx, [ebp - 0x2c]
push 4
lea edx, [ebp - 0x16c]
push edx
push 4
push esi
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x17c]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
mov dword [ebp - 0x170], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x170]
cmp eax, esi
je 0x45c7d8
push 1
push str.mailru::reg_keyT_0_::check
push str.C:_trunkSputnikLib_reg_key.hpp
push 0x16
push eax
lea ecx, [ebp - 0x168]
call fcn.00403e00
push 0x5a15c8
lea ecx, [ebp - 0x168]
push ecx
call fcn.004b9346
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x18], edi
jb 0x45c7ed
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b8946
add esp, 4
push 0xc
xor eax, eax
push str.VersionMinor
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
call fcn.00403510
push 1
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x19
call fcn.00495450
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x45c824
lea ecx, [ebp - 0x2c]
push 4
lea edx, [ebp - 0x16c]
push edx
push 4
push esi
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x17c]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
mov dword [ebp - 0x170], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x170]
cmp eax, esi
jne 0x45c7ad
cmp dword [ebp - 0x18], edi
jb 0x45c870
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b8946
add esp, 4
mov eax, dword [ebp - 0x17c]
cmp eax, esi
je 0x45c881
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xa8], edi
jb 0x45c898
mov eax, dword [ebp - 0xbc]
push eax
call fcn.004b8946
add esp, 4
mov eax, dword [ebp - 0xcc]
xor ecx, ecx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xac], esi
mov word [ebp - 0xbc], cx
cmp eax, esi
je 0x45c8c0
push eax
call fcn.004b8946
add esp, 4
mov dword [ebp - 0xcc], esi
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xc4], esi
cmp dword [ebp - 0xf0], edi
jb 0x45c8e9
mov edx, dword [ebp - 0x104]
push edx
call fcn.004b8946
add esp, 4
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.004b92b7
mov esp, ebp
pop ebp
ret