Function at 0x461d60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x2c
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
mov ecx, 0xb
rep stosd dword es:[edi], eax
pop edi
pop ecx
mov dword [ebp - 0x30], ecx
mov byte [ebp - 0x29], 0
call fcn.00490470
cmp al, 0
je 0x461e6c
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
je 0x461da1
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ebx, dword [edx + 0x10]
jmp 0x461da7
mov ebx, dword [0x4a8218]
call fcn.0047feb0
cmp ebx, eax
je 0x461e6c
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
je 0x461dc6
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
jmp 0x461dcc
mov edx, dword [0x4a8218]
cmp dword [0x4a8220], edx
jne 0x461ddd
mov byte [ebp - 0x29], 1
jmp 0x461e6c
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
je 0x461df0
mov edx, dword [ebp - 0x1c]
inc dword [edx]
call fcn.0047feb0
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0047fbc0
add esp, 0xc
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
je 0x461e18
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
jmp 0x461e1d
mov eax, dword [0x4a8218]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0047fbc0
add esp, 0xc
cmp dword [ebp - 0x20], 0
je 0x461e3c
mov ecx, dword [ebp - 0x20]
call fcn.00401b80
cmp dword [ebp - 0x1c], 0
je 0x461e4a
mov ecx, dword [ebp - 0x1c]
call fcn.00401b80
push dword [ebp + 0xc]
lea ecx, [ebp - 8]
call fcn.00403430
cmp eax, 0
je 0x461e5e
mov byte [ebp - 0x29], 1
cmp dword [ebp - 8], 0
je 0x461e6c
mov ecx, dword [ebp - 8]
call fcn.00401b80
cmp byte [ebp - 0x29], 0
je 0x461ef7
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.004021d0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004021d0
cmp dword [ebp - 0x10], 0
je 0x461e9e
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc]
shr edx, 1
jmp 0x461ea3
mov edx, 0
add edx, 1
lea edx, [edx + edx]
push edx
lea ecx, [ebp - 0x10]
call fcn.00402510
push eax
push 7
push 0
lea ecx, [ebp - 0xc]
call fcn.00402510
push eax
mov eax, dword [ebp - 0x30]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, 0
sete bl
cmp dword [ebp - 0x10], 0
je 0x461edf
mov ecx, dword [ebp - 0x10]
call fcn.00401b80
cmp dword [ebp - 0xc], 0
je 0x461eed
mov ecx, dword [ebp - 0xc]
call fcn.00401b80
mov al, bl
lea esp, [ebp - 4]
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
je 0x461f0a
mov edx, dword [ebp - 0x24]
inc dword [edx]
call fcn.0047feb0
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0047fbc0
add esp, 0xc
cmp dword [ebp - 0x24], 0
je 0x461f2e
mov ecx, dword [ebp - 0x24]
call fcn.00401b80
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0
je 0x461f41
mov edx, dword [ebp - 0x28]
inc dword [edx]
call fcn.0047feb0
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0047fbc0
add esp, 0xc
cmp dword [ebp - 0x28], 0
je 0x461f65
mov ecx, dword [ebp - 0x28]
call fcn.00401b80
cmp dword [ebp - 0x18], 0
je 0x461f73
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
jmp 0x461f78
mov eax, 0
push eax
lea ecx, [ebp - 0x18]
call fcn.004024e0
push eax
push 1
push 0
lea ecx, [ebp - 0x14]
call fcn.00402450
push eax
mov eax, dword [ebp - 0x30]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, 0
sete bl
cmp dword [ebp - 0x18], 0
je 0x461fae
mov ecx, dword [ebp - 0x18]
call fcn.00401b80
cmp dword [ebp - 0x14], 0
je 0x461fbc
mov ecx, dword [ebp - 0x14]
call fcn.00401b80
mov al, bl
lea esp, [ebp - 4]
pop ebx
pop ebp
ret 8