Function at 0x485cf0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4456
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov eax, dword [0x52f2b0]
xor eax, dword [ebp + 4]
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x54]
push esi
xor esi, esi
cmp eax, esi
jne 0x485d2a
xor al, al
jmp 0x485fef
mov al, byte [ebx + 0x4ed]
test al, al
je 0x485d5d
push 1
mov ecx, ebx
call fcn.004800f0
push esi
push 1
lea ecx, [ebx + 0x50c]
mov byte [ebx + 0x538], 1
call fcn.00445090
neg eax
sbb eax, eax
neg eax
jmp 0x485fef
lea eax, [ebx + 0x40]
push eax
lea ecx, [ebp - 0x6c]
push str.SOFTWARE_
push ecx
call fcn.00419760
push eax
lea edx, [ebp - 0x50]
push edx
mov dword [ebp - 4], esi
call fcn.0044b800
add esp, 0x14
cmp dword [ebp - 0x54], 0x10
jb 0x485d91
mov eax, dword [ebp - 0x68]
push eax
call fcn.004d88be
add esp, 4
push edi
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x30], 0
mov edi, dword [ebp + 8]
push 1
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
push ecx
mov ecx, edi
mov byte [ebp - 4], 3
mov byte [ebp - 0x14], 0x5c
call fcn.00443b00
mov esi, eax
cmp esi, 0xffffffff
je 0x485e7e
push esi
push 0
lea edx, [ebp - 0x88]
push edx
mov ecx, edi
call fcn.004479b0
push eax
lea eax, [ebp - 0x6c]
push 0x4ffc0c
push eax
mov byte [ebp - 4], 4
call fcn.00419760
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.00419490
cmp dword [ebp - 0x54], 0x10
jb 0x485e0f
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.004d88be
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 0x485e3a
mov edx, dword [ebp - 0x84]
push edx
call fcn.004d88be
add esp, 4
push 0xffffffffffffffff
inc esi
push esi
lea eax, [ebp - 0x88]
push eax
mov ecx, edi
call fcn.004479b0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.00406610
mov eax, dword [ebp - 0x70]
mov esi, 0x10
cmp eax, esi
mov byte [ebp - 4], 3
jb 0x485e90
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.004d88be
add esp, 4
jmp 0x485e90
push 0xffffffffffffffff
push 0
push edi
lea ecx, [ebp - 0x34]
call fcn.00406610
mov esi, 0x10
cmp dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x4c]
jae 0x485e9b
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x18]
push edx
push 0x20006
xor edi, edi
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
je 0x485f58
cmp dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x4c]
jae 0x485ec6
lea eax, [ebp - 0x4c]
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x18]
push edx
push edi
push 0xf003f
push edi
push 0x4ffbe4
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, edi
je 0x485f58
mov al, byte [ebx + 0x4ec]
test al, al
je 0x485f21
mov ecx, ebx
call fcn.00480050
push 1
add ebx, 0x50c
push edi
mov ecx, ebx
call fcn.0044ed60
push 5
push 0xc
mov ecx, ebx
call fcn.0044ed60
push 1
push edi
mov ecx, ebx
call fcn.0044ed60
cmp dword [ebp - 0x1c], esi
jb 0x485f32
mov eax, dword [ebp - 0x30]
push eax
call fcn.004d88be
add esp, 4
cmp dword [ebp - 0x38], esi
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x30], 0
jb 0x485f51
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004d88be
add esp, 4
xor al, al
jmp 0x485fee
cmp dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x30]
jae 0x485f63
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 edi
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 [ebx + 0x4ec]
test al, al
je 0x485fbc
mov ecx, ebx
call fcn.00480050
push 1
add ebx, 0x50c
push edi
mov ecx, ebx
call fcn.0044ed60
push 5
push 0xc
mov ecx, ebx
call fcn.0044ed60
push 1
push 1
mov ecx, ebx
call fcn.0044ed60
cmp dword [ebp - 0x1c], esi
jb 0x485fcd
mov edx, dword [ebp - 0x30]
push edx
call fcn.004d88be
add esp, 4
cmp dword [ebp - 0x38], esi
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x30], 0
jb 0x485fec
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004d88be
add esp, 4
mov al, 1
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
pop esi
pop ebx
call fcn.004d9f7e
mov esp, ebp
pop ebp
ret 0x10