Function at 0x41b750
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503b5e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xf3c
push esi
mov dword [ebp - 0x4c], ecx
mov ecx, 0x546d80
call fcn.00501f54
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 4]
add ecx, 4
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0040d220
mov dword [ebp - 4], 0
push 0x52e8f8
lea ecx, [ebp - 0x68]
call fcn.00403f50
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0xe0], esp
push 0x52e930
call fcn.0040d1a0
mov dword [ebp - 0xc8], eax
mov byte [ebp - 4], 2
push ecx
mov esi, esp
mov dword [ebp - 0xcc], esp
lea ecx, [ebp - 0x68]
call fcn.00403d50
push eax
mov ecx, esi
call fcn.0040d120
push reloc.WS2_32.dll_bind
mov byte [ebp - 4], 1
call fcn.00409ea0
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0xd0], esp
push 0x52e944
call fcn.0040d1a0
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 3
push ecx
mov esi, esp
mov dword [ebp - 0xd8], esp
lea ecx, [ebp - 0x68]
call fcn.00403d50
push eax
mov ecx, esi
call fcn.0040d120
push reloc.WS2_32.dll_accept
mov byte [ebp - 4], 1
call fcn.00409ea0
add esp, 0xc
push 0x400
push 0
lea edx, [ebp - 0x748]
push edx
call fcn.004d75f0
add esp, 0xc
push 0x400
push 0
lea eax, [ebp - 0xb48]
push eax
call fcn.004d75f0
add esp, 0xc
push 0x400
push 0
lea ecx, [ebp - 0xf48]
push ecx
call fcn.004d75f0
add esp, 0xc
push 0x52e958
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.0040c9e0
add esp, 0xc
mov byte [ebp - 4], 4
push 0x52e95c
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x34]
push edx
call fcn.0040c9e0
add esp, 0xc
mov byte [ebp - 4], 5
push str.uninstall.exe
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.0040c9e0
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x34]
call fcn.0040d2e0
push eax
push 0x52e998
lea edx, [ebp - 0x748]
push edx
call fcn.00419980
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.0040d2e0
push eax
push 0x52e9a0
lea eax, [ebp - 0xb48]
push eax
call fcn.00419980
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.0040d2e0
push eax
push str.__s___uninsgpt
lea ecx, [ebp - 0xf48]
push ecx
call fcn.00419980
add esp, 0xc
push 0x52e9c8
lea ecx, [ebp - 0x24]
call fcn.0040d1a0
mov byte [ebp - 4], 7
push 0x52ea34
lea ecx, [ebp - 0x24]
call fcn.0040cfb0
push 0x208
push 0
lea edx, [ebp - 0x348]
push edx
call fcn.004d75f0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x348]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x348]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040d1a0
mov byte [ebp - 4], 8
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.0040ce10
mov dword [ebp - 0xc4], eax
lea ecx, [ebp - 0x14]
call fcn.0040d300
sub eax, dword [ebp - 0xc4]
sub eax, 1
push eax
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x14]
call fcn.0040cc00
mov byte [ebp - 4], 9
mov dword [ebp - 0x50], reloc.WS2_32.dll_accept
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x41b9d1
mov dword [ebp - 0x50], reloc.WS2_32.dll_bind
lea eax, [ebp - 0xf8]
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.00419bd0
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], ecx
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x70]
call fcn.00403d50
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040d120
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xf8]
call fcn.00403eb0
push 0x52ea48
lea ecx, [ebp - 0x18]
call fcn.0040d120
lea edx, [ebp - 0xdc]
push edx
lea eax, [ebp - 0x38]
push eax
push 0
push 0x20106
push 0
push 0
push 0
lea ecx, [ebp - 0x24]
call fcn.0040d2e0
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41c1bd
lea edx, [ebp - 0x748]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x74]
push edx
lea eax, [ebp - 0x748]
push eax
push 1
push 0
push str.DisplayIcon
mov ecx, dword [ebp - 0x78]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x41bb10
mov byte [ebp - 0x40], 0
lea ecx, [ebp - 0x18]
call fcn.0040d100
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c]
call fcn.0040d100
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.0040d100
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.0040d100
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x24]
call fcn.0040d100
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.0040d100
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.0040d100
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040d100
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00403eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040d100
mov al, byte [ebp - 0x40]
jmp 0x41c2b4
xor edx, edx
mov byte [ebp - 0x39], dl
xor eax, eax
mov byte [ebp - 0x3a], al
xor ecx, ecx
mov byte [ebp - 0x3b], cl
xor edx, edx
mov byte [ebp - 0x3c], dl
xor eax, eax
mov byte [ebp - 0x3d], al
xor ecx, ecx
mov byte [ebp - 0x3e], cl
movzx edx, byte [ebp - 0x39]
push edx
movzx eax, byte [ebp - 0x3a]
push eax
movzx ecx, byte [ebp - 0x3b]
push ecx
lea ecx, [ebp - 0x120]
call fcn.00420530
mov ecx, eax
call fcn.0041f990
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov dword [ebp - 0x7c], edx
movzx eax, byte [ebp - 0x3c]
push eax
movzx ecx, byte [ebp - 0x3d]
push ecx
movzx edx, byte [ebp - 0x3e]
push edx
lea ecx, [ebp - 0x140]
call fcn.00420530
mov ecx, eax
call fcn.0041f990
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x7c]
push ecx
mov edx, dword [ebp - 0x80]
push edx
push 1
push 0
push str.DisplayName
mov eax, dword [ebp - 0x84]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x41bc33
mov byte [ebp - 0x3f], 0
lea ecx, [ebp - 0x18]
call fcn.0040d100
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c]
call fcn.0040d100
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.0040d100
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.0040d100
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x24]
call fcn.0040d100
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.0040d100
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.0040d100
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040d100
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00403eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040d100
mov al, byte [ebp - 0x3f]
jmp 0x41c2b4
lea ecx, [ebp - 0xb48]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x88]
push ecx
lea edx, [ebp - 0xb48]
push edx
push 1
push 0
push 0x52ea88
mov eax, dword [ebp - 0x8c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x41bd02
mov byte [ebp - 0x48], 0
lea ecx, [ebp - 0x18]
call fcn.0040d100
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c]
call fcn.0040d100
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.0040d100
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.0040d100
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x24]
call fcn.0040d100
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.0040d100
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.0040d100
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040d100
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00403eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040d100
mov al, byte [ebp - 0x48]
jmp 0x41c2b4
push 0x52eaa8
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x90]
push eax
push 0x52eb10
push 1
push 0
push str.Publisher
mov ecx, dword [ebp - 0x94]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x41bdcd
mov byte [ebp - 0x41], 0
lea ecx, [ebp - 0x18]
call fcn.0040d100
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c]
call fcn.0040d100
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.0040d100
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.0040d100
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x24]
call fcn.0040d100
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.0040d100
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.0040d100
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040d100
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00403eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040d100
mov al, byte [ebp - 0x41]
jmp 0x41c2b4
lea edx, [ebp - 0xf48]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x98]
push edx
lea eax, [ebp - 0xf48]
push eax
push 1
push 0
push str.UninstallString
mov ecx, dword [ebp - 0x9c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x41be9c
mov byte [ebp - 0x42], 0
lea ecx, [ebp - 0x18]
call fcn.0040d100
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c]
call fcn.0040d100
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.0040d100
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.0040d100
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x24]
call fcn.0040d100
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.0040d100
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.0040d100
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040d100
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00403eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040d100
mov al, byte [ebp - 0x42]
jmp 0x41c2b4
lea ecx, [ebp - 0x20]
call fcn.0040d300
lea edx, [eax + eax + 2]
mov dword [ebp - 0xa0], edx
lea ecx, [ebp - 0x20]
call fcn.0040d2e0
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 0xa4]
push edx
push 1
push 0
push str.PackageName
mov eax, dword [ebp - 0xa8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x41bf74
mov byte [ebp - 0x43], 0
lea ecx, [ebp - 0x18]
call fcn.0040d100
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c]
call fcn.0040d100
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.0040d100
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.0040d100
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x24]
call fcn.0040d100
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.0040d100
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.0040d100
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040d100
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00403eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040d100
mov al, byte [ebp - 0x43]
jmp 0x41c2b4
lea ecx, [ebp - 0x18]
call fcn.0040d2e0
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
mov dword [ebp - 0xac], ecx
lea ecx, [ebp - 0x18]
call fcn.0040d2e0
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0xb0]
push ecx
push 1
push 0
push str.DisplayVersion
mov edx, dword [ebp - 0xb4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x41c053
mov byte [ebp - 0x44], 0
lea ecx, [ebp - 0x18]
call fcn.0040d100
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c]
call fcn.0040d100
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.0040d100
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.0040d100
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x24]
call fcn.0040d100
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.0040d100
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.0040d100
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040d100
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00403eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040d100
mov al, byte [ebp - 0x44]
jmp 0x41c2b4
lea ecx, [ebp - 0x1c]
call fcn.0040d300
lea eax, [eax + eax + 2]
mov dword [ebp - 0xb8], eax
lea ecx, [ebp - 0x1c]
call fcn.0040d2e0
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xb8]
push edx
mov eax, dword [ebp - 0xbc]
push eax
push 1
push 0
push str.InstallDate
mov ecx, dword [ebp - 0xc0]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x41c12b
mov byte [ebp - 0x45], 0
lea ecx, [ebp - 0x18]
call fcn.0040d100
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c]
call fcn.0040d100
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.0040d100
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.0040d100
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x24]
call fcn.0040d100
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.0040d100
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.0040d100
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040d100
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00403eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040d100
mov al, byte [ebp - 0x45]
jmp 0x41c2b4
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x46], 1
lea ecx, [ebp - 0x18]
call fcn.0040d100
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c]
call fcn.0040d100
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.0040d100
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.0040d100
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x24]
call fcn.0040d100
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.0040d100
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.0040d100
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040d100
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00403eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040d100
mov al, byte [ebp - 0x46]
jmp 0x41c2b4
mov byte [ebp - 0x47], 0
lea ecx, [ebp - 0x18]
call fcn.0040d100
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c]
call fcn.0040d100
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.0040d100
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.0040d100
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x24]
call fcn.0040d100
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.0040d100
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.0040d100
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040d100
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00403eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040d100
mov al, byte [ebp - 0x47]
jmp 0x41c2b4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret