Function at 0x11900
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x26158
push 0x25444
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffa4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x19], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], 0x18
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x38]
push ecx
push 0x20019
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
jne 0x11b19
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x3d], 1
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
cmp eax, 0x3e7
jg 0x11b0f
movzx edx, byte [ebp - 0x3d]
test edx, edx
je 0x11b0f
mov dword [ebp - 0x5c], 0
mov byte [ebp - 0x3d], 0
mov word [ebp - 0x58], 0x44
mov word [ebp - 0x56], 0x4c
mov word [ebp - 0x54], 0x4c
mov word [ebp - 0x52], 0x20
mov eax, dword [ebp - 0x3c]
cdq
mov ecx, 0x64
idiv ecx
add eax, 0x30
mov word [ebp - 0x50], ax
mov eax, dword [ebp - 0x3c]
cdq
mov ecx, 0x64
idiv ecx
mov eax, edx
cdq
mov ecx, 0xa
idiv ecx
add eax, 0x30
mov word [ebp - 0x4e], ax
mov eax, dword [ebp - 0x3c]
cdq
mov ecx, 0xa
idiv ecx
add edx, 0x30
mov word [ebp - 0x4c], dx
mov word [ebp - 0x4a], 0
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea ecx, [ebp - 0x5c]
push ecx
push 0
push 0
push 2
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
cmp dword [ebp - 0x5c], 0
je 0x11b0a
mov ecx, dword [ebp - 0x5c]
push ecx
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x11b0a
lea edx, [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
push 2
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
test eax, eax
jne 0x11b00
mov ecx, dword [ebp - 0x60]
cmp dword [ecx + 8], 0x29a
jb 0x11afc
mov edx, dword [ebp - 0x60]
add edx, 0xc
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x60]
mov edx, dword [eax]
cmp edx, dword [ecx + 8]
ja 0x11afc
mov eax, dword [ebp - 0x64]
cmp dword [eax], 0x100000
jae 0x11afc
mov ecx, dword [ebp - 0x64]
cmp dword [ecx], 0x18
jbe 0x11afc
mov edx, dword [ebp - 0x64]
mov eax, dword [edx]
push eax
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x11afc
mov byte [ebp - 0x69], 1
mov ecx, dword [ebp - 0x64]
mov ecx, dword [ecx]
mov esi, dword [ebp - 0x64]
mov edi, dword [ebp - 0x68]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x69]
push eax
push 0
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.0001f280
movzx edx, al
test edx, edx
je 0x11afc
mov byte [ebp - 0x19], 1
mov byte [ebp - 0x3d], 1
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.ntoskrnl.exe_ExFreePool]
jmp 0x11980
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov dword [ebp - 4], 0xffffffff
jmp 0x11b32
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4