Function at 0x43daf0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5875f8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x5f01b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx + 0xb4]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
xor edi, edi
push edi
push edi
push 0xf0
push eax
call esi
cmp eax, 1
jne 0x43dbc4
push str.LifePageCountDisplayState
lea ecx, [ebp - 0x14]
call fcn.00401ca0
lea esi, [ebp - 0x20]
mov dword [ebp - 4], edi
call fcn.00456d70
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
push 0x20006
push edi
push eax
push SysReAllocString
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43db96
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push 4
lea edx, [ebp - 0x18]
push edx
push 4
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43dbb5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
jmp 0x43dcca
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x128]
push edi
push edi
push 0xf0
push edx
call esi
push str.LifePageCountDisplayState
cmp eax, 1
jne 0x43dc47
lea ecx, [ebp - 0x14]
call fcn.00401ca0
lea esi, [ebp - 0x24]
mov dword [ebp - 4], 1
call fcn.00456d70
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
push 0x20006
push edi
push eax
push SysReAllocString
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43dc3f
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push 4
lea edx, [ebp - 0x20]
push edx
push 4
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x24]
jmp 0x43db99
lea ecx, [ebp - 0x18]
call fcn.00401ca0
lea esi, [ebp - 0x2c]
mov dword [ebp - 4], 2
call fcn.00456d70
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
push 0x20006
push edi
push eax
push SysReAllocString
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43dca1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
push 4
lea edx, [ebp - 0x28]
push edx
push 4
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43dcc0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43dce6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x1c]
call fcn.0046f2c4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret