Function at 0x42b2d0
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b86d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x18
push esi
push edi
mov eax, dword [0x4ab0fc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x20], eax
movups xmm0, xmmword [eax + 4]
lea ecx, [eax + 4]
lea esi, [eax + 0x1c]
mov dword [ebp - 0x24], ecx
lea eax, [ecx + 0x10]
mov dword [ebp - 0x1c], esi
lea edi, [esi + 0x10]
movups xmmword [esi], xmm0
cmp edi, eax
je 0x42b3ba
mov esi, dword [edi]
mov ecx, edi
push dword [esi + 4]
push edi
call fcn.0042e560
mov dword [esi + 4], esi
mov ecx, edi
mov dword [esi], esi
mov dword [esi + 8], esi
mov esi, dword [ebp - 0x24]
push dword [edi]
mov dword [edi + 4], 0
mov eax, dword [esi + 0x10]
push dword [eax + 4]
call fcn.0042f2c0
mov ecx, dword [edi]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x14]
mov esi, dword [edi]
mov dword [edi + 4], eax
mov edx, dword [esi + 4]
cmp byte [edx + 0xd], 0
jne 0x42b3b0
mov ecx, dword [edx]
cmp byte [ecx + 0xd], 0
jne 0x42b38c
nop dword [eax]
mov eax, dword [ecx]
mov edx, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x42b380
mov dword [esi], edx
mov edx, dword [edi]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
jne 0x42b3ab
nop dword [eax]
mov ecx, eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
je 0x42b3a0
mov dword [edx + 8], ecx
jmp 0x42b3b7
mov dword [esi], esi
mov eax, dword [edi]
mov dword [eax + 8], eax
mov esi, dword [ebp - 0x1c]
call fcn.00403800
mov ecx, eax
test ecx, ecx
je 0x42b592
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
call fcn.00403800
mov ecx, eax
test ecx, ecx
je 0x42b59c
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x20]
push esi
add eax, 0x34
push eax
call fcn.0042b990
call fcn.00442830
push str.PowerPlan
push dword [0x4b03e8]
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x14]
call fcn.00420d70
add esp, 8
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x14]
cmp dword [edi - 0xc], 0
jne 0x42b496
call fcn.00442830
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0xf003f
push 0
push dword [0x4b03e8]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [ebp - 0x18]
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push 0
push str.PowerPlan
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42b526
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42b5a6
mov esi, dword [ebp - 0x18]
mov ecx, eax
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42b4ce
test dx, dx
je 0x42b4ca
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42b4ce
add eax, 4
add ecx, 4
test dx, dx
jne 0x42b4a8
xor eax, eax
jmp 0x42b4d3
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42b526
mov ecx, edi
mov eax, esi
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42b506
test dx, dx
je 0x42b502
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42b506
add eax, 4
add ecx, 4
test dx, dx
jne 0x42b4e0
xor eax, eax
jmp 0x42b50b
sbb eax, eax
or eax, 1
test eax, eax
je 0x42b526
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push eax
call fcn.0042b5c0
push dword [ebp - 0x24]
call fcn.0042bd00
mov edi, dword [ebp - 0x14]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42b544
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42b562
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x42b57e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80004005
call fcn.004035d0
push 0x80004005
call fcn.004035d0
push 0x80004005
call fcn.004035d0
int3