Function at 0x45b750
Capabilities:
Set registry value

Disassembly:
sub esp, 0x38
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx + 8]
push edi
mov edi, dword [esp + 0x54]
cmp eax, 0xfffffd3a
ja 0x45b7e2
je 0x45b793
cmp eax, 0xfffffd2d
jne case.0x45b7ff.703
mov dword [edi], 1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.005f85e7
add esp, 0x38
ret 0xc
mov ecx, dword [ecx + 0xc]
cmp ecx, 0x84ee
jne 0x45b7bc
mov ecx, esi
call fcn.00459900
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.005f85e7
add esp, 0x38
ret 0xc
cmp ecx, 0x84ef
jne 0x45b7cb
mov ecx, esi
call fcn.004599d0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.005f85e7
add esp, 0x38
ret 0xc
cmp eax, 0xfffffff4
ja 0x45bbe3
je 0x45bb42
add eax, 0x2c4
cmp eax, 8
ja case.0x45b7ff.703
jmp dword [eax*4 + 0x45bc80]
mov dword [edi], 1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.005f85e7
add esp, 0x38
ret 0xc
mov eax, dword [ecx + 0xc]
cmp eax, 0xc
jl 0x45b84b
mov dword [edi], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.005f85e7
add esp, 0x38
ret 0xc
lea eax, [eax + eax*4]
mov edx, dword [esi + eax*4 + 0x155c]
lea eax, [esi + eax*4 + 0x155c]
mov dword [ecx + 0x10], edx
mov edx, dword [eax + 4]
add ecx, 0x10
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov eax, dword [eax + 0x10]
mov dword [ecx + 0x10], eax
mov dword [edi], 1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.005f85e7
add esp, 0x38
ret 0xc
lea ebx, [esi + 0x1234]
mov ecx, ebx
call fcn.004505f0
mov edi, eax
sub edi, 1
js 0x45b8bd
mov edi, edi
push edi
mov ecx, ebx
call fcn.004505b0
sub edi, 1
jns 0x45b8b0
lea ecx, [esi + 0x155c]
push ecx
push 0xc
mov ecx, ebx
call fcn.00450590
cmp dword [esi + 0x7e0], 0
jne 0x45b8e6
push 0
mov ecx, esi
call fcn.00456710
mov ecx, esi
call fcn.004520d0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.005f85e7
add esp, 0x38
ret 0xc
cmp byte [esi + 0x1662], 0
jne 0x45bb28
push str.ToolbarState_v5.11
push str.SoftwareDownloadManager_
lea ebp, [esi + 0x1234]
push 0x80000001
mov ecx, ebp
call fcn.005db938
mov edi, 0x60
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call fcn.004343e0
cmp eax, edi
mov dword [esp + 0x14], eax
jle 0x45ba22
xor ebx, ebx
mov ecx, ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.004505f0
mov edi, eax
sub edi, 1
js 0x45b9d7
lea edx, [esp + 0x20]
push edx
push edi
mov ecx, ebp
call fcn.00450630
lea ecx, [esp + 0x20]
call fcn.0044e490
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x30]
push eax
push edi
mov ecx, ebp
call fcn.004505d0
mov eax, dword [esp + 0x38]
test al, 8
jne 0x45b9d2
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
test ah, 8
jne 0x45b9cc
mov eax, ecx
sub eax, edx
cmp ebx, eax
jg 0x45b9cc
mov ebx, eax
sub ecx, edx
add dword [esp + 0x10], ecx
sub edi, 1
jns 0x45b974
cmp ebx, dword [esi + 0x151c]
jle 0x45ba22
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push 0xc
lea ecx, [esi + 0x164c]
push ecx
push 0
add eax, 0x14
push 0
mov dword [esi + 0x151c], ebx
mov dword [esi + 0x1524], eax
mov dword [ecx], ebx
mov dword [esi + 0x1650], eax
mov dword [esi + 0x1654], edx
mov eax, dword [0x70f604]
push str.drTbInfo
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.005f85e7
add esp, 0x38
ret 0xc
cmp byte [esi + 0x1662], 0
jne 0x45bb28
push str.ToolbarState_v5.11
push str.SoftwareDownloadManager_
push 0x80000001
lea ecx, [esi + 0x1234]
call fcn.005db938
mov ecx, dword [esi + 0x22c]
mov ebx, dword [ecx + 8]
xor ebp, ebp
xor edi, edi
test ebx, ebx
jle 0x45ba97
mov ecx, dword [esi + 0x22c]
push edi
call fcn.004bf1a0
mov edx, dword [eax]
cmp dword [edx + 0x91c], 1
je 0x45ba92
inc edi
cmp edi, ebx
jl 0x45ba74
jmp 0x45ba97
mov ebp, 1
mov ecx, dword [esi + 0x1254]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
movzx eax, bp
push eax
push 0x8018
push 0x401
push ecx
call edi
mov edx, dword [esi + 0x5e8]
push 0
push 0
push 0x1042
push edx
call edi
test eax, eax
jl 0x45bb1b
push eax
lea ecx, [esi + 0x5c8]
call fcn.005dbaf5
mov edi, eax
push edi
mov ecx, esi
call fcn.00455a70
test eax, eax
jl 0x45bb1b
mov ecx, dword [esi + 0x22c]
push eax
call fcn.004bf1a0
mov eax, dword [eax]
mov ecx, dword [eax + 0x91c]
push edi
push ecx
mov ecx, esi
call fcn.00455950
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.005f85e7
add esp, 0x38
ret 0xc
push 0
push 0
push 0
mov ecx, esi
call fcn.00455640
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.005f85e7
add esp, 0x38
ret 0xc
mov edx, dword [ecx]
cmp edx, dword [esi + 0x1254]
jne case.0x45b7ff.703
mov dword [edi], 0
mov eax, dword [ecx + 0xc]
sub eax, 1
je 0x45bbac
sub eax, 0x10000
jne case.0x45b7ff.703
cmp byte [0x70f535], al
je case.0x45b7ff.703
cmp dword [ecx + 0x28], 4
je 0x45bb8c
mov eax, dword [0x70f504]
mov dword [ecx + 0x44], eax
mov edx, dword [0x70f504]
mov dword [ecx + 0x3c], edx
mov dword [edi], 0x800000
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.005f85e7
add esp, 0x38
ret 0xc
cmp byte [0x70f535], 0
je case.0x45b7ff.703
cmp dword [ecx + 0x28], 4
je case.0x45b7ff.703
mov dword [edi], 0x60
pop edi
pop esi
pop ebp
mov eax, 0x20
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.005f85e7
add esp, 0x38
ret 0xc
cmp eax, 0xfffffffb
jne case.0x45b7ff.703
mov eax, dword [ecx]
cmp eax, dword [esi + 0x1254]
jne case.0x45b7ff.703
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 0
push eax
mov eax, dword [esi + 0x21c]
push 0
push ecx
push edx
push 2
push eax
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0x400
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov dword [edi], 0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.005f85e7
add esp, 0x38
ret 0xc
mov edx, dword [esp + 0x4c]
push edi
push ecx
push edx
mov ecx, esi
call fcn.005d5b1f
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005f85e7
add esp, 0x38
ret 0xc