Function at 0x1001ff20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x420
mov eax, dword [0x10048440]
xor eax, esp
mov dword [esp + 0x41c], eax
mov ecx, dword [esp + 0x428]
mov eax, dword [esp + 0x424]
mov edx, dword [esp + 0x42c]
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0x3fe
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x444]
lea ecx, [esp + 0x32]
push ebp
push ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ebp
mov word [esp + 0x38], bp
call fcn.10028cf0
add esp, 0xc
mov dword [esp + 0x18], ebp
xor eax, eax
jmp 0x1001ff90
movzx ecx, word [eax + str.SoftwareSoftland]
mov word [esp + eax + 0x2c], cx
add eax, 2
cmp cx, bp
jne 0x1001ff90
lea edi, [esp + 0x2c]
add edi, 0xfffffffe
jmp 0x1001ffb0
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x1001ffb0
mov ebx, dword [0x1003de30]
mov eax, 0x100497e4
mov dword [edi], ebx
mov edx, eax
jmp 0x1001ffd0
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x1001ffd0
lea edi, [esp + 0x2c]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bp
jne 0x1001ffe4
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x2c]
add edi, 0xfffffffe
jmp 0x10020010
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x10020010
mov eax, str.Printers
mov dword [edi], ebx
mov edx, eax
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x10020025
lea edi, [esp + 0x2c]
sub eax, edx
add edi, 0xfffffffe
lea esp, [esp]
mov cx, word [edi + 2]
add edi, 2
cmp cx, bp
jne 0x10020040
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x2c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x10020063
lea eax, [esp + 0x2c]
mov dword [edi], ebx
lea edx, [eax + 2]
jmp 0x10020080
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x10020080
mov ecx, dword [esp + 0x10]
sub eax, edx
sar eax, 1
mov esi, ecx
mov dx, word [ecx]
add ecx, 2
cmp dx, bp
jne 0x10020095
sub ecx, esi
lea edi, [esp + 0x2c]
mov edx, ecx
add edi, 0xfffffffe
jmp 0x100200b0
mov cx, word [edi + 2]
add edi, 2
cmp cx, bp
jne 0x100200b0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + eax*2 + 0x2c]
and ecx, 3
push 0x2c
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.1001feb0
lea edi, [esp + 0x34]
add esp, 8
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x100200e0
mov edx, dword [0x1003de30]
lea eax, [esp + 0x2c]
mov dword [edi], edx
add eax, 0xfffffffe
jmp 0x10020100
mov cx, word [eax + 2]
add eax, 2
cmp cx, bp
jne 0x10020100
mov ecx, dword [str.Profiles]
mov dword [eax], ecx
mov ecx, dword [0x1003e320]
mov dword [eax + 4], ecx
mov ecx, dword [0x1003e324]
mov dword [eax + 8], ecx
mov ecx, dword [0x1003e328]
mov dword [eax + 0xc], ecx
mov cx, word [0x1003e32c]
mov word [eax + 0x10], cx
mov ecx, dword [esp + 0x28]
cmp ecx, ebp
je 0x10020192
lea edi, [esp + 0x2c]
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x10020150
mov eax, ecx
mov dword [edi], edx
mov edx, eax
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x10020162
lea edi, [esp + 0x2c]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bp
jne 0x10020176
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edx, [esp + 0x14]
push edx
push 0x20019
push ebp
lea eax, [esp + 0x38]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10020266
mov edi, dword [esp + 0x20]
mov edx, dword [edi]
mov ebx, dword [esp + 0x24]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push ebp
push ebx
push ecx
call esi
cmp dword [esp + 0x10], 1
jne 0x10020252
cmp eax, ebp
je 0x10020207
cmp eax, 0xea
je 0x10020207
mov ecx, dword [esp + 0x14]
xor edx, edx
cmp eax, 2
setne dl
push ecx
add edx, 0xfffffffe
mov esi, edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1002026b
mov eax, dword [esp + 0x18]
cmp eax, ebp
jbe 0x1002023f
push eax
call fcn.1002893e
add esp, 4
lea ecx, [esp + 0x18]
push ecx
push eax
lea edx, [esp + 0x18]
push edx
push ebp
mov dword [edi], eax
mov eax, dword [esp + 0x24]
push ebx
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
mov esi, ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1002026b
mov ecx, dword [esp + 0x14]
push ecx
mov dword [edi], ebp
mov esi, ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1002026b
mov ecx, dword [esp + 0x14]
push ecx
mov esi, 0xfffffffb
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1002026b
mov eax, 0xfffffffd
mov ecx, dword [esp + 0x42c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10028cdf
add esp, 0x420
ret