Function at 0x417b50
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cc379
mov eax, dword fs:[0]
push eax
sub esp, 0xf2c
mov eax, dword [0x667ce0]
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 eax, dword [ebp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xf38], eax
lea eax, [ebp - 0xf24]
push eax
push 0xf003f
push 0
push 0x5d6a30
push reloc.WS2_32.dll_accept
mov dword [ebp - 0xf24], 0
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x417bd4
push 0x5d4e0c
push dword [ebp - 0xf24]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0xf24]
call edi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0xf24], 0
push 0
push eax
mov dword [ebp - 0xf2c], 0
mov dword [ebp - 0xf28], 0
mov dword [ebp - 0xf30], 0
call fcn.005a2240
add esp, 0xc
lea eax, [ebp - 0xf24]
push eax
push 0xf003f
push 0
push str.SoftWare
push reloc.WS2_32.dll_accept
call esi
test eax, eax
jne 0x418422
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push eax
lea eax, [ebp - 0xf30]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x5d4e0c
push dword [ebp - 0xf24]
call ebx
test eax, eax
je 0x417c6d
push dword [ebp - 0xf24]
call edi
jmp 0x418422
call fcn.00404590
mov ecx, eax
call fcn.0043cab6
mov edx, eax
mov dword [ebp - 0xee0], 0
mov ecx, edx
mov dword [ebp - 0xedc], 7
xor eax, eax
mov word [ebp - 0xef0], ax
lea eax, [ecx + 2]
mov dword [ebp - 0xf34], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417ca3
sub ecx, dword [ebp - 0xf34]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xef0]
call fcn.00403240
cmp dword [ebp - 0xedc], 8
lea ecx, [ebp - 0xef0]
lea edx, [ebp - 0x218]
mov dword [ebp - 4], 0
cmovae ecx, dword [ebp - 0xef0]
sub edx, ecx
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x417cf0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push str.InstallPath
push dword [ebp - 0xf30]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0xf30]
call edi
push dword [ebp - 0xf24]
call edi
lea eax, [ebp - 0xf24]
mov dword [ebp - 0xf24], 0
push eax
push 0xf003f
push 0
push str.softwareMicrosoftWindowsCurrentVersion
push reloc.WS2_32.dll_accept
call esi
test eax, eax
jne 0x418417
lea eax, [ebp - 0xf2c]
push eax
push 0xf003f
push 0
push str.Uninstall
push dword [ebp - 0xf24]
call esi
test eax, eax
je 0x417dc0
push 0
lea eax, [ebp - 0xf2c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.Uninstall
push dword [ebp - 0xf24]
call ebx
test eax, eax
je 0x417dc0
push dword [ebp - 0xf24]
call edi
jmp 0x418417
push 0
lea eax, [ebp - 0xf28]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x5d4e0c
push dword [ebp - 0xf2c]
call ebx
test eax, eax
je 0x417df4
push dword [ebp - 0xf2c]
call edi
jmp 0x418417
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.005a2240
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.005a2240
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.005a2240
push 0x208
lea eax, [ebp - 0xc40]
push 0
push eax
call fcn.005a2240
push 0x208
lea eax, [ebp - 0xe48]
push 0
push eax
call fcn.005a2240
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.005a2240
add esp, 0x48
lea ecx, [ebp - 0xf08]
push 0x5d4d4c
call fcn.00403040
push 0x5d4d5c
lea ecx, [ebp - 0xec0]
mov byte [ebp - 4], 1
call fcn.00403040
mov esi, dword [ebp - 0xf38]
lea ecx, [ebp - 0xf20]
push esi
mov byte [ebp - 4], 2
call fcn.00403040
cmp dword [ebp - 0xf10], 0
mov byte [ebp - 4], 3
je 0x417fa7
lea eax, [ebp - 0xf20]
push eax
lea ecx, [ebp - 0xf08]
call fcn.00417a80
mov dword [ebp - 0xe54], 0
mov dword [ebp - 0xe50], 0
mov dword [ebp - 0xe4c], 0
push 0x5d6b30
lea ecx, [ebp - 0xed8]
mov byte [ebp - 4], 4
call fcn.00403040
push esi
lea ecx, [ebp - 0xe90]
mov byte [ebp - 4], 5
call fcn.00403040
lea eax, [ebp - 0xe54]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0xed8]
push eax
lea eax, [ebp - 0xe90]
push eax
call fcn.00443e23
add esp, 0xc
lea ecx, [ebp - 0xe90]
call fcn.00402fe0
lea ecx, [ebp - 0xed8]
mov byte [ebp - 4], 4
call fcn.00402fe0
mov ecx, dword [ebp - 0xe50]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0xe54]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 4
jne 0x417f98
push esi
lea ecx, [ebp - 0xec0]
call fcn.00417a80
push 0x5d6b30
lea ecx, [ebp - 0xec0]
call fcn.00417ad0
mov eax, dword [ebp - 0xe54]
lea ecx, [ebp - 0xec0]
add eax, 0x18
push eax
call fcn.00417ab0
lea ecx, [ebp - 0xe54]
mov byte [ebp - 4], 3
call fcn.00403db0
call fcn.00418e60
mov esi, eax
mov dword [ebp - 0xe68], 0
xor eax, eax
mov dword [ebp - 0xe64], 7
mov word [ebp - 0xe78], ax
mov dword [ebp - 0xe98], eax
mov dword [ebp - 0xe94], 7
mov word [ebp - 0xea8], ax
mov byte [ebp - 4], 8
test esi, esi
je 0x41803d
mov eax, dword [esi]
lea ecx, [ebp - 0xe90]
push ecx
mov ecx, esi
call dword [eax + 0x30]
push eax
lea ecx, [ebp - 0xe78]
call fcn.00406e80
lea ecx, [ebp - 0xe90]
call fcn.00402fe0
mov eax, dword [esi]
lea ecx, [ebp - 0xe90]
push ecx
mov ecx, esi
call dword [eax + 0x34]
push eax
lea ecx, [ebp - 0xea8]
call fcn.00406e80
lea ecx, [ebp - 0xe90]
call fcn.00402fe0
cmp dword [ebp - 0xe68], 0
jne 0x41804d
push 0x5d4b80
lea ecx, [ebp - 0xe78]
call fcn.0040e640
cmp dword [ebp - 0xe98], 0
jne 0x418066
push 0x5d6b34
lea ecx, [ebp - 0xea8]
call fcn.0040e640
push 1
push 0x5d6b64
lea ecx, [ebp - 0xe78]
call fcn.00405a30
cmp dword [ebp - 0xeac], 8
lea eax, [ebp - 0xec0]
push dword [ebp - 0xeb0]
cmovae eax, dword [ebp - 0xec0]
lea ecx, [ebp - 0xe78]
push eax
call fcn.00405a30
call fcn.00404590
mov ecx, eax
call fcn.0043c9f8
push eax
lea ecx, [ebp - 0xed8]
call fcn.00403040
push 8
push 0x5d493c
lea ecx, [ebp - 0xed8]
mov byte [ebp - 4], 9
call fcn.00405a30
call fcn.00404590
mov ecx, eax
call fcn.0043c9f8
push eax
lea ecx, [ebp - 0xe60]
call fcn.00403040
push 0xc
push 0x5d6b68
lea ecx, [ebp - 0xe60]
mov byte [ebp - 4], 0xa
call fcn.00405a30
push 0x5d4b80
lea ecx, [ebp - 0xe90]
call fcn.00403040
cmp dword [ebp - 0xec4], 8
lea ecx, [ebp - 0xed8]
lea edx, [ebp - 0x830]
cmovae ecx, dword [ebp - 0xed8]
sub edx, ecx
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x418130
cmp dword [ebp - 0xe64], 8
lea ecx, [ebp - 0xe78]
lea edx, [ebp - 0x420]
cmovae ecx, dword [ebp - 0xe78]
sub edx, ecx
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x418160
cmp dword [ebp - 0xe4c], 8
lea ecx, [ebp - 0xe60]
lea edx, [ebp - 0x628]
cmovae ecx, dword [ebp - 0xe60]
sub edx, ecx
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x418190
cmp dword [ebp - 0xe7c], 8
lea ecx, [ebp - 0xe90]
lea edx, [ebp - 0xc40]
cmovae ecx, dword [ebp - 0xe90]
sub edx, ecx
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x4181c0
cmp dword [ebp - 0xe94], 8
lea ecx, [ebp - 0xea8]
lea edx, [ebp - 0xe48]
cmovae ecx, dword [ebp - 0xea8]
sub edx, ecx
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x4181f0
cmp dword [ebp - 0xef4], 8
lea ecx, [ebp - 0xf08]
lea edx, [ebp - 0xa38]
cmovae ecx, dword [ebp - 0xf08]
sub edx, ecx
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x418220
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418240
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x420]
push eax
push 1
push 0
push 0x5d6b84
push dword [ebp - 0xf28]
call ebx
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418280
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x628]
push eax
push 1
push 0
push str.UninstallString
push dword [ebp - 0xf28]
call ebx
lea ecx, [ebp - 0x830]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4182c0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x830]
push eax
push 1
push 0
push str.DisplayIcon
push dword [ebp - 0xf28]
call ebx
lea ecx, [ebp - 0xa38]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418300
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0xa38]
push eax
push 1
push 0
push str.DisplayVersion
push dword [ebp - 0xf28]
call ebx
lea ecx, [ebp - 0xc40]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418340
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0xc40]
push eax
push 1
push 0
push str.Publisher
push dword [ebp - 0xf28]
call ebx
lea ecx, [ebp - 0xe48]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418380
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0xe48]
push eax
push 1
push 0
push str.URLInfoAbout
push dword [ebp - 0xf28]
call ebx
push dword [ebp - 0xf28]
call edi
push dword [ebp - 0xf2c]
call edi
lea ecx, [ebp - 0xe90]
call fcn.00402fe0
lea ecx, [ebp - 0xe60]
call fcn.00402fe0
lea ecx, [ebp - 0xed8]
call fcn.00402fe0
lea ecx, [ebp - 0xea8]
call fcn.00402fe0
lea ecx, [ebp - 0xe78]
call fcn.00402fe0
lea ecx, [ebp - 0xf20]
call fcn.00402fe0
lea ecx, [ebp - 0xec0]
call fcn.00402fe0
lea ecx, [ebp - 0xf08]
call fcn.00402fe0
lea ecx, [ebp - 0xef0]
call fcn.00402fe0
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.0059cf09
mov esp, ebp
pop ebp
ret 4