Function at 0x1c344f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [0x1cf3040]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [0x1cf7de4], 0
jne 0x1c34519
call fcn.01c34370
test al, al
je 0x1c346b7
mov eax, dword [ebp + 0xc]
xor ecx, ecx
lea esi, [ebp - 0x18]
mov dword [esi + 4], ecx
mov dword [esi], ecx
push eax
push esi
call sub.ntdll.dll_RtlInitUnicodeString
mov ebx, 0x18
lea edi, [ebp - 0x1c]
mov dword [edi], ebx
push ebx
call fcn.01c9515a
add esp, 4
xorps xmm0, xmm0
movups xmmword [eax], xmm0
xorps xmm0, xmm0
movsd qword [eax + 0x10], xmm0
push edi
push ebx
mov dword [ebp - 0x20], eax
push eax
push 1
push esi
push dword [ebp + 8]
call sub.ntdll.dll_NtQueryValueKey
cmp eax, 0xc0000023
je 0x1c34571
cmp eax, 0x80000005
jne 0x1c346bf
mov esi, dword [ebp - 0x1c]
cmp esi, 0x18
jbe 0x1c345dc
test esi, esi
js 0x1c34934
lea eax, [esi - 0x18]
mov dword [ebp - 0x28], eax
cmp esi, 0x31
mov ebx, 0x30
cmovae ebx, esi
push ebx
call fcn.01c9515a
add esp, 4
mov edi, eax
add eax, 0x18
add ebx, edi
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x28]
push 0
push eax
call fcn.01c99a20
add esp, 0xc
mov eax, dword [ebp - 0x20]
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movsd xmm0, qword [eax + 0x10]
movsd qword [edi + 0x10], xmm0
mov ebx, edi
add ebx, esi
test eax, eax
je 0x1c345f3
push eax
call fcn.01c95155
add esp, 4
mov esi, dword [ebp - 0x1c]
jmp 0x1c345f3
mov edi, dword [ebp - 0x20]
mov eax, 0x18
add eax, edi
mov ebx, edi
add ebx, esi
cmp esi, 0x18
mov dword [ebp - 0x24], eax
cmove ebx, eax
lea eax, [ebp - 0x1c]
push eax
push esi
mov dword [ebp - 0x20], edi
push edi
push 1
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call sub.ntdll.dll_NtQueryValueKey
cmp eax, 0xc0000023
je 0x1c3461c
cmp eax, 0x80000005
jne 0x1c346bf
mov esi, dword [ebp - 0x1c]
mov edx, ebx
mov ecx, dword [ebp - 0x20]
sub edx, ecx
mov edi, esi
sub edi, edx
jbe 0x1c3472c
mov ecx, dword [ebp - 0x24]
mov eax, ecx
sub eax, ebx
cmp eax, edi
jae 0x1c34718
mov dword [ebp - 0x28], edx
test esi, esi
js 0x1c34934
sub ecx, dword [ebp - 0x20]
lea eax, [ecx + ecx]
cmp eax, esi
cmovbe eax, esi
cmp ecx, 0x3fffffff
mov ecx, 0x7fffffff
cmovb ecx, eax
mov dword [ebp - 0x24], ecx
push ecx
call fcn.01c9515a
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x28]
add eax, ecx
push edi
mov edi, eax
push 0
push eax
call fcn.01c99a20
mov eax, dword [ebp - 0x20]
add esp, 0xc
cmp ebx, eax
je 0x1c3469e
push dword [ebp - 0x28]
push eax
mov edi, dword [ebp - 0x2c]
push edi
mov ebx, eax
call fcn.01c994a0
add esp, 0xc
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0x24], eax
add esi, eax
test ebx, ebx
je 0x1c346b3
push ebx
call fcn.01c95155
add esp, 4
mov ecx, edi
jmp 0x1c34736
xor ebx, ebx
jmp 0x1c346fb
xor ebx, ebx
jmp 0x1c346ee
mov edx, dword [ebp - 0x20]
test eax, eax
js 0x1c346bb
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov edi, edx
mov edx, dword [edx + 4]
mov dword [eax], edx
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1c3470f
mov edx, dword [edi + 8]
add edx, edi
lea esi, [edx + eax]
push eax
push esi
push edx
call fcn.01c5db30
mov edx, edi
mov bl, 1
test edx, edx
je 0x1c346fb
push edx
call fcn.01c95155
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c98173
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, edi
mov eax, dword [ecx]
mov dword [ecx + 4], eax
jmp 0x1c346ec
lea esi, [ebx + edi]
push edi
push 0
push ebx
call fcn.01c99a20
add esp, 0xc
mov ecx, dword [ebp - 0x20]
jmp 0x1c34736
lea eax, [ecx + esi]
cmp esi, edx
cmovb ebx, eax
mov esi, ebx
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
push ecx
push 1
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call sub.ntdll.dll_NtQueryValueKey
cmp eax, 0xc0000023
je 0x1c34761
cmp eax, 0x80000005
jne 0x1c346bf
mov edi, dword [ebp - 0x1c]
mov ebx, esi
mov ecx, dword [ebp - 0x20]
sub ebx, ecx
mov edx, edi
sub edx, ebx
ja 0x1c34812
lea eax, [ecx + edi]
cmp edi, ebx
cmovb esi, eax
mov edi, esi
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
push ecx
push 1
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call sub.ntdll.dll_NtQueryValueKey
cmp eax, 0xc0000023
je 0x1c347aa
cmp eax, 0x80000005
jne 0x1c346bf
mov eax, dword [ebp - 0x1c]
mov ebx, edi
mov ecx, dword [ebp - 0x20]
sub ebx, ecx
mov esi, eax
sub esi, ebx
jbe 0x1c347d8
mov edx, dword [ebp - 0x24]
mov ecx, edx
sub ecx, edi
cmp ecx, esi
jb 0x1c348be
push esi
push 0
push edi
call fcn.01c99a20
add esp, 0xc
mov ecx, dword [ebp - 0x20]
xor ebx, ebx
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
mov esi, ecx
push ecx
push 1
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call sub.ntdll.dll_NtQueryValueKey
cmp eax, 0x80000005
je 0x1c3480b
cmp eax, 0xc0000023
mov edx, esi
je 0x1c346ee
jmp 0x1c346c2
mov edx, esi
jmp 0x1c346ee
mov ecx, dword [ebp - 0x24]
mov eax, ecx
sub eax, esi
cmp eax, edx
jb 0x1c34834
lea edi, [esi + edx]
push edx
push 0
push esi
call fcn.01c99a20
add esp, 0xc
mov ecx, dword [ebp - 0x20]
jmp 0x1c3477f
mov dword [ebp - 0x28], edx
test edi, edi
js 0x1c34934
sub ecx, dword [ebp - 0x20]
lea eax, [ecx + ecx]
cmp eax, edi
cmovbe eax, edi
cmp ecx, 0x3fffffff
mov ecx, 0x7fffffff
cmovb ecx, eax
mov dword [ebp - 0x24], ecx
push ecx
call fcn.01c9515a
add esp, 4
mov dword [ebp - 0x2c], eax
add ebx, eax
push dword [ebp - 0x28]
push 0
push ebx
call fcn.01c99a20
mov edx, dword [ebp - 0x20]
add esp, 0xc
cmp esi, edx
je 0x1c348b7
mov eax, edx
not eax
mov ebx, dword [ebp - 0x2c]
add eax, ebx
add eax, esi
mov cl, byte [esi - 1]
dec esi
mov byte [eax], cl
dec eax
cmp esi, edx
jne 0x1c34889
mov esi, edx
mov ecx, ebx
add dword [ebp - 0x24], ebx
add edi, ebx
test esi, esi
je 0x1c3477f
push esi
mov esi, ecx
call fcn.01c95155
mov ecx, esi
add esp, 4
jmp 0x1c3477f
mov ecx, ebx
mov ebx, dword [ebp - 0x2c]
jmp 0x1c34898
test eax, eax
js 0x1c34934
sub edx, dword [ebp - 0x20]
lea ecx, [edx + edx]
cmp ecx, eax
cmova eax, ecx
cmp edx, 0x3fffffff
mov ecx, 0x7fffffff
cmovb ecx, eax
push ecx
call fcn.01c9515a
add esp, 4
mov dword [ebp - 0x24], eax
add ebx, eax
push esi
push 0
push ebx
call fcn.01c99a20
mov edx, dword [ebp - 0x20]
add esp, 0xc
cmp edi, edx
je 0x1c34930
mov eax, edx
not eax
add eax, edi
mov esi, dword [ebp - 0x24]
add eax, esi
mov cl, byte [edi - 1]
dec edi
mov byte [eax], cl
dec eax
cmp edi, edx
jne 0x1c34907
mov edi, edx
mov ecx, esi
test edi, edi
je 0x1c347d8
push edi
mov esi, ecx
call fcn.01c95155
mov ecx, esi
add esp, 4
jmp 0x1c347d8
mov ecx, ebx
jmp 0x1c34916
int3