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

Disassembly:
mov eax, 0x161c
call fcn.1000e040
mov eax, dword [0x1002c5e8]
xor eax, esp
mov dword [esp + 0x1618], eax
mov eax, dword [esp + 0x1620]
push ebx
xor ebx, ebx
push 0x3ff
lea ecx, [esp + 0x221]
push ebx
push ecx
mov dword [esp + 0x20], eax
mov byte [esp + 0x228], bl
call fcn.1000d9e0
push 0x1ff
lea edx, [esp + 0x2d]
push ebx
push edx
mov byte [esp + 0x34], bl
call fcn.1000d9e0
push 0x800
lea eax, [esp + 0xa38]
push ebx
push eax
call fcn.1000d9e0
add esp, 0x24
lea ecx, [esp + 8]
push ecx
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerDesktopNameSpace
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1000a4f1
xor al, al
pop ebx
mov ecx, dword [esp + 0x1618]
xor ecx, esp
call fcn.1000d542
add esp, 0x161c
ret
push edi
push 0x800
lea edx, [esp + 0xa24]
push ebx
push edx
call fcn.1000d9e0
push 0x400
lea eax, [esp + 0x230]
push ebx
push eax
call fcn.1000d9e0
push 0x200
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.1000d9e0
lea edi, [esp + 0x244]
add esp, 0x24
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x1000a535
mov eax, dword [esp + 0xc]
push ebp
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
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x1000a923
jmp 0x1000a580
lea eax, [esp + 0x28]
mov esi, eax
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1000a586
lea edi, [esp + 0x228]
sub eax, esi
add edi, 0xffffffff
jmp 0x1000a5a0
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x1000a5a0
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]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push ebx
lea edx, [esp + 0x234]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x1000a89d
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0xa2c]
push ecx
push 0x100254be
push edx
mov dword [esp + 0x28], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov eax, dword [esp + 0x10]
push eax
call ebp
push 0x800
lea ecx, [esp + 0xa2c]
push ebx
push ecx
call fcn.1000d9e0
push 0x400
lea edx, [esp + 0x238]
push ebx
push edx
call fcn.1000d9e0
add esp, 0x18
lea eax, [esp + 0x10]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerDesktopNameSpace
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x1000a89d
lea eax, [esp + 0x28]
lea edx, [eax + 1]
jmp 0x1000a660
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1000a660
lea ecx, [esp + 0x28]
sub eax, edx
sub ecx, 1
cmp byte [ecx + eax], 0x22
jne 0x1000a68e
lea eax, [esp + 0x28]
lea esi, [eax + 1]
nop
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x1000a680
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 0x1000a698
mov ecx, dword [str.SOFTWAREClassesCLSID_]
mov edx, dword [0x10025dc4]
mov dword [eax], ecx
mov ecx, dword [0x10025dc8]
mov dword [eax + 4], edx
mov edx, dword [0x10025dcc]
mov dword [eax + 8], ecx
mov ecx, dword [0x10025dd0]
mov dword [eax + 0xc], edx
mov edx, dword [0x10025dd4]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
lea eax, [esp + 0x28]
mov edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1000a6e0
lea edi, [esp + 0x228]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x1000a6f5
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
lea eax, [esp + 0x228]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
cmp cl, bl
jne 0x1000a720
mov ecx, dword [str.ShellOpenCommand]
mov edx, dword [0x10025db0]
mov dword [eax], ecx
mov ecx, dword [0x10025db4]
mov dword [eax + 4], edx
mov edx, dword [0x10025db8]
mov dword [eax + 8], ecx
mov ecx, dword [0x10025dbc]
mov dword [eax + 0xc], edx
lea edx, [esp + 0x10]
mov dword [eax + 0x10], ecx
push edx
lea eax, [esp + 0x22c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1000a89d
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0xa2c]
push edx
push 0x100254be
push eax
mov dword [esp + 0x28], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x10]
push ecx
call ebp
lea eax, [esp + 0xa28]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1000a7b0
sub eax, edx
cmp eax, 0xc
jbe 0x1000a89d
lea edx, [esp + 0xa28]
push str.iexplore.exe
push edx
call fcn.1000a120
add esp, 8
cmp eax, 0xffffffff
je 0x1000a89d
push 0x3ff
lea eax, [esp + 0x62d]
push ebx
push eax
mov byte [esp + 0x634], bl
call fcn.1000d9e0
push 0x3ff
lea ecx, [esp + 0x1239]
push ebx
push ecx
mov byte [esp + 0x1240], bl
call fcn.1000d9e0
mov eax, dword [esp + 0x38]
push 0x400
push str..exe
lea edx, [esp + 0x648]
push edx
push eax
call fcn.1000a1a0
add esp, 0x28
test eax, eax
je 0x1000a89d
push 0x400
push str.iexplore.exe
lea ecx, [esp + 0x1230]
push ecx
lea edx, [esp + 0xa34]
push edx
call fcn.1000a1a0
add esp, 0x10
test eax, eax
je 0x1000a89d
lea eax, [esp + 0x628]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1000a870
sub eax, edx
je 0x1000a89d
lea eax, [esp + 0x1228]
push eax
lea ecx, [esp + 0x62c]
push ecx
call fcn.10021d7a
add esp, 8
test eax, eax
je 0x1000a92e
push 0x800
lea edx, [esp + 0xa2c]
push ebx
push edx
call fcn.1000d9e0
push 0x400
lea eax, [esp + 0x238]
push ebx
push eax
call fcn.1000d9e0
push 0x200
lea ecx, [esp + 0x44]
push ebx
push ecx
call fcn.1000d9e0
lea edi, [esp + 0x24c]
add esp, 0x24
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x1000a8e0
mov ecx, 0x11
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerDesktopNameSpace_
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x1c]
push 0x1ff
mov eax, ecx
lea edx, [esp + 0x2c]
push edx
push eax
mov eax, dword [esp + 0x20]
add ecx, 1
push eax
movsw word es:[edi], word [esi]
mov dword [esp + 0x2c], ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x1000a580
mov ecx, dword [esp + 0x14]
push ecx
call ebp
xor al, al
jmp 0x1000a937
mov edx, dword [esp + 0x14]
push edx
call ebp
mov al, 1
mov ecx, dword [esp + 0x1628]
pop esi
pop ebp
pop edi
pop ebx
xor ecx, esp
call fcn.1000d542
add esp, 0x161c
ret