Function at 0x1000a9f0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x161c
call fcn.1000daf0
mov eax, dword [0x1002c5e8]
xor eax, esp
mov dword [esp + 0x1618], eax
mov eax, dword [esp + 0x1620]
push ebx
push ebp
xor ebx, ebx
push 0x3ff
lea ecx, [esp + 0x225]
push ebx
push ecx
mov dword [esp + 0x24], eax
mov byte [esp + 0x22c], bl
call fcn.1000d490
push 0x1ff
lea edx, [esp + 0x31]
push ebx
push edx
mov byte [esp + 0x38], bl
call fcn.1000d490
push 0x800
lea eax, [esp + 0xa3c]
push ebx
push eax
call fcn.1000d490
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 0x24
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerDesktopNameSpace
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
je 0x1000aa95
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x1618]
xor ecx, esp
call fcn.1000cff2
add esp, 0x161c
ret
push edi
push 0x800
lea edx, [esp + 0xa28]
push ebx
push edx
call fcn.1000d490
push 0x400
lea eax, [esp + 0x234]
push ebx
push eax
call fcn.1000d490
push 0x200
lea ecx, [esp + 0x40]
push ebx
push ecx
call fcn.1000d490
lea edi, [esp + 0x248]
add esp, 0x24
add edi, 0xffffffff
lea esp, [esp]
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x1000aae0
mov eax, dword [esp + 0x10]
push esi
mov ecx, 0x11
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerDesktopNameSpace_
rep movsd dword es:[edi], dword [esi]
push 0x1ff
lea edx, [esp + 0x2c]
push edx
push ebx
push eax
movsw word es:[edi], word [esi]
mov dword [esp + 0x2c], 1
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x1000ae93
nop
lea eax, [esp + 0x28]
mov esi, eax
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1000ab26
lea edi, [esp + 0x228]
sub eax, esi
add edi, 0xffffffff
jmp 0x1000ab40
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x1000ab40
mov ecx, eax
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 + 0x10]
push ecx
push 0x20019
push ebx
lea edx, [esp + 0x234]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x1000ae0d
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0xa2c]
push ecx
push 0x1002545e
push edx
mov dword [esp + 0x28], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x800
lea ecx, [esp + 0xa2c]
push ebx
push ecx
call fcn.1000d490
push 0x400
lea edx, [esp + 0x238]
push ebx
push edx
call fcn.1000d490
add esp, 0x18
lea eax, [esp + 0x10]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerDesktopNameSpace
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x1000ae0d
lea eax, [esp + 0x28]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1000ac00
lea ecx, [esp + 0x28]
sub eax, edx
sub ecx, 1
cmp byte [ecx + eax], 0x22
jne 0x1000ac2e
lea eax, [esp + 0x28]
lea esi, [eax + 1]
nop
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x1000ac20
sub eax, esi
mov byte [ecx + eax], bl
lea eax, [esp + 0x228]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
cmp cl, bl
jne 0x1000ac38
mov ecx, dword [str.CLSID_]
mov dx, word [0x100257c0]
mov dword [eax], ecx
mov cl, byte [0x100257c2]
mov word [eax + 4], dx
mov byte [eax + 6], cl
lea eax, [esp + 0x28]
mov edx, eax
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1000ac64
lea edi, [esp + 0x228]
sub eax, edx
add edi, 0xffffffff
lea esp, [esp]
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x1000ac80
mov ecx, eax
shr ecx, 2
mov esi, edx
mov edx, dword [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edi, [esp + 0x228]
add edi, 0xffffffff
nop
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x1000acb0
lea eax, [esp + 0x10]
push eax
push 0x20019
mov ecx, 7
mov esi, str._shellOpenHomePageCommand
rep movsd dword es:[edi], dword [esi]
push ebx
lea ecx, [esp + 0x234]
push ecx
push SysReAllocString
call ebp
test eax, eax
jne 0x1000ae0d
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0xa2c]
push eax
push 0x1002545e
push ecx
mov dword [esp + 0x28], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0xa28]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1000ad22
sub eax, edx
cmp eax, 0xc
jbe 0x1000ae0d
lea eax, [esp + 0xa28]
push str.iexplore.exe
push eax
call fcn.10009cd0
add esp, 8
cmp eax, 0xffffffff
je 0x1000ae0d
push 0x3ff
lea ecx, [esp + 0x62d]
push ebx
push ecx
mov byte [esp + 0x634], bl
call fcn.1000d490
push 0x3ff
lea edx, [esp + 0x1239]
push ebx
push edx
mov byte [esp + 0x1240], bl
call fcn.1000d490
mov ecx, dword [esp + 0x38]
push 0x400
push str..exe
lea eax, [esp + 0x648]
push eax
push ecx
call fcn.10009d50
add esp, 0x28
test eax, eax
je 0x1000ae0d
push 0x400
push str.iexplore.exe
lea edx, [esp + 0x1230]
push edx
lea eax, [esp + 0xa34]
push eax
call fcn.10009d50
add esp, 0x10
test eax, eax
je 0x1000ae0d
lea eax, [esp + 0x628]
lea edx, [eax + 1]
jmp 0x1000ade0
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1000ade0
sub eax, edx
je 0x1000ae0d
lea ecx, [esp + 0x1228]
push ecx
lea edx, [esp + 0x62c]
push edx
call fcn.1002183a
add esp, 8
test eax, eax
je 0x1000aea2
push 0x800
lea eax, [esp + 0xa2c]
push ebx
push eax
call fcn.1000d490
push 0x400
lea ecx, [esp + 0x238]
push ebx
push ecx
call fcn.1000d490
push 0x200
lea edx, [esp + 0x44]
push ebx
push edx
call fcn.1000d490
lea edi, [esp + 0x24c]
add esp, 0x24
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x1000ae50
mov edx, dword [esp + 0x14]
mov ecx, 0x11
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerDesktopNameSpace_
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x1c]
mov eax, ecx
add ecx, 1
push 0x1ff
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x2c]
push ecx
push eax
push edx
movsw word es:[edi], word [esi]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x1000ab20
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x1000aeaf
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [esp + 0x1628]
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000cff2
add esp, 0x161c
ret