Function at 0x45f170
Capabilities:
Set registry value

Disassembly:
sub esp, 0x38
mov eax, dword [0x74d890]
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 0x45f202
je 0x45f1b3
cmp eax, 0xfffffd2d
jne case.0x45f21f.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.006157d3
add esp, 0x38
ret 0xc
mov ecx, dword [ecx + 0xc]
cmp ecx, 0x84ee
jne 0x45f1dc
mov ecx, esi
call fcn.0045cff0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.006157d3
add esp, 0x38
ret 0xc
cmp ecx, 0x84ef
jne 0x45f1eb
mov ecx, esi
call fcn.0045d0c0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.006157d3
add esp, 0x38
ret 0xc
cmp eax, 0xfffffff4
ja 0x45f62f
je 0x45f58e
add eax, 0x2c4
cmp eax, 8
ja case.0x45f21f.703
jmp dword [eax*4 + 0x45f6cc]
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.006157d3
add esp, 0x38
ret 0xc
mov eax, dword [ecx + 0xc]
cmp eax, 0xc
jl 0x45f26b
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.006157d3
add esp, 0x38
ret 0xc
lea eax, [eax + eax*4]
mov edx, dword [esi + eax*4 + 0x1848]
lea eax, [esi + eax*4 + 0x1848]
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.006157d3
add esp, 0x38
ret 0xc
lea ebx, [esi + 0x1258]
mov ecx, ebx
call fcn.00450cd0
mov edi, eax
sub edi, 1
js 0x45f2dd
mov edi, edi
push edi
mov ecx, ebx
call fcn.00450c90
sub edi, 1
jns 0x45f2d0
lea ecx, [esi + 0x1848]
push ecx
push 0xc
mov ecx, ebx
call fcn.00450c70
cmp dword [esi + 0x804], 0
jne 0x45f306
push 0
mov ecx, esi
call fcn.00459840
mov ecx, esi
call fcn.00454810
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.006157d3
add esp, 0x38
ret 0xc
cmp byte [esi + 0x1952], 0
jne 0x45f574
push str.ToolbarState_v5.11
push str.SoftwareDownloadManager_
lea ebp, [esi + 0x1258]
push 0x80000001
mov ecx, ebp
call fcn.005f5ac0
mov edi, 0x60
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call fcn.00435910
cmp eax, edi
mov dword [esp + 0x14], eax
jle 0x45f46a
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.00450cd0
mov edi, eax
sub edi, 1
js 0x45f3f7
lea edx, [esp + 0x20]
push edx
push edi
mov ecx, ebp
call fcn.00450d10
lea ecx, [esp + 0x20]
call fcn.00450010
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.00450cb0
mov eax, dword [esp + 0x38]
test al, 8
jne 0x45f3f2
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
test ah, 8
jne 0x45f3ec
mov eax, ecx
sub eax, edx
cmp ebx, eax
jg 0x45f3ec
mov ebx, eax
sub ecx, edx
add dword [esp + 0x10], ecx
sub edi, 1
jns 0x45f394
cmp ebx, dword [esi + 0x17e4]
jle 0x45f46a
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add eax, 0x14
lea edi, [esi + 0x1938]
mov dword [esi + 0x17e4], ebx
mov dword [esi + 0x17ec], eax
mov dword [edi], ebx
mov dword [esi + 0x193c], eax
mov dword [esi + 0x1940], ecx
cmp dword [0x752dac], 0
je 0x45f446
fld qword [0x747d50]
fmul qword [0x6775b0]
call fcn.00617a30
jmp 0x45f44b
mov eax, 0x64
push 0x10
push edi
push 0
push 0
mov dword [esi + 0x1944], eax
mov edx, dword [0x752bcc]
push str.drTbInfo2
push edx
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.006157d3
add esp, 0x38
ret 0xc
cmp byte [esi + 0x1952], 0
jne 0x45f574
push str.ToolbarState_v5.11
push str.SoftwareDownloadManager_
push 0x80000001
lea ecx, [esi + 0x1258]
call fcn.005f5ac0
mov eax, dword [esi + 0x234]
mov ebx, dword [eax + 8]
xor ebp, ebp
xor edi, edi
test ebx, ebx
jle 0x45f4e3
lea esp, [esp]
mov ecx, dword [esi + 0x234]
push edi
call fcn.004c7a00
mov ecx, dword [eax]
cmp dword [ecx + 0x944], 1
je 0x45f4de
inc edi
cmp edi, ebx
jl 0x45f4c0
jmp 0x45f4e3
mov ebp, 1
mov eax, dword [esi + 0x1278]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
movzx edx, bp
push edx
push 0x8018
push 0x401
push eax
call edi
mov ecx, dword [esi + 0x5f0]
push 0
push 0
push 0x1042
push ecx
call edi
test eax, eax
jl 0x45f567
push eax
lea ecx, [esi + 0x5d0]
call fcn.005f5c7d
mov edi, eax
push edi
mov ecx, esi
call fcn.00458da0
test eax, eax
jl 0x45f567
mov ecx, dword [esi + 0x234]
push eax
call fcn.004c7a00
mov edx, dword [eax]
mov eax, dword [edx + 0x944]
push edi
push eax
mov ecx, esi
call fcn.00452260
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.006157d3
add esp, 0x38
ret 0xc
push 0
push 0
push 0
mov ecx, esi
call fcn.00452160
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.006157d3
add esp, 0x38
ret 0xc
mov edx, dword [ecx]
cmp edx, dword [esi + 0x1278]
jne case.0x45f21f.703
mov dword [edi], 0
mov eax, dword [ecx + 0xc]
sub eax, 1
je 0x45f5f8
sub eax, 0x10000
jne case.0x45f21f.703
cmp byte [0x752afd], al
je case.0x45f21f.703
cmp dword [ecx + 0x28], 4
je 0x45f5d8
mov eax, dword [0x752acc]
mov dword [ecx + 0x44], eax
mov edx, dword [0x752acc]
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.006157d3
add esp, 0x38
ret 0xc
cmp byte [0x752afd], 0
je case.0x45f21f.703
cmp dword [ecx + 0x28], 4
je case.0x45f21f.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.006157d3
add esp, 0x38
ret 0xc
cmp eax, 0xfffffffb
jne case.0x45f21f.703
mov eax, dword [ecx]
cmp eax, dword [esi + 0x1278]
jne case.0x45f21f.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 + 0x224]
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.006157d3
add esp, 0x38
ret 0xc
mov edx, dword [esp + 0x4c]
push edi
push ecx
push edx
mov ecx, esi
call fcn.005efc64
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006157d3
add esp, 0x38
ret 0xc