Function at 0x424b90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c87b
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x5c49f0]
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 ecx, [ebp - 0x228]
mov edi, dword [ebp + 0xc]
push 0x34
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x214], 0xf
mov dword [ebp - 0x218], 0
mov byte [ebp - 0x228], 0
call fcn.0042c1e0
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [ebp - 0x228]
mov dword [ebp - 4], 0
call fcn.0042c5f0
push 0x200
lea eax, [ebp - 0x210]
mov dword [ebp - 0x234], 0x200
push 0
push eax
call fcn.005369e0
add esp, 0xc
lea eax, [ebp - 0x234]
cmp dword [ebp - 0x214], 0x10
lea edx, [ebp - 0x228]
cmovae edx, dword [ebp - 0x228]
push eax
lea eax, [ebp - 0x210]
push eax
push ecx
call fcn.004371e0
add esp, 0xc
test eax, eax
je 0x424d25
lea ecx, [ebp - 0x210]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x424c70
sub ecx, edx
je 0x424d25
lea ecx, [ebp - 0x210]
call fcn.00435150
lea eax, [ebp - 0x210]
push eax
push str.DisplayName__s
push 0
push 0x5b063c
call fcn.004367b0
push eax
call fcn.00436800
lea esi, [ebp - 0x210]
add esp, 0x14
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x424cb4
sub esi, ecx
mov dword [ebp - 0x22c], 0
cmp dword [ebp - 0x214], 0x10
lea ecx, [ebp - 0x22c]
push ecx
push 2
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push 0
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push reloc.WS2_32.dll_bind
call eax
test eax, eax
jne 0x424d14
push esi
lea eax, [ebp - 0x210]
push eax
push 1
push 0
push str.DisplayName
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x424d25
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x230], eax
jb 0x424d38
mov esi, dword [edi]
jmp 0x424d3a
mov esi, edi
cmp dword [ebp - 0x214], 0x10
lea ecx, [ebp - 0x22c]
push ecx
push 2
lea eax, [ebp - 0x228]
mov dword [ebp - 0x22c], 0
cmovae eax, dword [ebp - 0x228]
xor bl, bl
push 0
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x424d9d
push dword [ebp - 0x230]
push esi
push 1
push eax
push str.DisplayVersion
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
movzx ebx, bl
mov eax, 1
cmove ebx, eax
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x424dae
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5c9840]
mov dword [ebp - 0x240], ecx
cmp eax, dword [ecx + 4]
jle 0x424dfe
push 0x5c9840
call fcn.00533993
add esp, 4
cmp dword [0x5c9840], 0xffffffff
jne 0x424dfe
call fcn.00436720
push 0x5607c0
call fcn.00533d1d
add esp, 4
push 0x5c9840
call fcn.00533954
add esp, 4
movzx eax, bl
push eax
push str.CAllUpdate::UpdateRegVersion
push str._s:_d
push 0
push 0x5b063c
push 0x5c9848
mov dword [ebp - 0x23c], eax
call fcn.00436800
add esp, 0x18
lea ecx, [ebp - 0x228]
push 0x40
push str.SOFTWAREWOW6432NodeMicrosoftWindowsCurrentVersionUninstall_
call fcn.0042c1e0
push 0xffffffffffffffff
push 0
push dword [ebp - 0x238]
lea ecx, [ebp - 0x228]
call fcn.0042c5f0
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.005369e0
add esp, 0xc
lea eax, [ebp - 0x234]
cmp dword [ebp - 0x214], 0x10
lea edx, [ebp - 0x228]
cmovae edx, dword [ebp - 0x228]
push eax
lea eax, [ebp - 0x210]
push eax
push ecx
call fcn.004371e0
add esp, 0xc
test eax, eax
je 0x424f55
lea ecx, [ebp - 0x210]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x424ea0
sub ecx, edx
je 0x424f55
lea ecx, [ebp - 0x210]
call fcn.00435150
lea eax, [ebp - 0x210]
push eax
push str.DisplayName__s
push 0
push 0x5b063c
call fcn.004367b0
push eax
call fcn.00436800
lea esi, [ebp - 0x210]
add esp, 0x14
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x424ee4
sub esi, ecx
mov dword [ebp - 0x22c], 0
cmp dword [ebp - 0x214], 0x10
lea ecx, [ebp - 0x22c]
push ecx
push 2
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push 0
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push reloc.WS2_32.dll_bind
call eax
test eax, eax
jne 0x424f44
push esi
lea eax, [ebp - 0x210]
push eax
push 1
push 0
push str.DisplayName
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x424f55
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [edi + 0x14], 0x10
mov ebx, dword [edi + 0x10]
jb 0x424f60
mov edi, dword [edi]
cmp dword [ebp - 0x214], 0x10
lea ecx, [ebp - 0x22c]
push ecx
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
xor esi, esi
push 2
push esi
push eax
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x22c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x424fb6
push ebx
push edi
push 1
push eax
push str.DisplayVersion
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
mov eax, 1
cmove esi, eax
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x424fc7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 0x240]
add eax, esi
mov eax, dword [0x5c9840]
setne bl
cmp eax, dword [ecx + 4]
jle 0x42501a
push 0x5c9840
call fcn.00533993
add esp, 4
cmp dword [0x5c9840], 0xffffffff
jne 0x42501a
call fcn.00436720
push 0x5607c0
call fcn.00533d1d
add esp, 4
push 0x5c9840
call fcn.00533954
add esp, 4
movzx eax, bl
push eax
push str.CAllUpdate::UpdateRegVersion
push str._s:_d
push 0
push 0x5b063c
push 0x5c9848
call fcn.00436800
mov ecx, dword [ebp - 0x214]
add esp, 0x18
cmp ecx, 0x10
jb 0x42505a
inc ecx
push ecx
push dword [ebp - 0x228]
lea ecx, [ebp - 0x228]
call fcn.0042ceb0
mov al, bl
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.00533845
mov esp, ebp
pop ebp
ret 8