Function at 0x100015d0
Capabilities:
Query or enumerate registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x10009126
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x244
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x55]
mov byte [esp + 0x54], bl
mov dword [esp + 0x30], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x28]
mov dword [esp + 0x24], 0x200
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x2c]
push ebx
push ebx
push ebx
lea eax, [esp + 0x64]
push edx
push eax
push ebx
push ecx
mov dword [esp + 0x54], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, ebx
jne 0x1000199d
mov dx, word [0x1000c134]
push ebx
mov word [esp + 0x16], dx
mov al, byte [esp + 0x16]
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c], 1
mov byte [esp + 0x18], al
call fcn.10001b10
mov edi, str.Softw
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
call fcn.10001d20
test al, al
je 0x100016c0
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
mov esi, str.Softw
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.10001d00
mov edi, str.areMicr
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x25c], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.areMicr
lea ecx, [esp + 0x1c]
call fcn.10001c40
mov edi, str.osoftWin
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.osoftWin
lea ecx, [esp + 0x1c]
call fcn.10001c40
mov edi, str.dowsCurrentVe
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.dowsCurrentVe
lea ecx, [esp + 0x1c]
call fcn.10001c40
mov edi, str.rsionEx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.rsionEx
lea ecx, [esp + 0x1c]
call fcn.10001c40
mov edi, str.tSet
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
mov eax, dword [0x1000a138]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x10001764
call fcn.10001f8b
cmp esi, ebx
jbe 0x100017a8
mov ecx, dword [esp + 0x1c]
push ebx
lea ebp, [ecx + esi]
lea ecx, [esp + 0x18]
push ebp
call fcn.10001d20
test al, al
je 0x100017a8
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, esi
mov esi, str.tSet
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.10001d00
mov edi, str.tings_
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
mov eax, dword [0x1000a138]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x100017cd
call fcn.10001f8b
cmp esi, ebx
jbe 0x10001811
mov eax, dword [esp + 0x1c]
push ebx
lea ecx, [esp + 0x18]
lea ebp, [eax + esi]
push ebp
call fcn.10001d20
test al, al
je 0x10001811
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push ebp
lea edi, [edx + ecx]
mov ecx, esi
mov eax, ecx
mov esi, str.tings_
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.10001d00
mov cl, byte [esp + 0x12]
push ebx
mov byte [esp + 0x3c], cl
lea ecx, [esp + 0x3c]
call fcn.10001b10
lea edi, [esp + 0x54]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x3c]
push ebp
call fcn.10001d20
test al, al
je 0x10001866
mov edi, dword [esp + 0x3c]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x54]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x40], ebp
mov byte [eax + ebp], bl
mov ecx, dword [0x1000a138]
lea edx, [esp + 0x38]
push ecx
push ebx
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x268], 1
call fcn.10001b60
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x10001891
mov eax, 0x1000a134
lea ecx, [esp + 0x2c]
push ecx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov eax, dword [esp + 0x2c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea edx, [esp + 0x48]
push 4
push edx
push 4
push ebx
push str.Flags
push eax
call esi
lea edi, [esp + 0x12]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x2c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x16]
push ecx
push 1
push ebx
push str.Version
push edx
call esi
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x10001911
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x10001908
cmp al, 0xff
je 0x10001908
dec al
mov byte [ecx], al
jmp 0x10001911
push ecx
call fcn.10001f80
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], ebx
cmp ecx, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x25c], 0xffffffff
je 0x1000194c
mov al, byte [ecx - 1]
cmp al, bl
je 0x10001942
cmp al, 0xff
je 0x10001942
dec al
mov byte [ecx - 1], al
jmp 0x1000194c
dec ecx
push ecx
call fcn.10001f80
add esp, 4
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], ebx
inc eax
mov dword [esp + 0x1c], ebx
cmp eax, 0x14
mov dword [esp + 0x20], ebx
mov dword [esp + 0x34], eax
jg 0x1000199d
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x4c]
push ecx
push ebx
push ebx
lea edx, [esp + 0x30]
push ebx
lea ecx, [esp + 0x64]
inc eax
push edx
mov edx, dword [esp + 0x3c]
push ecx
push eax
push edx
mov dword [esp + 0x44], 0x200
mov dword [esp + 0x50], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x10001656
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x254]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x250
ret