Function at 0x430f90
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x454d08
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4652b0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
lea ecx, [ebp + 0x14]
call fcn.00433ce0
test eax, eax
jne 0x430fd1
mov eax, 1
jmp 0x4312c6
call fcn.00438f20
mov edi, eax
call fcn.00435960
mov eax, dword [0x467e80]
mov edx, dword [eax + 0xc]
mov ecx, 0x467e80
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x34], 0
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
mov esi, 0x104
sub eax, esi
or eax, ecx
jge 0x431020
mov ecx, esi
lea eax, [esp + 0x18]
call fcn.00404d80
mov ebx, dword [esp + 0x18]
cmp dword [ebx - 8], esi
jge 0x43102f
push 0x80070057
call fcn.004059f0
mov dword [ebx - 0xc], esi
mov byte [ebx + 0x104], 0
mov ebp, dword [ebp]
call fcn.00438f70
lea esi, [edi + 0xc]
push ebx
mov ecx, ebp
mov edx, esi
mov dword [esp + 0x2c], esi
call fcn.004368d0
mov eax, dword [ebx - 8]
push eax
push ebx
call fcn.0043ecbd
add esp, 8
test eax, eax
jl 0x431025
cmp eax, dword [ebx - 8]
jg 0x431025
mov dword [ebx - 0xc], eax
mov byte [eax + ebx], 0
mov eax, dword [0x467e80]
mov edx, dword [eax + 0xc]
mov ecx, 0x467e80
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x34], 1
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, dword [ebp - 4]
sub eax, 0x104
or eax, ecx
jge 0x4310b0
mov ecx, 0x104
lea eax, [esp + 0x1c]
call fcn.00404d80
mov ebp, dword [esp + 0x1c]
mov eax, 0x104
cmp dword [ebp - 8], eax
jge 0x4310c4
push 0x80070057
call fcn.004059f0
mov dword [ebp - 0xc], eax
mov eax, dword [esp + 0x3c]
mov byte [ebp + 0x104], 0
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
call fcn.00438f70
mov ecx, dword [esp + 0x24]
push ebp
mov edx, esi
call fcn.004368d0
mov eax, dword [ebp - 8]
push eax
push ebp
call fcn.0043ecbd
add esp, 8
test eax, eax
jl 0x431025
cmp eax, dword [ebp - 8]
jg 0x431025
mov dword [ebp - 0xc], eax
mov byte [eax + ebp], 0
mov edx, dword [0x467e80]
mov eax, dword [edx + 0xc]
mov ecx, 0x467e80
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x20], esi
mov byte [esp + 0x34], 2
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x431151
mov ecx, 0x104
lea eax, [esp + 0x20]
call fcn.00404d80
mov esi, dword [esp + 0x20]
mov eax, 0x104
cmp dword [esi - 8], eax
jge 0x431165
push 0x80070057
call fcn.004059f0
mov ecx, dword [esp + 0x3c]
mov dword [esi - 0xc], eax
mov byte [esi + 0x104], 0
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x24], edx
call fcn.00438f70
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push esi
call fcn.004368d0
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0043ecbd
add esp, 8
test eax, eax
jl 0x431025
cmp eax, dword [esi - 8]
jg 0x431025
mov edi, dword [esp + 0x3c]
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
cmp dword [edi + 0x10], 0
je 0x4311d7
push ebp
mov ecx, ebx
call fcn.004399d0
push eax
push str.Backup_Key_Value_Return:__d
push 0x80
call fcn.004025a0
add esp, 0xc
mov eax, dword [edi + 8]
push str.STRING
push eax
call fcn.0043e70f
mov eax, dword [esi - 0xc]
inc eax
add esp, 8
mov ecx, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
call fcn.004394d0
mov edi, eax
test edi, edi
je 0x43122a
mov eax, dword [esp + 0x28]
push eax
push esi
push 1
push 0
push ebp
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x431223
mov dword [esp + 0x24], 1
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [esp + 0x24]
push edi
push 1
push esi
push ebp
push ebx
push str.Install_Key_KeyName:__s__ValueName:__s__Value:__s__DataType:__d_Return:__d
push 0x80
call fcn.004025a0
add esp, 0x1c
test edi, edi
je 0x43125d
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.004312e0
mov ebx, dword [esp + 0x18]
add esi, 0xfffffff0
mov byte [esp + 0x34], 1
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43127e
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0xfffffff0
mov byte [esp + 0x34], 0
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4312a0
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
add ebx, 0xfffffff0
mov dword [esp + 0x34], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4312c4
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, edi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4