Function at 0x469640
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485828
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4b700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, edx
mov dword [ebp - 4], 1
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 3
push 0xf003f
push dword [ebp + 8]
push 0x80000002
lea ecx, [ebp - 0x28]
call fcn.0046dac0
mov edi, eax
test edi, edi
jne 0x469856
mov dword [ebp - 0x14], esi
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push edi
push dword [ebp + 0xc]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test edi, edi
je 0x469798
lea ecx, [ebp - 0x28]
call fcn.0045da30
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x488924
call fcn.0045d100
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.changeDwordRegistry_value_change_error
call fcn.0045d100
mov byte [ebp - 4], 5
mov byte [ebp - 4], 3
or ecx, 0xffffffff
call fcn.0045f800
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.0045da30
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x469732
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 6
mov byte [ebp - 4], 0
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46975e
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov dword [ebp - 4], 7
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x469784
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x488924
call fcn.0045d100
mov byte [ebp - 4], 8
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.changeDwordRegistry_value_changed_success
call fcn.0045d100
mov byte [ebp - 4], 9
mov byte [ebp - 4], 3
or ecx, 0xffffffff
call fcn.0045f800
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.0045da30
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4697f0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 0
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46981c
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov dword [ebp - 4], 0xb
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x469842
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x46986f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 0
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46989b
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov dword [ebp - 4], 0xd
jmp 0x469765