Function at 0xf014150
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x86c
mov eax, dword [0xf061038]
push ebx
push esi
push edi
xor edi, edi
cmp dword [0xf06c750], edi
push 0x18
mov dword [ebp - 4], eax
pop ebx
je 0xf0141b0
mov dword [ebp - 0x83c], 0xc0000
mov dword [ebp - 0x838], 0x8000
mov dword [ebp - 0x834], 0xf0000
mov dword [ebp - 0x830], 0x10000
mov dword [ebp - 0x808], 2
lea esi, [ebp - 0x83c]
jmp 0xf0142ac
mov esi, dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
push 0xf002608
lea eax, [ebp - 0x820]
push eax
call esi
lea eax, [ebp - 0x820]
mov dword [ebp - 0x864], eax
lea eax, [ebp - 0x86c]
push eax
push 0x20019
lea eax, [ebp - 0x810]
push eax
mov dword [ebp - 0x86c], ebx
mov dword [ebp - 0x868], edi
mov dword [ebp - 0x860], 0x40
mov dword [ebp - 0x85c], edi
mov dword [ebp - 0x858], edi
call dword [sym.imp.ntdll.dll_NtOpenKey]
test eax, eax
jl 0xf01442f
push 0xf0025dc
lea eax, [ebp - 0x820]
push eax
call esi
lea eax, [ebp - 0x818]
push eax
push 0x800
lea eax, [ebp - 0x804]
push eax
push 1
lea eax, [ebp - 0x820]
push eax
push dword [ebp - 0x810]
call dword [sym.imp.ntdll.dll_NtQueryValueKey]
test eax, eax
jge 0xf01425e
push dword [ebp - 0x810]
call dword [sym.imp.ntdll.dll_NtClose]
jmp 0xf01442f
cmp dword [ebp - 0x7f8], 0x20
mov eax, dword [ebp - 0x7fc]
lea eax, [ebp + eax - 0x804]
jb 0xf0142a0
cmp dword [eax + 0xc], 2
jb 0xf0142a0
mov ecx, dword [eax + 0x14]
lea ecx, [ecx + eax + 0x20]
mov edx, ecx
sub edx, eax
add edx, ebx
cmp dword [ebp - 0x7f8], edx
jb 0xf01424d
mov eax, dword [ecx + 4]
shr eax, 3
lea esi, [ecx + 0x10]
mov dword [ebp - 0x808], eax
jmp 0xf0142ac
mov esi, dword [ebp - 0x818]
mov dword [ebp - 0x808], edi
push 0x40
pop eax
push edi
push 0x4000000
push eax
mov dword [ebp - 0x848], eax
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 0x854]
push eax
push 0xa
push 0xf09ae34
mov dword [ebp - 0x854], ebx
mov dword [ebp - 0x850], edi
mov dword [ebp - 0x84c], edi
mov dword [ebp - 0x844], edi
mov dword [ebp - 0x840], edi
mov dword [ebp - 0x82c], 0x40000
mov dword [ebp - 0x828], edi
call dword [sym.imp.ntdll.dll_NtCreateSection]
test eax, eax
jl 0xf01442f
cmp word [ebp - 0x808], di
mov dword [0xf09ae38], edi
mov dword [ebp - 0x80c], 0xc0000
jbe 0xf01440f
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov eax, 0xfffff000
mov ebx, ecx
and ebx, eax
sub edx, ebx
lea edi, [edx + ecx + 0xfff]
and edi, eax
cmp word [ebp - 0x808], 1
jbe 0xf01436e
lea eax, [esi + 8]
mov dword [ebp - 0x824], eax
mov eax, dword [eax]
lea edx, [edi + ebx]
cmp edx, eax
jbe 0xf01436e
sub eax, ecx
add dword [esi + 0xc], eax
mov esi, dword [ebp - 0x824]
mov dword [esi], ecx
jmp 0xf0143e9
mov eax, dword [ebp - 0x80c]
cmp ebx, eax
jne 0xf0143a1
push 0xfffe
push edi
push eax
call fcn.0f00e796
test eax, eax
je 0xf01442f
add dword [ebp - 0x80c], edi
add esi, 8
add dword [ebp - 0x808], 0xffff
jmp 0xf0143c5
jbe 0xf0143e6
cmp ebx, 0x100000
ja 0xf0143e6
push 0xffff
mov ecx, ebx
sub ecx, eax
push ecx
push eax
call fcn.0f00e796
test eax, eax
je 0xf01442f
mov dword [ebp - 0x80c], ebx
cmp dword [0xf09ae38], 0
jne 0xf0143d5
mov dword [0xf09ae38], eax
jmp 0xf0143de
mov ecx, dword [ebp - 0x814]
mov dword [ecx + 0x10], eax
mov dword [ebp - 0x814], eax
jmp 0xf0143f3
add esi, 8
add dword [ebp - 0x808], 0xffff
cmp word [ebp - 0x808], 0
ja 0xf01432a
cmp dword [ebp - 0x80c], 0x100000
jae 0xf01444b
xor edi, edi
mov eax, 0x100000
sub eax, dword [ebp - 0x80c]
push 0xffff
push eax
push dword [ebp - 0x80c]
call fcn.0f00e796
cmp eax, edi
jne 0xf014433
xor eax, eax
jmp 0xf01444e
cmp dword [0xf09ae38], edi
jne 0xf014442
mov dword [0xf09ae38], eax
jmp 0xf01444b
mov ecx, dword [ebp - 0x814]
mov dword [ecx + 0x10], eax
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0f01b45c
leave
ret