Function at 0x426aa0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51012d
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x55f2b4]
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 ecx, dword [0x55fe90]
mov edi, SysReAllocString
mov eax, edi
sub eax, ecx
cmp eax, 0xd
jb 0x426d6b
cmp dword [0x55fe94], 8
mov eax, 0x55fe80
push 0xd
cmovae eax, dword [0x55fe80]
push 0x54047c
push ecx
push eax
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
call fcn.0041ba50
mov dword [ebp - 4], 0
mov eax, edi
mov ecx, dword [0x55fe90]
sub eax, ecx
cmp eax, 0x16
jb 0x426d70
cmp dword [0x55fe94], 8
mov eax, 0x55fe80
push 0x16
cmovae eax, dword [0x55fe80]
push str.RemediationsVolatile
push ecx
push eax
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x44]
call fcn.0041ba50
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x48], 0
cmovae eax, dword [ebp - 0x2c]
test eax, eax
je 0x426cdb
cmp word [eax], 0
je 0x426cdb
push 0
lea ecx, [ebp - 0x48]
push ecx
push 0
push 1
push 0
push 0
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x426baa
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x48], 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x426ce3
test byte [esi + 0x30], 1
je 0x426be3
cmp dword [esi + 0x14], 8
jb 0x426bc7
mov esi, dword [esi]
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x2c]
push ecx
cmovae edx, dword [ebp - 0x2c]
push 1
push esi
call fcn.0041b7a0
add esp, 0xc
jmp 0x426ce3
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 2
mov ecx, dword [0x55fe90]
sub edi, ecx
cmp edi, 9
jb 0x426d75
cmp dword [0x55fe94], 8
mov eax, 0x55fe80
push 9
cmovae eax, dword [0x55fe80]
push str.Volatile
push ecx
push eax
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x60]
call fcn.0041ba50
cmp dword [ebp - 0x4c], 8
lea ecx, [ebp - 0x48]
push 0
push ecx
push 0
push 6
push 1
push 0
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edx, dword [ebp - 0x4c]
mov edi, eax
cmp edx, 8
jb 0x426c8a
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x426c80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426d7a
push edx
push ecx
call fcn.004d06e3
add esp, 8
test edi, edi
je 0x426ca3
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x426ce3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x426ce3
push eax
jmp 0x426cdd
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x14], 1
jb 0x426cb2
mov esi, dword [esi]
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push 0
push esi
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x426ce3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x426ce3
push eax
jmp 0x426cdd
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x426d19
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x426d0f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426d7f
push edx
push ecx
call fcn.004d06e3
add esp, 8
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x426d4f
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x426d45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426d7f
push edx
push ecx
call fcn.004d06e3
add esp, 8
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.004d0675
mov esp, ebp
pop ebp
ret
call fcn.00414310
call fcn.00414310
call fcn.00414310
call fcn.004ebf29
call fcn.004ebf29
int3