Function at 0x436c30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0bb0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4fe080]
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, ecx
call fcn.0040d660
mov edx, eax
mov dword [ebp - 0x30], 7
xor eax, eax
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
cmp word [edx], ax
jne 0x436c81
xor ecx, ecx
jmp 0x436c95
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436c86
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.004116f0
push 1
push 0x4d961c
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0
call fcn.00411400
lea eax, [ebp - 0x60]
push eax
call fcn.00413ac0
mov ecx, eax
call fcn.00413b70
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 1
jb 0x436cd3
mov edx, dword [edx]
cmp word [edx], 0
jne 0x436cdd
xor ecx, ecx
jmp 0x436cf1
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436ce2
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.00411400
cmp dword [ebp - 0x4c], 8
mov byte [ebp - 4], 0
jb 0x436d10
push dword [ebp - 0x60]
call fcn.0047a557
add esp, 4
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x48]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push 0
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x436fe0
lea eax, [ebx + 0x1010]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040f510
push 1
push 0x4d9620
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00411400
lea eax, [ebp - 0x60]
push eax
call fcn.00413ac0
mov ecx, eax
call fcn.00413b70
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 3
jb 0x436d82
mov edx, dword [edx]
cmp word [edx], 0
jne 0x436d8c
xor ecx, ecx
jmp 0x436da0
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436d91
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00411400
cmp dword [ebp - 0x4c], 8
mov byte [ebp - 4], 2
jb 0x436dbf
push dword [ebp - 0x60]
call fcn.0047a557
add esp, 4
push 1
push 0x4d9624
lea ecx, [ebp - 0x2c]
call fcn.00411400
call fcn.0040c000
mov edx, eax
cmp word [edx], 0
jne 0x436ddf
xor ecx, ecx
jmp 0x436df3
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436de4
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00411400
lea eax, [ebp - 0x78]
push eax
call fcn.00413ac0
mov ecx, eax
call fcn.00413b70
mov esi, eax
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 4
jb 0x436e1b
mov esi, dword [esi]
lea ecx, [esi + 2]
mov edi, edi
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x436e20
lea eax, [ebp - 0x60]
sub esi, ecx
push eax
sar esi, 1
call fcn.00413ac0
mov ecx, eax
call fcn.00413b70
mov ecx, eax
cmp dword [ecx + 0x14], 8
jb 0x436e49
mov ecx, dword [ecx]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [esi + esi]
push eax
push ecx
push 1
push 0
push 0x4d9628
push dword [ebp - 0x48]
call edi
cmp dword [ebp - 0x4c], 8
jb 0x436e73
push dword [ebp - 0x60]
call fcn.0047a557
add esp, 4
xor eax, eax
mov dword [ebp - 0x4c], 7
cmp dword [ebp - 0x64], 8
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
mov byte [ebp - 4], 2
jb 0x436e9c
push dword [ebp - 0x78]
call fcn.0047a557
add esp, 4
lea edx, [ebx + 0x1218]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436ea7
sub ecx, esi
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push 1
push 0
push str.DisplayIcon
push dword [ebp - 0x48]
call edi
lea eax, [ebp - 0x78]
push eax
call fcn.00413ac0
mov ecx, eax
call fcn.00413b70
mov esi, eax
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 5
jb 0x436ee7
mov esi, dword [esi]
lea ecx, [esi + 2]
lea ebx, [ebx]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x436ef0
lea eax, [ebp - 0x60]
sub esi, ecx
push eax
sar esi, 1
call fcn.00413ac0
mov ecx, eax
call fcn.00413b70
mov ecx, eax
cmp dword [ecx + 0x14], 8
jb 0x436f19
mov ecx, dword [ecx]
lea eax, [esi + esi]
push eax
push ecx
push 1
push 0
push str.Publisher
push dword [ebp - 0x48]
call edi
cmp dword [ebp - 0x4c], 8
jb 0x436f3d
push dword [ebp - 0x60]
call fcn.0047a557
add esp, 4
xor eax, eax
mov dword [ebp - 0x4c], 7
cmp dword [ebp - 0x64], 8
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
jb 0x436f62
push dword [ebp - 0x78]
call fcn.0047a557
add esp, 4
push 6
push 0x4d9674
push 1
push 0
push str.DisplayVersion
push dword [ebp - 0x48]
call edi
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
add eax, eax
push eax
push ecx
push 1
push 0
push str.UninstallString
push dword [ebp - 0x48]
call edi
push 4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push 4
push 0
push str.NoModify
push dword [ebp - 0x48]
call edi
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push 0
push str.NoRepair
push dword [ebp - 0x48]
call edi
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], 8
jb 0x436fe0
push dword [ebp - 0x2c]
call fcn.0047a557
add esp, 4
cmp dword [ebp - 0x30], 8
jb 0x436ff1
push dword [ebp - 0x44]
call fcn.0047a557
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.0047b06c
mov esp, ebp
pop ebp
ret