Function at 0x45b550
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x566bb8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5bf094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x60]
add eax, 0x30
push eax
call fcn.0045b050
mov eax, dword [esi + 0x54]
push 5
lea edi, [esi + 0x44]
push str._123_
push eax
push 0
mov ecx, edi
call fcn.00407840
test eax, eax
sete bl
xor ecx, ecx
push 3
mov word [ebp - 0x2c], cx
push 0x58afb0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x49], bl
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call fcn.00403510
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x45b5d7
lea eax, [ebp - 0x2c]
push 4
lea ecx, [ebp - 0x50]
push ecx
push 4
movzx edx, bl
push 0
mov dword [ebp - 0x50], edx
mov edx, dword [esi]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x18], 8
mov dword [ebp - 4], 0xffffffff
jb 0x45b611
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b8946
add esp, 4
test bl, bl
je 0x45b61b
mov edi, dword [esi + 0x60]
add edi, 0x30
xor ecx, ecx
push 3
mov word [ebp - 0x2c], cx
push 0x581290
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call fcn.00403510
mov eax, 8
cmp dword [edi + 0x14], eax
jb 0x45b64a
mov edi, dword [edi]
mov ebx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], eax
jae 0x45b655
lea ebx, [ebp - 0x2c]
xor eax, eax
test edi, edi
setne al
test eax, eax
jne 0x45b667
mov eax, 0xd
jmp 0x45b682
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov eax, dword [esi]
push edx
push edi
push 1
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], ebx
jb 0x45b6a6
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b8946
add esp, 4
cmp byte [ebp - 0x49], 0
je 0x45b894
mov eax, dword [esi + 0x60]
cmp dword [eax + 0xb0], 0
je 0x45b750
push 0xf
xor edx, edx
push str.partner_new_url
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
call fcn.00403510
mov edi, dword [esi + 0x60]
add edi, 0xa0
cmp dword [edi + 0x14], ebx
jb 0x45b6f3
mov edi, dword [edi]
cmp dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x2c]
jae 0x45b6fe
lea ebx, [ebp - 0x2c]
xor eax, eax
test edi, edi
setne al
test eax, eax
jne 0x45b710
mov eax, 0xd
jmp 0x45b72b
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esi]
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push 0
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x18], 8
mov dword [ebp - 4], 0xffffffff
jb 0x45b74b
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b8946
add esp, 4
mov ebx, 8
mov eax, dword [esi + 0x60]
cmp dword [eax + 0xcc], 0
je 0x45b7f0
push 0x12
xor eax, eax
push str.partner_online_url
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00403510
mov edi, dword [esi + 0x60]
add edi, 0xbc
cmp dword [edi + 0x14], ebx
jb 0x45b793
mov edi, dword [edi]
cmp dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x2c]
jae 0x45b79e
lea ebx, [ebp - 0x2c]
xor eax, eax
test edi, edi
setne al
test eax, eax
jne 0x45b7b0
mov eax, 0xd
jmp 0x45b7cb
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [esi]
lea ecx, [eax + eax + 2]
push ecx
push edi
push 1
push 0
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x18], 8
mov dword [ebp - 4], 0xffffffff
jb 0x45b7eb
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b8946
add esp, 4
mov ebx, 8
xor ecx, ecx
push 7
mov word [ebp - 0x48], cx
push str.new_sig
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
call fcn.00403510
mov edi, dword [esi + 0x60]
add edi, 0xd8
cmp dword [edi + 0x14], ebx
jb 0x45b823
mov edi, dword [edi]
cmp dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x48]
jae 0x45b82e
lea ebx, [ebp - 0x48]
xor eax, eax
test edi, edi
setne al
test eax, eax
jne 0x45b840
mov eax, 0xd
jmp 0x45b85b
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov eax, dword [esi]
push edx
push edi
push 1
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x34], 8
mov dword [ebp - 4], 0xffffffff
jb 0x45b87b
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b8946
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], dx
call fcn.0045a400
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b92b7
mov esp, ebp
pop ebp
ret