Function at 0x45f2d0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x38
mov eax, dword [0x74f8a0]
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 0x45f362
je 0x45f313
cmp eax, 0xfffffd2d
jne case.0x45f37f.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.0061807e
add esp, 0x38
ret 0xc
mov ecx, dword [ecx + 0xc]
cmp ecx, 0x84ee
jne 0x45f33c
mov ecx, esi
call fcn.0045d100
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0061807e
add esp, 0x38
ret 0xc
cmp ecx, 0x84ef
jne 0x45f34b
mov ecx, esi
call fcn.0045d1d0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0061807e
add esp, 0x38
ret 0xc
cmp eax, 0xfffffff4
ja 0x45f78f
je 0x45f6ee
add eax, 0x2c4
cmp eax, 8
ja case.0x45f37f.703
jmp dword [eax*4 + 0x45f82c]
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.0061807e
add esp, 0x38
ret 0xc
mov eax, dword [ecx + 0xc]
cmp eax, 0xc
jl 0x45f3cb
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.0061807e
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.0061807e
add esp, 0x38
ret 0xc
lea ebx, [esi + 0x1258]
mov ecx, ebx
call fcn.00450cf0
mov edi, eax
sub edi, 1
js 0x45f43d
mov edi, edi
push edi
mov ecx, ebx
call fcn.00450cb0
sub edi, 1
jns 0x45f430
lea ecx, [esi + 0x1848]
push ecx
push 0xc
mov ecx, ebx
call fcn.00450c90
cmp dword [esi + 0x804], 0
jne 0x45f466
push 0
mov ecx, esi
call fcn.004598b0
mov ecx, esi
call fcn.00454980
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0061807e
add esp, 0x38
ret 0xc
cmp byte [esi + 0x1952], 0
jne 0x45f6d4
push str.ToolbarState_v5.11
push str.SoftwareDownloadManager_
lea ebp, [esi + 0x1258]
push 0x80000001
mov ecx, ebp
call fcn.005f8354
mov edi, 0x60
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call fcn.00435ad0
cmp eax, edi
mov dword [esp + 0x14], eax
jle 0x45f5ca
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.00450cf0
mov edi, eax
sub edi, 1
js 0x45f557
lea edx, [esp + 0x20]
push edx
push edi
mov ecx, ebp
call fcn.00450d30
lea ecx, [esp + 0x20]
call fcn.00450190
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.00450cd0
mov eax, dword [esp + 0x38]
test al, 8
jne 0x45f552
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
test ah, 8
jne 0x45f54c
mov eax, ecx
sub eax, edx
cmp ebx, eax
jg 0x45f54c
mov ebx, eax
sub ecx, edx
add dword [esp + 0x10], ecx
sub edi, 1
jns 0x45f4f4
cmp ebx, dword [esi + 0x17e4]
jle 0x45f5ca
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 [0x754dcc], 0
je 0x45f5a6
fld qword [0x749d60]
fmul qword [0x6795b0]
call fcn.0061a2e0
jmp 0x45f5ab
mov eax, 0x64
push 0x10
push edi
push 0
push 0
mov dword [esi + 0x1944], eax
mov edx, dword [0x754bec]
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.0061807e
add esp, 0x38
ret 0xc
cmp byte [esi + 0x1952], 0
jne 0x45f6d4
push str.ToolbarState_v5.11
push str.SoftwareDownloadManager_
push 0x80000001
lea ecx, [esi + 0x1258]
call fcn.005f8354
mov eax, dword [esi + 0x234]
mov ebx, dword [eax + 8]
xor ebp, ebp
xor edi, edi
test ebx, ebx
jle 0x45f643
lea esp, [esp]
mov ecx, dword [esi + 0x234]
push edi
call fcn.004c9520
mov ecx, dword [eax]
cmp dword [ecx + 0x944], 1
je 0x45f63e
inc edi
cmp edi, ebx
jl 0x45f620
jmp 0x45f643
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 0x45f6c7
push eax
lea ecx, [esi + 0x5d0]
call fcn.005f8511
mov edi, eax
push edi
mov ecx, esi
call fcn.00458e10
test eax, eax
jl 0x45f6c7
mov ecx, dword [esi + 0x234]
push eax
call fcn.004c9520
mov edx, dword [eax]
mov eax, dword [edx + 0x944]
push edi
push eax
mov ecx, esi
call fcn.00452340
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0061807e
add esp, 0x38
ret 0xc
push 0
push 0
push 0
mov ecx, esi
call fcn.00452240
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0061807e
add esp, 0x38
ret 0xc
mov edx, dword [ecx]
cmp edx, dword [esi + 0x1278]
jne case.0x45f37f.703
mov dword [edi], 0
mov eax, dword [ecx + 0xc]
sub eax, 1
je 0x45f758
sub eax, 0x10000
jne case.0x45f37f.703
cmp byte [0x754b1d], al
je case.0x45f37f.703
cmp dword [ecx + 0x28], 4
je 0x45f738
mov eax, dword [0x754aec]
mov dword [ecx + 0x44], eax
mov edx, dword [0x754aec]
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.0061807e
add esp, 0x38
ret 0xc
cmp byte [0x754b1d], 0
je case.0x45f37f.703
cmp dword [ecx + 0x28], 4
je case.0x45f37f.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.0061807e
add esp, 0x38
ret 0xc
cmp eax, 0xfffffffb
jne case.0x45f37f.703
mov eax, dword [ecx]
cmp eax, dword [esi + 0x1278]
jne case.0x45f37f.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.0061807e
add esp, 0x38
ret 0xc
mov edx, dword [esp + 0x4c]
push edi
push ecx
push edx
mov ecx, esi
call fcn.005f2517
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0061807e
add esp, 0x38
ret 0xc