Function at 0x10001ca0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x10005271
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x1000801c]
xor eax, esp
mov dword [esp + 0x828], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1000801c]
xor eax, esp
push eax
lea eax, [esp + 0x840]
mov dword fs:[0], eax
mov eax, dword [esp + 0x858]
mov ecx, dword [esp + 0x85c]
mov edi, dword [esp + 0x854]
mov edx, dword [esp + 0x850]
mov dword [esp + 0x28], ecx
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0xc]
sub ecx, eax
sar ecx, 2
mov dword [esp + 0x34], edx
cmp ecx, 1
jne 0x10001d21
mov edi, edx
call fcn.100029e0
mov al, 1
jmp 0x100020e2
mov dword [esp + 0x24], 0
test ecx, ecx
jbe 0x100020e0
mov edx, dword [esp + 0x28]
mov esi, dword [edx]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
sub esi, 0x10
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x10001d5e
cmp eax, dword [esi]
jne 0x10001d5e
mov ebp, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x10001d9a
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebp, eax
test ebp, ebp
je 0x1000210a
mov eax, dword [esi + 4]
mov dword [ebp + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebp + 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_memcpy_s]
add esp, 0x10
lea ecx, [ebp + 0x10]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x848], 0
mov ebx, dword [ecx - 0xc]
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
lea esi, [ebx + 1]
sub eax, esi
or eax, edx
jge 0x10001dd2
mov ecx, esi
lea eax, [esp + 0x18]
call fcn.10003b20
mov ecx, dword [esp + 0x18]
mov edx, 0x5c
mov word [ecx + ebx*2], dx
test esi, esi
jl 0x100021ba
cmp esi, dword [ecx - 8]
jg 0x100021ba
mov dword [ecx - 0xc], esi
xor eax, eax
mov word [ecx + esi*2], ax
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov esi, dword [esp + 0x24]
sar ecx, 2
cmp esi, ecx
jb 0x10001e0c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [edi + 0xc]
lea eax, [edx + esi*4]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.100039e0
mov ebx, dword [esp + 0x18]
mov ebp, dword [ebx - 0xc]
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
lea esi, [ebp + 1]
sub eax, esi
or eax, ecx
jge 0x10001e4d
mov ecx, esi
lea eax, [esp + 0x18]
call fcn.10003b20
mov ebx, dword [esp + 0x18]
mov ecx, 0x5c
mov word [ebx + ebp*2], cx
test esi, esi
jl 0x100021ba
cmp esi, dword [ebx - 8]
jg 0x100021ba
lea eax, [esp + 0x1c]
push eax
push 0x20019
xor edx, edx
push edx
push ebx
mov dword [ebx - 0xc], esi
push 0x80000002
mov word [ebx + esi*2], dx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10001ec6
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, 0xfffffff0
mov dword [esp + 0x848], 0xffffffff
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x100020c6
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
jmp 0x100020c6
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [esp + 0x46]
push edx
mov dword [esp + 0x44], 1
mov word [esp + 0x48], cx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x40]
push edx
push 0
push str.ParentIdPrefix
push eax
mov dword [esp + 0x48], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10001e8b
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x40]
call fcn.10002930
mov byte [esp + 0x848], 1
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x10001f56
mov ecx, esi
lea eax, [esp + 0x14]
call fcn.10003b20
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
push eax
push edx
call dword [sym.imp.MSVCR90.dll__wcslwr_s]
add esp, 8
test esi, esi
jl 0x100021ba
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x100021ba
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov word [edx + esi*2], cx
mov eax, dword [0x100080d4]
mov edx, dword [eax + 0xc]
mov ecx, 0x100080d4
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x850], 2
call sym.AndroidAPI.dll_Ordinal_5
mov esi, dword [esp + 0x28]
mov ebp, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebp
add esp, 8
or eax, ecx
jge 0x10001fdd
mov ecx, ebp
lea eax, [esp + 0x20]
call fcn.10003b20
mov esi, dword [esp + 0x20]
lea edx, [ebp + 1]
push edx
push esi
call dword [sym.imp.MSVCR90.dll__wcslwr_s]
add esp, 8
test ebp, ebp
jl 0x100021ba
cmp ebp, dword [esi - 8]
jg 0x100021ba
xor eax, eax
mov dword [esi - 0xc], ebp
mov word [esi + ebp*2], ax
mov eax, dword [esp + 0x14]
mov ecx, esi
jmp 0x10002010
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10002036
test dx, dx
je 0x10002032
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10002036
add eax, 4
add ecx, 4
test dx, dx
jne 0x10002010
xor eax, eax
jmp 0x1000203b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x1000210f
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0xfffffff0
mov byte [esp + 0x848], 1
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x10002077
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [esp + 0x848], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000209f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov dword [esp + 0x848], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100020c6
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x24]
inc eax
sar ecx, 2
mov dword [esp + 0x24], eax
cmp eax, ecx
jb 0x10001d31
xor al, al
mov ecx, dword [esp + 0x840]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x828]
xor ecx, esp
call fcn.10004654
add esp, 0x838
ret
call fcn.10003b10
mov edx, dword [edi + 0x10]
sub edx, dword [edi + 0xc]
mov ebp, dword [esp + 0x24]
sar edx, 2
cmp ebp, edx
jb 0x10002126
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 0xc]
mov edi, dword [esp + 0x34]
lea eax, [eax + ebp*4]
call fcn.100029e0
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0xfffffff0
mov byte [esp + 0x848], 1
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x10002164
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [esp + 0x848], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000218c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov dword [esp + 0x848], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100021b3
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov al, 1
jmp 0x100020e2
push 0x80070057
call fcn.10004270
int3