Function at 0xf01425f
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 [0xf06c804], edi
push 0x18
mov dword [ebp - 4], eax
pop ebx
je 0xf0142bf
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 0xf0143bb
mov esi, dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
push 0xf002660
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 0xf01453e
push 0xf002634
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 0xf01436d
push dword [ebp - 0x810]
call dword [sym.imp.ntdll.dll_NtClose]
jmp 0xf01453e
cmp dword [ebp - 0x7f8], 0x20
mov eax, dword [ebp - 0x7fc]
lea eax, [ebp + eax - 0x804]
jb 0xf0143af
cmp dword [eax + 0xc], 2
jb 0xf0143af
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 0xf01435c
mov eax, dword [ecx + 4]
shr eax, 3
lea esi, [ecx + 0x10]
mov dword [ebp - 0x808], eax
jmp 0xf0143bb
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 0xf09aef4
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 0xf01453e
cmp word [ebp - 0x808], di
mov dword [0xf09aef8], edi
mov dword [ebp - 0x80c], 0xc0000
jbe 0xf01451e
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 0xf01447d
lea eax, [esi + 8]
mov dword [ebp - 0x824], eax
mov eax, dword [eax]
lea edx, [edi + ebx]
cmp edx, eax
jbe 0xf01447d
sub eax, ecx
add dword [esi + 0xc], eax
mov esi, dword [ebp - 0x824]
mov dword [esi], ecx
jmp 0xf0144f8
mov eax, dword [ebp - 0x80c]
cmp ebx, eax
jne 0xf0144b0
push 0xfffe
push edi
push eax
call fcn.0f00e893
test eax, eax
je 0xf01453e
add dword [ebp - 0x80c], edi
add esi, 8
add dword [ebp - 0x808], 0xffff
jmp 0xf0144d4
jbe 0xf0144f5
cmp ebx, 0x100000
ja 0xf0144f5
push 0xffff
mov ecx, ebx
sub ecx, eax
push ecx
push eax
call fcn.0f00e893
test eax, eax
je 0xf01453e
mov dword [ebp - 0x80c], ebx
cmp dword [0xf09aef8], 0
jne 0xf0144e4
mov dword [0xf09aef8], eax
jmp 0xf0144ed
mov ecx, dword [ebp - 0x814]
mov dword [ecx + 0x10], eax
mov dword [ebp - 0x814], eax
jmp 0xf014502
add esi, 8
add dword [ebp - 0x808], 0xffff
cmp word [ebp - 0x808], 0
ja 0xf014439
cmp dword [ebp - 0x80c], 0x100000
jae 0xf01455a
xor edi, edi
mov eax, 0x100000
sub eax, dword [ebp - 0x80c]
push 0xffff
push eax
push dword [ebp - 0x80c]
call fcn.0f00e893
cmp eax, edi
jne 0xf014542
xor eax, eax
jmp 0xf01455d
cmp dword [0xf09aef8], edi
jne 0xf014551
mov dword [0xf09aef8], eax
jmp 0xf01455a
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.0f01b780
leave
ret