Function at 0x4699f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db276
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov eax, dword [0x514eb8]
xor eax, dword [ebp + 4]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x54]
xor esi, esi
cmp eax, esi
jne 0x469a2a
xor al, al
jmp 0x469d00
mov al, byte [edi + 0x549]
test al, al
je 0x469a6e
mov al, byte [edi + 0x54a]
test al, al
je 0x469a45
mov al, 1
jmp 0x469d00
push 1
mov ecx, edi
call fcn.00462db0
push esi
push 1
lea ecx, [edi + 0x568]
mov byte [edi + 0x598], 1
call fcn.00420eb0
neg eax
sbb eax, eax
neg eax
jmp 0x469d00
lea eax, [edi + 0x40]
push eax
lea ecx, [ebp - 0x6c]
push str.SOFTWARE_
push ecx
call fcn.00411879
push eax
lea edx, [ebp - 0x50]
push edx
mov dword [ebp - 4], esi
call fcn.004281e0
add esp, 0x14
cmp dword [ebp - 0x54], 0x10
jb 0x469aa2
mov eax, dword [ebp - 0x68]
push eax
call fcn.004c2b1b
add esp, 4
push ebx
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x30], 0
mov ebx, dword [ebp + 8]
push 1
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 3
mov byte [ebp - 0x14], 0x5c
call fcn.00416570
mov esi, eax
cmp esi, 0xffffffff
je 0x469b8f
push esi
push 0
lea edx, [ebp - 0x88]
push edx
mov ecx, ebx
call fcn.004028e0
push eax
lea eax, [ebp - 0x6c]
push 0x4e564c
push eax
mov byte [ebp - 4], 4
call fcn.00411879
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.00409fcc
cmp dword [ebp - 0x54], 0x10
jb 0x469b20
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.004c2b1b
add esp, 4
cmp dword [ebp - 0x70], 0x10
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
mov byte [ebp - 4], 3
jb 0x469b4b
mov edx, dword [ebp - 0x84]
push edx
call fcn.004c2b1b
add esp, 4
push 0xffffffffffffffff
inc esi
push esi
lea eax, [ebp - 0x88]
push eax
mov ecx, ebx
call fcn.004028e0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.004024d0
mov eax, dword [ebp - 0x70]
mov esi, 0x10
cmp eax, esi
mov byte [ebp - 4], 3
jb 0x469ba1
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.004c2b1b
add esp, 4
jmp 0x469ba1
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [ebp - 0x34]
call fcn.004024d0
mov esi, 0x10
cmp dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x4c]
jae 0x469bac
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x18]
push edx
push 0x20006
xor ebx, ebx
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x469c69
cmp dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x4c]
jae 0x469bd7
lea eax, [ebp - 0x4c]
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x18]
push edx
push ebx
push 0xf003f
push ebx
push 0x4e6748
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
je 0x469c69
mov al, byte [edi + 0x548]
test al, al
je 0x469c32
mov ecx, edi
call fcn.00462d10
push 1
add edi, 0x568
push ebx
mov ecx, edi
call fcn.0042d580
push 5
push 0xc
mov ecx, edi
call fcn.0042d580
push 1
push ebx
mov ecx, edi
call fcn.0042d580
cmp dword [ebp - 0x1c], esi
jb 0x469c43
mov eax, dword [ebp - 0x30]
push eax
call fcn.004c2b1b
add esp, 4
cmp dword [ebp - 0x38], esi
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], 0
jb 0x469c62
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004c2b1b
add esp, 4
xor al, al
jmp 0x469cff
cmp dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x30]
jae 0x469c74
lea eax, [ebp - 0x30]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push ecx
push edx
push ebx
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [edi + 0x548]
test al, al
je 0x469ccd
mov ecx, edi
call fcn.00462d10
push 1
add edi, 0x568
push ebx
mov ecx, edi
call fcn.0042d580
push 5
push 0xc
mov ecx, edi
call fcn.0042d580
push 1
push 1
mov ecx, edi
call fcn.0042d580
cmp dword [ebp - 0x1c], esi
jb 0x469cde
mov edx, dword [ebp - 0x30]
push edx
call fcn.004c2b1b
add esp, 4
cmp dword [ebp - 0x38], esi
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], 0
jb 0x469cfd
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004c2b1b
add esp, 4
mov al, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
pop edi
pop esi
call fcn.004c478a
mov esp, ebp
pop ebp
ret 0x10