Function at 0x1009d230
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x22a4
call fcn.100e0230
mov eax, dword [0x10100008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x38
push str.Local_SettingsSoftwareMicrosoftWindowsShellMuiCache
lea ecx, [ebp - 0x2250]
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x223c], 0xf
mov byte [ebp - 0x2250], 0
call fcn.100b2fb0
cmp dword [ebp - 0x223c], 0x10
lea ecx, [ebp - 0x2288]
push ecx
push 0x20019
lea eax, [ebp - 0x2250]
cmovae eax, dword [ebp - 0x2250]
push 0
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1009d65e
push 0x208
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.100c1720
add esp, 0xc
mov dword [ebp - 0x2238], 0x104
lea eax, [ebp - 0x2284]
mov dword [ebp - 0x2234], 0
mov dword [ebp - 0x2214], 0x1000
push eax
lea eax, [ebp - 0x226c]
push eax
lea eax, [ebp - 0x2270]
push eax
lea eax, [ebp - 0x2274]
push eax
lea eax, [ebp - 0x2218]
push eax
lea eax, [ebp - 0x2278]
push eax
lea eax, [ebp - 0x227c]
push eax
lea eax, [ebp - 0x2234]
push eax
push 0
lea eax, [ebp - 0x2238]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x2288]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [ebp - 0x2218]
test eax, eax
je 0x1009d652
xor ebx, ebx
test eax, eax
je 0x1009d652
nop dword [eax]
xor eax, eax
mov dword [ebp - 0x2214], 0x1000
push eax
push eax
push eax
push eax
mov word [ebp - 0x2210], ax
lea eax, [ebp - 0x2214]
push eax
lea eax, [ebp - 0x2210]
push eax
push ebx
push dword [ebp - 0x2288]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1009d645
mov dword [ebp - 0x2258], eax
mov word [ebp - 0x2268], ax
lea eax, [ebp - 0x2210]
mov dword [ebp - 0x2254], 7
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1009d3b0
sub eax, edx
lea ecx, [ebp - 0x2268]
sar eax, 1
push eax
lea eax, [ebp - 0x2210]
push eax
call fcn.100b2d20
cmp dword [ebp - 0x2254], 8
lea ecx, [ebp - 0x2268]
mov eax, dword [ebp - 0x2258]
cmovae ecx, dword [ebp - 0x2268]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x2268]
cmovae ecx, dword [ebp - 0x2268]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x2230]
call fcn.100b3a00
cmp dword [ebp - 0x2220], 0
je 0x1009d46a
lea edx, [ebp - 0x2230]
lea ecx, [ebp - 0x22a0]
call fcn.10096730
push eax
lea ecx, [ebp - 0x2230]
call fcn.100b2760
mov edx, dword [ebp - 0x228c]
cmp edx, 0x10
jb 0x1009d46a
mov ecx, dword [ebp - 0x22a0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009d460
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009d6f0
push edx
push ecx
call fcn.100bede4
add esp, 8
mov eax, dword [ebp - 0x2220]
lea ecx, [ebp - 0x22a0]
inc eax
mov dword [ebp - 0x2290], 0
push eax
mov dword [ebp - 0x228c], 0xf
mov byte [ebp - 0x22a0], 0
call fcn.100b5970
cmp dword [ebp - 0x221c], 0x10
lea ecx, [ebp - 0x2230]
mov esi, dword [ebp - 0x228c]
mov eax, esi
cmovae ecx, dword [ebp - 0x2230]
mov edi, dword [ebp - 0x2220]
mov edx, dword [ebp - 0x2290]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x1009d4f3
lea eax, [edx + edi]
cmp esi, 0x10
mov dword [ebp - 0x2290], eax
lea eax, [ebp - 0x22a0]
cmovae eax, dword [ebp - 0x22a0]
lea esi, [eax + edx]
push esi
call fcn.100c22c0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x1009d50c
mov byte [ebp - 0x22a4], 0
lea ecx, [ebp - 0x22a0]
push dword [ebp - 0x22a4]
push edi
call fcn.100b4450
push 0x100fb2f4
lea ecx, [ebp - 0x22a0]
call fcn.100b26a0
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.100b2820
sub esp, 0x18
lea ecx, [ebp - 0x22a0]
mov esi, esp
push str.Psiprofilesdefault_accounts.xml
call fcn.100b26a0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.1009bba0
mov edx, dword [ebp - 0x228c]
add esp, 0x30
cmp edx, 0x10
jb 0x1009d5b0
mov ecx, dword [ebp - 0x22a0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009d5a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009d6f0
push edx
push ecx
call fcn.100bede4
add esp, 8
mov edx, dword [ebp - 0x221c]
cmp edx, 0x10
jb 0x1009d5ea
mov ecx, dword [ebp - 0x2230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009d5e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009d6f0
push edx
push ecx
call fcn.100bede4
add esp, 8
mov edx, dword [ebp - 0x2254]
mov dword [ebp - 0x2220], 0
mov dword [ebp - 0x221c], 0xf
mov byte [ebp - 0x2230], 0
cmp edx, 8
jb 0x1009d645
mov ecx, dword [ebp - 0x2268]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009d63b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009d6f0
push edx
push ecx
call fcn.100bede4
add esp, 8
inc ebx
cmp ebx, dword [ebp - 0x2218]
jb 0x1009d350
push dword [ebp - 0x2288]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x223c]
cmp edx, 0x10
jb 0x1009d694
mov ecx, dword [ebp - 0x2250]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009d68a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009d6f0
push edx
push ecx
call fcn.100bede4
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x223c], 0xf
mov byte [ebp - 0x2250], 0
cmp edx, 0x10
jb 0x1009d6df
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009d6d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009d6f0
push edx
push ecx
call fcn.100bede4
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100be889
mov esp, ebp
pop ebp
ret
call fcn.100cb7f0
int3