Function at 0x547d80
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x65ecd0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x100]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
push ebx
push ebx
push pe_nt_image_headers32
push eax
call ebp
mov edx, dword [esi + 0x12c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
neg eax
push ebx
sbb eax, eax
push str.PanelView
add eax, 2
push edx
mov dword [esp + 0x2c], eax
call edi
cmp dword [esi + 0x130], ebx
je 0x547f42
mov ecx, dword [esi + 0x12c]
push 4
lea eax, [esp + 0x18]
push eax
push 4
push ebx
push str.SitesEdited
push ecx
mov dword [esp + 0x2c], 1
call edi
mov edx, dword [esi + 0xa8]
push ebx
push 0xffffffffffffffff
push 0x100c
push edx
call ebp
mov edi, eax
cmp edi, ebx
jl 0x547f42
push ebx
push edi
lea eax, [esp + 0x24]
push eax
lea ecx, [esi + 0x88]
call fcn.006019cf
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x1c]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x547e50
sub eax, edx
je 0x547f00
lea ecx, [esp + 0x18]
call fcn.004024f0
mov byte [esp + 0x34], 1
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push str.SoftwareDownloadManagerDwnlSelPanel_s
push edx
call fcn.00402f60
mov edx, dword [esp + 0x24]
add esp, 0xc
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebx
push 0xf003f
push ebx
push 0x67997c
push ebx
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x547edc
mov ecx, dword [esp + 0x20]
push 4
lea eax, [esp + 0x28]
push eax
push 4
push ebx
push 0x6aa644
push ecx
mov dword [esp + 0x3c], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x34], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x547f00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x547f28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0xa8]
push ebx
push edi
push 0x100c
push ecx
call ebp
mov edi, eax
cmp edi, ebx
jge 0x547e31
mov edi, 1
push 0x6d0
mov ecx, esi
mov dword [esp + 0x18], edi
call fcn.005f5a75
mov edx, dword [eax + 0x20]
push ebx
push ebx
push pe_nt_image_headers32
push edx
call ebp
cmp eax, edi
jne 0x547f6e
mov dword [esp + 0x14], edi
jmp 0x547fba
push 0x6d1
mov ecx, esi
call fcn.005f5a75
mov eax, dword [eax + 0x20]
push ebx
push ebx
push pe_nt_image_headers32
push eax
call ebp
cmp eax, edi
jne 0x547f95
mov dword [esp + 0x14], 2
jmp 0x547fba
push 0x6d2
mov ecx, esi
call fcn.005f5a75
mov ecx, dword [eax + 0x20]
push ebx
push ebx
push pe_nt_image_headers32
push ecx
call ebp
cmp eax, edi
jne 0x547fba
mov dword [esp + 0x14], 3
mov eax, dword [esi + 0x12c]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.PanelMode
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, esi
call fcn.00605e7f
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret