Function at 0x10022710
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d2044
mov eax, dword fs:[0]
push eax
mov eax, 0xa030
call fcn.1008c5b0
mov eax, dword [0x101120a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0xa030], eax
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], 0
mov dword [ebp - 0xa034], ecx
mov ebx, dword [edi + 4]
mov esi, dword [edi]
cmp esi, ebx
je 0x1002277c
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
add esi, 0x1c
cmp esi, ebx
jne 0x10022765
mov esi, dword [edi]
mov eax, dword [ebp - 0xa030]
mov dword [edi + 4], esi
cmp byte [eax + 4], 0
je 0x1002296a
push 0xa000
lea eax, [ebp - 0xa010]
mov dword [ebp - 0xa03c], 7
push 0
push eax
call fcn.1008da10
mov eax, dword [ebp - 0xa034]
add esp, 0xc
add eax, 4
mov dword [ebp - 0xa038], 0xa000
cmp dword [eax + 0x14], 8
jb 0x100227c4
mov eax, dword [eax]
mov ebx, dword [ebp - 0xa030]
lea ecx, [ebp - 0xa038]
push ecx
lea ecx, [ebp - 0xa010]
push ecx
lea ecx, [ebp - 0xa03c]
push ecx
push 0
push eax
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
test esi, esi
jne 0x1002296a
lea esi, [ebp - 0xa010]
nop dword [eax]
nop word [eax + eax]
mov ecx, 7
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
xor eax, eax
mov dword [ebp - 0xa018], 0
mov dword [ebp - 0xa014], ecx
mov word [ebp - 0xa028], ax
mov dword [ebp - 4], eax
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
test esi, esi
jne 0x10022856
xor edx, edx
mov word [ebp - 0xa028], ax
mov dword [ebp - 0xa018], edx
jmp 0x10022888
mov eax, esi
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10022860
sub eax, edx
lea ecx, [ebp - 0xa028]
sar eax, 1
push eax
push esi
call fcn.10002b70
mov ecx, dword [ebp - 0xa014]
mov edx, dword [ebp - 0xa018]
mov dword [ebp - 4], 1
test edx, edx
je 0x1002295b
mov eax, dword [edi + 4]
lea esi, [esi + edx*2]
add esi, 2
cmp dword [edi + 8], eax
je 0x100228fa
mov dword [eax], vtable.LString.0
lea ebx, [eax + 4]
mov dword [ebp - 0xa034], eax
xor eax, eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
mov byte [ebp - 4], 2
lea eax, [ebp - 0xa028]
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
cmp ebx, eax
je 0x100228f4
cmp ecx, 8
mov ecx, ebx
push edx
cmovae eax, dword [ebp - 0xa028]
push eax
call fcn.10002b70
mov ecx, dword [ebp - 0xa014]
add dword [edi + 4], 0x1c
jmp 0x1002290f
lea ecx, [ebp - 0xa02c]
push ecx
push eax
mov ecx, edi
call fcn.100124a0
mov ecx, dword [ebp - 0xa014]
mov dword [ebp - 4], 0xffffffff
dec dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
cmp ecx, 8
jb 0x10022810
lea edx, [ecx*2 + 2]
mov ecx, dword [ebp - 0xa028]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002294c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002298a
push edx
push ecx
call fcn.1008bfe4
add esp, 8
jmp 0x10022810
lea ecx, [ebp - 0xa02c]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
mov al, 1
jmp 0x1002296c
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008bffe
mov esp, ebp
pop ebp
ret 8
call fcn.10092486
int3