Function at 0x4264b0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x476ac8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [esp + 0x10]
push edi
push eax
xor ebp, ebp
push str.SOFTWAREESETESET_SecurityCurrentVersionScanners01010101Profiles
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], ebp
call esi
test eax, eax
jne 0x4266d8
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push str._My_profile
push edx
mov dword [esp + 0x24], ebp
call esi
test eax, eax
je 0x42651f
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push str._My_profile
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x4266c7
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x28]
push ebp
push ecx
push ebp
push str.ExcludeExtensions
push eax
mov dword [esp + 0x3c], 1
mov dword [esp + 0x34], ebp
call ebx
mov edx, dword [esp + 0x1c]
shr edx, 1
lea eax, [edx + edx + 2]
push eax
call fcn.0044aeaf
mov ecx, dword [esp + 0x20]
mov esi, eax
add ecx, 2
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push esi
push ecx
push ebp
push str.ExcludeExtensions
push edx
call ebx
mov al, byte [esp + 0x13]
push ebp
lea ecx, [esp + 0x34]
mov byte [esp + 0x34], al
call fcn.00422400
push esi
call fcn.0044b1a8
add esp, 4
mov edi, eax
lea ecx, [esp + 0x30]
push 1
push edi
call fcn.00422910
test al, al
je 0x4265dd
mov ecx, dword [esp + 0x34]
push edi
push esi
push ecx
call fcn.00421840
add esp, 0xc
lea ecx, [esp + 0x30]
push edi
call fcn.004228f0
push esi
mov dword [esp + 0x4c], ebp
call fcn.0047461e
push esi
xor bl, bl
call fcn.0044b1a8
add esp, 8
test eax, eax
jne 0x426612
push 0x489df4
call fcn.0044b1a8
add esp, 4
lea ecx, [esp + 0x30]
push eax
push 0x489df4
call fcn.00424d50
push str.p2p
push esi
call fcn.0044beea
add esp, 8
test eax, eax
jne 0x426642
push 0x48a030
call fcn.0044b1a8
add esp, 4
lea ecx, [esp + 0x30]
push eax
push 0x48a030
call fcn.00424d50
mov bl, 1
push str.p2s
push esi
call fcn.0044beea
add esp, 8
test eax, eax
jne 0x426672
push 0x48a018
call fcn.0044b1a8
add esp, 4
lea ecx, [esp + 0x30]
push eax
push 0x48a018
call fcn.00424d50
jmp 0x426676
test bl, bl
je 0x4266a0
mov eax, dword [esp + 0x34]
cmp eax, ebp
jne 0x426683
mov eax, 0x47ca58
mov edx, dword [esp + 0x38]
lea ecx, [edx + edx + 2]
mov edx, dword [esp + 0x18]
push ecx
push eax
push 1
push ebp
push str.ExcludeExtensions
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
call fcn.004472d3
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
lea ecx, [esp + 0x34]
mov dword [esp + 0x4c], 0xffffffff
call fcn.00422400
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], ebp
push edx
push str.SOFTWAREESETESET_SecurityCurrentVersionScanners01010102Profiles
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x42699c
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push str._My_profile
push ecx
mov dword [esp + 0x24], ebp
call esi
test eax, eax
je 0x426723
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push str._My_profile
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x42698b
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x24]
push ecx
push ebp
push edx
push ebp
push str.ExcludeExtensions
push eax
mov dword [esp + 0x3c], 1
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0x1c]
shr eax, 1
lea ecx, [eax + eax + 2]
push ecx
call fcn.0044aeaf
mov edx, dword [esp + 0x20]
mov ebp, eax
xor eax, eax
mov edi, ebp
lea ecx, [edx + 2]
add esp, 4
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ebp
push ecx
push 0
push str.ExcludeExtensions
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x34]
mov byte [esp + 0x34], al
call fcn.00422400
push ebp
call fcn.0044b1a8
add esp, 4
mov esi, eax
lea ecx, [esp + 0x30]
push 1
push esi
call fcn.00422910
test al, al
je 0x4267e9
mov ecx, dword [esp + 0x34]
push esi
push ebp
push ecx
call fcn.00421840
mov edx, dword [esp + 0x40]
mov dword [esp + 0x44], esi
add esp, 0xc
mov word [edx + esi*2], 0
push ebp
mov dword [esp + 0x4c], 1
call fcn.0047461e
push ebp
xor bl, bl
call fcn.0044b1a8
add esp, 8
test eax, eax
jne 0x426854
push 0x489df4
call fcn.0044b1a8
mov esi, eax
add esp, 4
test esi, esi
jbe 0x426854
mov eax, dword [esp + 0x38]
push 0
lea ecx, [esp + 0x34]
lea edi, [eax + esi]
push edi
call fcn.00422910
test al, al
je 0x426854
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
push esi
push 0x489df4
lea eax, [ecx + edx*2]
push eax
call fcn.00421840
add esp, 0xc
lea ecx, [esp + 0x30]
push edi
call fcn.004228f0
push str.p2p
push ebp
call fcn.0044beea
add esp, 8
test eax, eax
jne 0x4268b6
push 0x48a030
call fcn.0044b1a8
mov esi, eax
add esp, 4
test esi, esi
jbe 0x4268b4
mov eax, dword [esp + 0x38]
push 0
lea ecx, [esp + 0x34]
lea edi, [eax + esi]
push edi
call fcn.00422910
test al, al
je 0x4268b4
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
push esi
push 0x48a030
lea eax, [ecx + edx*2]
push eax
call fcn.00421840
add esp, 0xc
lea ecx, [esp + 0x30]
push edi
call fcn.004228f0
mov bl, 1
push str.p2s
push ebp
call fcn.0044beea
add esp, 8
test eax, eax
jne 0x426918
push 0x48a018
call fcn.0044b1a8
mov esi, eax
add esp, 4
test esi, esi
jbe 0x42691c
mov eax, dword [esp + 0x38]
push 0
lea ecx, [esp + 0x34]
lea edi, [eax + esi]
push edi
call fcn.00422910
test al, al
je 0x42691c
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
push esi
push 0x48a018
lea eax, [ecx + edx*2]
push eax
call fcn.00421840
add esp, 0xc
lea ecx, [esp + 0x30]
push edi
call fcn.004228f0
jmp 0x42691c
test bl, bl
je 0x426947
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x426929
mov eax, 0x47ca58
mov ecx, dword [esp + 0x38]
lea edx, [ecx + ecx + 2]
push edx
push eax
mov eax, dword [esp + 0x20]
push 1
push 0
push str.ExcludeExtensions
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebp
call fcn.004472d3
mov ecx, dword [esp + 0x1c]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x48], 0xffffffff
test ecx, ecx
je 0x426989
mov al, byte [ecx - 1]
test al, al
je 0x42697d
cmp al, 0xff
je 0x42697d
dec al
mov byte [ecx - 1], al
jmp 0x426989
add ecx, 0xfffffffe
push ecx
call fcn.004472d3
add esp, 4
xor ebp, ebp
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebp
push eax
push str.SOFTWAREESETESET_SecurityCurrentVersionScanners01030200Profiles
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x426c48
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push str._My_profile
push edx
mov dword [esp + 0x24], ebp
call esi
test eax, eax
je 0x4269e7
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push str._My_profile
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x426c37
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x28]
push ebp
push ecx
push ebp
push str.ExcludeExtensions
push eax
mov dword [esp + 0x3c], 1
mov dword [esp + 0x34], ebp
call ebx
mov edx, dword [esp + 0x1c]
shr edx, 1
lea eax, [edx + edx + 2]
push eax
call fcn.0044aeaf
mov ecx, dword [esp + 0x20]
mov esi, eax
add ecx, 2
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push esi
push ecx
push ebp
push str.ExcludeExtensions
push edx
call ebx
mov al, byte [esp + 0x13]
push esi
mov byte [esp + 0x34], al
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
call fcn.0044b1a8
add esp, 4
lea ecx, [esp + 0x30]
push eax
push esi
call fcn.00424e10
push esi
mov dword [esp + 0x4c], 2
call fcn.0047461e
push esi
xor bl, bl
call fcn.0044b1a8
add esp, 8
test eax, eax
jne 0x426af6
push 0x489df4
call fcn.0044b1a8
mov ebp, eax
add esp, 4
test ebp, ebp
jbe 0x426af6
mov ecx, dword [esp + 0x38]
push 0
lea edi, [ecx + ebp]
lea ecx, [esp + 0x34]
push edi
call fcn.00422910
test al, al
je 0x426af6
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
push ebp
push 0x489df4
lea ecx, [edx + eax*2]
push ecx
call fcn.00421840
mov edx, dword [esp + 0x40]
mov dword [esp + 0x44], edi
add esp, 0xc
mov word [edx + edi*2], 0
push str.p2p
push esi
call fcn.0044beea
add esp, 8
test eax, eax
jne 0x426b61
push 0x48a030
call fcn.0044b1a8
mov edi, eax
add esp, 4
test edi, edi
jbe 0x426b5f
mov eax, dword [esp + 0x38]
push 0
lea ecx, [esp + 0x34]
lea ebx, [eax + edi]
push ebx
call fcn.00422910
test al, al
je 0x426b5f
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov ecx, 0x48a030
lea eax, [edx + eax*2]
mov dx, word [ecx]
add ecx, 2
mov word [eax], dx
add eax, 2
dec edi
jne 0x426b42
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], ebx
mov word [eax + ebx*2], 0
mov bl, 1
push str.p2s
push esi
call fcn.0044beea
add esp, 8
test eax, eax
jne 0x426bcc
push 0x48a018
call fcn.0044b1a8
mov edi, eax
add esp, 4
test edi, edi
jbe 0x426bd0
mov ecx, dword [esp + 0x38]
push 0
lea ebx, [ecx + edi]
lea ecx, [esp + 0x34]
push ebx
call fcn.00422910
test al, al
je 0x426bd0
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov ecx, 0x48a018
lea eax, [edx + eax*2]
mov dx, word [ecx]
add ecx, 2
mov word [eax], dx
add eax, 2
dec edi
jne 0x426bad
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], ebx
mov word [eax + ebx*2], 0
jmp 0x426bd0
test bl, bl
je 0x426bfb
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x426bdd
mov eax, 0x47ca58
mov ecx, dword [esp + 0x38]
lea edx, [ecx + ecx + 2]
push edx
push eax
mov eax, dword [esp + 0x20]
push 1
push 0
push str.ExcludeExtensions
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
call fcn.004472d3
mov ecx, dword [esp + 0x1c]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x426c35
mov al, byte [ecx - 1]
test al, al
je 0x426c29
cmp al, 0xff
je 0x426c29
dec al
mov byte [ecx - 1], al
jmp 0x426c35
add ecx, 0xfffffffe
push ecx
call fcn.004472d3
add esp, 4
xor ebp, ebp
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebp
push eax
push str.SOFTWAREESETNodCurrentVersionModulesImonSettingsConfig000Settings
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x426cbf
lea ecx, [esp + 0x28]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x30]
push edx
push eax
push ebp
mov esi, 4
push str.http_enable
push ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x38], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [esp + 0x20], ebp
je 0x426cb4
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push esi
push edx
push esi
push ebp
push str.http_enable
push eax
mov dword [esp + 0x38], ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret