Function at 0x45e930
Capabilities:
Set registry value

Disassembly:
sub esp, 0x38
mov eax, dword [0x7496c8]
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 0x45e9c2
je 0x45e973
cmp eax, 0xfffffd2d
jne case.0x45e9df.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.00613241
add esp, 0x38
ret 0xc
mov ecx, dword [ecx + 0xc]
cmp ecx, 0x84ee
jne 0x45e99c
mov ecx, esi
call fcn.0045c900
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00613241
add esp, 0x38
ret 0xc
cmp ecx, 0x84ef
jne 0x45e9ab
mov ecx, esi
call fcn.0045c9d0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00613241
add esp, 0x38
ret 0xc
cmp eax, 0xfffffff4
ja 0x45edef
je 0x45ed4e
add eax, 0x2c4
cmp eax, 8
ja case.0x45e9df.703
jmp dword [eax*4 + 0x45ee8c]
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.00613241
add esp, 0x38
ret 0xc
mov eax, dword [ecx + 0xc]
cmp eax, 0xc
jl 0x45ea2b
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.00613241
add esp, 0x38
ret 0xc
lea eax, [eax + eax*4]
mov edx, dword [esi + eax*4 + 0x183c]
lea eax, [esi + eax*4 + 0x183c]
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.00613241
add esp, 0x38
ret 0xc
lea ebx, [esi + 0x1258]
mov ecx, ebx
call fcn.00451590
mov edi, eax
sub edi, 1
js 0x45ea9d
mov edi, edi
push edi
mov ecx, ebx
call fcn.00451550
sub edi, 1
jns 0x45ea90
lea ecx, [esi + 0x183c]
push ecx
push 0xc
mov ecx, ebx
call fcn.00451530
cmp dword [esi + 0x804], 0
jne 0x45eac6
push 0
mov ecx, esi
call fcn.00459150
mov ecx, esi
call fcn.00453b60
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00613241
add esp, 0x38
ret 0xc
cmp byte [esi + 0x1946], 0
jne 0x45ed34
push str.ToolbarState_v5.11
push str.SoftwareDownloadManager_
lea ebp, [esi + 0x1258]
push 0x80000001
mov ecx, ebp
call fcn.005f36c5
mov edi, 0x60
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call fcn.00435330
cmp eax, edi
mov dword [esp + 0x14], eax
jle 0x45ec2a
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.00451590
mov edi, eax
sub edi, 1
js 0x45ebb7
lea edx, [esp + 0x20]
push edx
push edi
mov ecx, ebp
call fcn.004515d0
lea ecx, [esp + 0x20]
call fcn.0044f9d0
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.00451570
mov eax, dword [esp + 0x38]
test al, 8
jne 0x45ebb2
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
test ah, 8
jne 0x45ebac
mov eax, ecx
sub eax, edx
cmp ebx, eax
jg 0x45ebac
mov ebx, eax
sub ecx, edx
add dword [esp + 0x10], ecx
sub edi, 1
jns 0x45eb54
cmp ebx, dword [esi + 0x17e4]
jle 0x45ec2a
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add eax, 0x14
lea edi, [esi + 0x192c]
mov dword [esi + 0x17e4], ebx
mov dword [esi + 0x17ec], eax
mov dword [edi], ebx
mov dword [esi + 0x1930], eax
mov dword [esi + 0x1934], ecx
cmp dword [0x74ebec], 0
je 0x45ec06
fld qword [0x743d50]
fmul qword [0x674590]
call fcn.006154a0
jmp 0x45ec0b
mov eax, 0x64
push 0x10
push edi
push 0
push 0
mov dword [esi + 0x1938], eax
mov edx, dword [0x74ea0c]
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.00613241
add esp, 0x38
ret 0xc
cmp byte [esi + 0x1946], 0
jne 0x45ed34
push str.ToolbarState_v5.11
push str.SoftwareDownloadManager_
push 0x80000001
lea ecx, [esi + 0x1258]
call fcn.005f36c5
mov eax, dword [esi + 0x234]
mov ebx, dword [eax + 8]
xor ebp, ebp
xor edi, edi
test ebx, ebx
jle 0x45eca3
lea esp, [esp]
mov ecx, dword [esi + 0x234]
push edi
call fcn.004aaf60
mov ecx, dword [eax]
cmp dword [ecx + 0x93c], 1
je 0x45ec9e
inc edi
cmp edi, ebx
jl 0x45ec80
jmp 0x45eca3
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 0x45ed27
push eax
lea ecx, [esi + 0x5d0]
call fcn.005f3882
mov edi, eax
push edi
mov ecx, esi
call fcn.00458420
test eax, eax
jl 0x45ed27
mov ecx, dword [esi + 0x234]
push eax
call fcn.004aaf60
mov edx, dword [eax]
mov eax, dword [edx + 0x93c]
push edi
push eax
mov ecx, esi
call fcn.00458300
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00613241
add esp, 0x38
ret 0xc
push 0
push 0
push 0
mov ecx, esi
call fcn.00457ff0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00613241
add esp, 0x38
ret 0xc
mov edx, dword [ecx]
cmp edx, dword [esi + 0x1278]
jne case.0x45e9df.703
mov dword [edi], 0
mov eax, dword [ecx + 0xc]
sub eax, 1
je 0x45edb8
sub eax, 0x10000
jne case.0x45e9df.703
cmp byte [0x74e93d], al
je case.0x45e9df.703
cmp dword [ecx + 0x28], 4
je 0x45ed98
mov eax, dword [0x74e90c]
mov dword [ecx + 0x44], eax
mov edx, dword [0x74e90c]
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.00613241
add esp, 0x38
ret 0xc
cmp byte [0x74e93d], 0
je case.0x45e9df.703
cmp dword [ecx + 0x28], 4
je case.0x45e9df.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.00613241
add esp, 0x38
ret 0xc
cmp eax, 0xfffffffb
jne case.0x45e9df.703
mov eax, dword [ecx]
cmp eax, dword [esi + 0x1278]
jne case.0x45e9df.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.00613241
add esp, 0x38
ret 0xc
mov edx, dword [esp + 0x4c]
push edi
push ecx
push edx
mov ecx, esi
call fcn.005ed88f
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00613241
add esp, 0x38
ret 0xc