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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x294d0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x80], ax
push ebx
push esi
push edi
lea edi, [ebp - 0x7e]
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x90], ax
lea edi, [ebp - 0x8e]
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov esi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov word [ebp - 0xa4], ax
lea edi, [ebp - 0xa2]
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x58], ax
lea edi, [ebp - 0x56]
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x60], ax
lea edi, [ebp - 0x5e]
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x22ac6
lea eax, [ebp - 0x80]
push eax
call esi
push 0x22b5e
lea eax, [ebp - 0x90]
push eax
call esi
push 0x256f8
lea eax, [ebp - 0xa4]
push eax
call esi
mov edi, 0x400
mov esi, 0x4d746147
mov eax, edi
push esi
push edi
mov word [ebp - 0x58], ax
mov word [ebp - 0x56], ax
call fcn.0001457a
push eax
call fcn.000123d2
xor ebx, ebx
mov dword [ebp - 0x54], eax
cmp eax, ebx
jne 0x1f1dc
xor al, al
jmp 0x1f6dc
mov eax, edi
push esi
push edi
mov word [ebp - 0x60], ax
mov word [ebp - 0x5e], ax
call fcn.0001457a
push eax
call fcn.000123d2
mov dword [ebp - 0x5c], eax
cmp eax, ebx
jne 0x1f205
push esi
push dword [ebp - 0x54]
call fcn.000124d0
jmp 0x1f1d5
mov edi, dword [sym.imp.ntoskrnl.exe_RtlCopyUnicodeString]
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x58]
push eax
call edi
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x60]
push eax
call edi
push 0x38
lea eax, [ebp - 0x114]
push ebx
push eax
call sub.ntoskrnl.exe_memset
add esp, 0xc
push 4
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x108], eax
pop eax
mov dword [ebp - 0x104], eax
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0xac]
mov dword [ebp - 0x100], eax
xor eax, eax
lea edi, [ebp - 0xd8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0xdc]
push eax
push 0x20019
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0x110], 0x20
mov dword [ebp - 0x10c], 0x22ab4
mov dword [ebp - 0xdc], 0x18
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xd0], 0x240
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0x4c], ebx
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
jl 0x1f6b5
mov edi, dword [sym.imp.ntoskrnl.exe_ZwQueryKey]
lea eax, [ebp - 0x48]
push eax
push ebx
push ebx
push 2
push dword [ebp - 0x4c]
mov dword [ebp - 0x48], ebx
call edi
cmp eax, ebx
jge 0x1f326
cmp eax, 0x80000005
je 0x1f326
cmp eax, 0xc0000023
je 0x1f326
push esi
push dword [ebp - 0x54]
call fcn.000124d0
push esi
push dword [ebp - 0x5c]
mov dword [ebp - 0x54], ebx
call fcn.000124d0
push dword [ebp - 0x4c]
mov dword [ebp - 0x5c], ebx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x1f1d5
cmp dword [ebp - 0x48], ebx
je 0x1f300
cmp dword [ebp - 0x48], 0x400
ja 0x1f300
push 0x504649
push dword [ebp - 0x48]
call fcn.0001457a
push eax
call fcn.000123d2
mov dword [ebp - 0x70], eax
cmp eax, ebx
je 0x1f300
lea ecx, [ebp - 0x48]
push ecx
push dword [ebp - 0x48]
push eax
push 2
push dword [ebp - 0x4c]
call edi
test eax, eax
jl 0x1f6eb
cmp dword [ebp - 0x48], ebx
je 0x1f6eb
mov eax, dword [ebp - 0x70]
mov byte [ebp - 0x4d], bl
mov dword [ebp - 0x64], ebx
cmp dword [eax + 0x14], ebx
jbe 0x1f69b
lea eax, [ebp - 0x48]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x64]
push dword [ebp - 0x4c]
call dword [sym.imp.ntoskrnl.exe_ZwEnumerateKey]
cmp eax, ebx
jge 0x1f3a9
cmp eax, 0x80000005
je 0x1f3a9
cmp eax, 0xc0000023
jne 0x1f69b
cmp dword [ebp - 0x48], ebx
je 0x1f69b
cmp dword [ebp - 0x48], 0x400
ja 0x1f69b
push 0x504249
push dword [ebp - 0x48]
call fcn.0001457a
push eax
call fcn.000123d2
mov edi, eax
mov dword [ebp - 0x78], edi
cmp edi, ebx
je 0x1f69b
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
push edi
push ebx
push dword [ebp - 0x64]
push dword [ebp - 0x4c]
call dword [sym.imp.ntoskrnl.exe_ZwEnumerateKey]
test eax, eax
jl 0x1f690
cmp dword [ebp - 0x48], ebx
je 0x1f690
mov ax, word [edi + 0xc]
mov word [ebp - 0x98], ax
mov cx, word [edi + 0xc]
mov word [ebp - 0x96], cx
lea ecx, [edi + 0x10]
mov dword [ebp - 0x94], ecx
cmp ax, 0x14
jbe 0x1f64f
mov edi, dword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x58]
push eax
call edi
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x60]
push eax
call edi
push ebx
push ebx
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x5c]
push ebx
call dword [sym.imp.ntoskrnl.exe_RtlQueryRegistryValues]
cmp word [ebp - 0x60], bx
je 0x1f64c
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x58]
push eax
call edi
xor eax, eax
lea edi, [ebp - 0xc0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0xc4]
push eax
push 0x20019
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0xc4], 0x18
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xb8], 0x240
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb0], ebx
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
jl 0x1f64c
mov edi, dword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
push 0xe
pop eax
push 0x10
mov word [ebp - 0x88], ax
pop eax
mov word [ebp - 0x86], ax
lea eax, [ebp - 0x6c]
push eax
push ebx
push ebx
push 2
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 0x68]
mov dword [ebp - 0x84], 0x25740
mov dword [ebp - 0x6c], ebx
call edi
cmp eax, ebx
jge 0x1f52d
cmp eax, 0x80000005
je 0x1f52d
cmp eax, 0xc0000023
je 0x1f52d
mov byte [0x18b7fdc], bl
jmp 0x1f643
cmp dword [ebp - 0x6c], ebx
jne 0x1f53e
mov byte [0x18b7fdc], 1
jmp 0x1f643
push 0x52454749
push dword [ebp - 0x6c]
mov byte [0x18b7fdc], bl
mov byte [ebp - 0x4d], 1
call fcn.0001457a
push eax
call fcn.000123d2
mov dword [ebp - 0x74], eax
cmp eax, ebx
je 0x1f643
lea ecx, [ebp - 0x9c]
push ecx
push dword [ebp - 0x6c]
mov dword [ebp - 0x9c], ebx
push eax
push 2
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 0x68]
call edi
test eax, eax
jl 0x1f636
mov esi, 0x25736
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor eax, eax
lea edi, [ebp - 0x1a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
push 7
mov word [ebp - 0x44], ax
pop ecx
lea edi, [ebp - 0x42]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x24]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x1f5bb
sub eax, edx
mov edx, dword [ebp - 0x74]
mov ecx, dword [edx + 8]
sar eax, 1
add eax, eax
cmp ecx, eax
jb 0x1f618
cmp ecx, 0xe
jbe 0x1f5dd
push 0xe
pop ecx
push ecx
add edx, 0xc
push edx
lea eax, [ebp - 0x44]
push eax
call sub.ntoskrnl.exe_memcpy
lea eax, [ebp - 0x24]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x1f5f4
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x24]
push ecx
add eax, eax
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00011e1c
test eax, eax
je 0x1f631
jmp 0x1f62a
cmp ecx, ebx
je 0x1f62a
cmp ecx, 2
jb 0x1f631
mov eax, dword [ebp - 0x74]
cmp word [eax + 0xc], bx
jne 0x1f631
mov byte [0x18b7fdc], 1
mov esi, 0x4d746147
push 0x52454749
push dword [ebp - 0x74]
call fcn.000124d0
push dword [ebp - 0x68]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov edi, dword [ebp - 0x78]
push 0x504249
push edi
call fcn.000124d0
mov edi, dword [sym.imp.ntoskrnl.exe_RtlCopyUnicodeString]
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x58]
push eax
call edi
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x60]
push eax
call edi
cmp byte [ebp - 0x4d], bl
jne 0x1f69b
inc dword [ebp - 0x64]
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [eax + 0x14]
jb 0x1f380
jmp 0x1f69b
push 0x504249
push edi
call fcn.000124d0
push 0x504649
push dword [ebp - 0x70]
call fcn.000124d0
push dword [ebp - 0x4c]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
or dword [ebp - 0x4c], 0xffffffff
cmp word [ebp - 0x58], bx
jbe 0x1f6d3
push esi
push dword [ebp - 0x54]
call fcn.000124d0
cmp word [ebp - 0x58], bx
jbe 0x1f6d3
push esi
push dword [ebp - 0x5c]
call fcn.000124d0
cmp byte [0x18b7fdc], bl
sete al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.000223b6
leave
ret
push 0x504649
push dword [ebp - 0x70]
call fcn.000124d0
jmp 0x1f300