Function at 0x1002aa80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004d923
mov eax, dword fs:[0]
push eax
sub esp, 0x9a0
mov eax, dword [0x10063068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
mov edi, ecx
lea ecx, [ebp - 0x984]
push ecx
lea edx, [ebp - 0x980]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
mov dword [ebp - 0x964], eax
mov dword [ebp - 0x968], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, ebx
jne 0x1002aec3
xor eax, eax
mov dword [ebp - 0x858], 7
mov dword [ebp - 0x85c], ebx
mov word [ebp - 0x86c], ax
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x980]
inc ecx
cmp ecx, ebx
ja 0x1002ab1e
or eax, 0xffffffff
lea esi, [ebp - 0x86c]
call fcn.1000a860
jmp 0x1002ab32
push ebx
mov eax, ecx
lea edi, [ebp - 0x86c]
call fcn.10011f20
mov edi, dword [ebp - 0x968]
mov dword [ebp - 0x9a8], ebx
mov dword [ebp - 0x9a4], ebx
mov dword [ebp - 0x9a0], ebx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x984]
lea esi, [ebp - 0x9a8]
call fcn.10026cf0
xor ecx, ecx
mov dword [ebp - 0x960], ebx
mov dword [ebp - 0x95c], ebx
mov dword [ebp - 0x958], ebx
mov dword [ebp - 0x954], ebx
mov dword [ebp - 0x93c], 7
mov dword [ebp - 0x940], ebx
mov word [ebp - 0x950], cx
mov byte [ebp - 4], 2
push 0x30
mov dword [ebp - 0x92c], ebx
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
cmp eax, ebx
je 0x1002b0b6
mov dword [ebp - 0x930], eax
mov dword [eax], eax
mov eax, dword [ebp - 0x930]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x930]
mov dword [eax + 8], eax
mov edx, dword [ebp - 0x930]
mov byte [edx + 0x2c], 1
mov eax, dword [ebp - 0x930]
mov byte [eax + 0x2d], 1
push edi
lea esi, [ebp - 0x960]
mov byte [ebp - 4], 3
call fcn.1002a900
push edi
lea esi, [ebp - 0x95c]
call fcn.1002a980
push edi
lea esi, [ebp - 0x954]
call fcn.1002aa00
push 0x7fe
lea edx, [ebp - 0x812]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x814], cx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x968]
push eax
lea ecx, [ebp - 0x814]
push ecx
lea edx, [ebp - 0x974]
push edx
push ebx
push str.title
push edi
mov dword [ebp - 0x968], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x1002ac68
cmp dword [ebp - 0x974], 1
jne 0x1002ac68
mov eax, dword [ebp - 0x968]
shr eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 0x814], cx
jmp 0x1002ac71
xor edx, edx
mov word [ebp - 0x814], dx
lea eax, [ebp - 0x814]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1002ac80
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x814]
lea esi, [ebp - 0x950]
call fcn.1000a770
mov ecx, dword [ebp - 0x960]
cmp ecx, 1
jne 0x1002ae72
lea eax, [ebp - 0x998]
push eax
call fcn.10024370
xor edx, edx
lea eax, [ebp - 0x998]
mov byte [ebp - 4], 4
call fcn.10024660
cmp eax, ebx
je 0x1002ae1f
push ebx
push 0x100655f0
push 0x100655d4
push ebx
push eax
call sub.MSVCR100.dll___RTDynamicCast
mov esi, eax
add esp, 0x14
cmp esi, ebx
je 0x1002ae1f
lea ecx, [ebp - 0x924]
push ecx
call fcn.10012b20
mov byte [ebp - 4], 5
mov eax, dword [esi]
lea edx, [ebp - 0x924]
lea ecx, [ebp - 0x978]
mov dword [ebp - 0x978], edx
mov edx, dword [eax]
push ecx
mov ecx, esi
mov dword [ebp - 0x974], 0xb8
call edx
mov edx, 3
lea eax, [ebp - 0x998]
call fcn.10024660
cmp eax, ebx
je 0x1002ae0f
push ebx
push 0x100655f0
push 0x100655d4
push ebx
push eax
call sub.MSVCR100.dll___RTDynamicCast
mov esi, eax
add esp, 0x14
cmp esi, ebx
je 0x1002ae0f
xor eax, eax
push ebx
lea ecx, [ebp - 0x8ec]
mov word [ebp - 0x84c], ax
push ecx
mov edi, 7
or eax, 0xffffffff
lea ecx, [ebp - 0x84c]
mov dword [ebp - 0x850], ebx
mov dword [ebp - 0x838], edi
mov dword [ebp - 0x83c], ebx
call fcn.10009fd0
push ebx
lea eax, [ebp - 0x8d0]
mov byte [ebp - 4], 6
xor edx, edx
push eax
or eax, 0xffffffff
lea ecx, [ebp - 0x830]
mov dword [ebp - 0x81c], edi
mov dword [ebp - 0x820], ebx
mov word [ebp - 0x830], dx
call fcn.10009fd0
mov byte [ebp - 4], 7
mov edx, dword [esi]
mov edx, dword [edx]
lea ecx, [ebp - 0x850]
lea eax, [ebp - 0x96c]
mov dword [ebp - 0x96c], ecx
push eax
mov ecx, esi
mov dword [ebp - 0x968], 0x3c
call edx
xor eax, eax
cmp dword [ebp - 0x850], ebx
lea ecx, [ebp - 0x850]
sete al
push ecx
mov byte [ebp - 4], 5
mov dword [ebp - 0x95c], eax
call fcn.100131e0
lea edx, [ebp - 0x924]
push edx
mov byte [ebp - 4], 4
call fcn.10012bb0
lea eax, [ebp - 0x994]
mov dword [ebp - method.CFilterModel.virtual_0], vtable.CFilterModel.0
mov dword [ebp - 0x974], eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x990]
mov ecx, dword [eax]
push eax
push ecx
lea esi, [ebp - 0x968]
lea eax, [ebp - 0x994]
call fcn.100258e0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x990]
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
push ecx
call esi
mov ecx, dword [ebp - 0x960]
add esp, 4
jmp 0x1002ae78
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
lea eax, [ecx - 1]
cmp eax, ebx
jge 0x1002aee1
lea edx, [ebp - 0x960]
push edx
mov byte [ebp - 4], 1
call fcn.100142f0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x9a8]
cmp eax, ebx
je 0x1002aea2
push eax
call esi
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x858], 8
jb 0x1002aebe
mov eax, dword [ebp - 0x86c]
push eax
call esi
add esp, 4
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10045a28
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x964]
mov esi, dword [edi + 0x40]
sub esi, dword [edi + 0x3c]
add edi, 0x3c
mov eax, 0x88888889
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [ecx - 1]
cmp eax, edx
jle 0x1002af27
mov eax, dword [edi]
mov edx, ecx
shl edx, 4
sub edx, ecx
lea ecx, [eax + edx*4 - 0x3c]
lea eax, [ebp - 0x960]
call fcn.100148b0
jmp 0x1002b034
mov esi, eax
cmp eax, ecx
jge 0x1002afc9
xor ecx, ecx
mov dword [ebp - 0x82c], 7
mov dword [ebp - 0x830], ebx
mov word [ebp - 0x840], cx
mov byte [ebp - 4], 9
push 0x30
mov dword [ebp - 0x81c], ebx
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
cmp eax, ebx
je 0x1002b082
mov dword [ebp - 0x820], eax
mov dword [eax], eax
mov eax, dword [ebp - 0x820]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x820]
mov dword [eax + 8], eax
mov edx, dword [ebp - 0x820]
mov byte [edx + 0x2c], 1
mov eax, dword [ebp - 0x820]
mov byte [eax + 0x2d], 1
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x850]
mov dword [ebp - 0x850], ebx
call fcn.1001aae0
lea ecx, [ebp - 0x850]
push ecx
mov byte [ebp - 4], 3
call fcn.100142f0
mov ecx, dword [ebp - 0x960]
inc esi
cmp esi, ecx
jl 0x1002af31
mov eax, dword [edi]
mov edx, ecx
shl edx, 4
sub edx, ecx
lea edi, [eax + edx*4 - 0x3c]
mov dword [edi], ecx
mov ecx, dword [ebp - 0x95c]
mov dword [edi + 4], ecx
mov edx, dword [ebp - 0x958]
mov dword [edi + 8], edx
mov eax, dword [ebp - 0x954]
push ebx
lea ecx, [ebp - 0x950]
mov dword [edi + 0xc], eax
push ecx
lea ecx, [edi + 0x10]
or eax, 0xffffffff
call fcn.10009fd0
lea esi, [edi + 0x2c]
lea edx, [ebp - 0x934]
cmp esi, edx
je 0x1002b034
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [ebp - 0x964]
call fcn.10013bf0
lea ebx, [ebp - 0x934]
mov eax, esi
call fcn.10017970
xor ebx, ebx
lea eax, [ebp - 0x960]
push eax
mov byte [ebp - 4], 1
call fcn.100142f0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x9a8]
cmp eax, ebx
je 0x1002b05b
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x858], 8
jb 0x1002b07b
mov ecx, dword [ebp - 0x86c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
jmp 0x1002aec3
lea edx, [ebp - 0x964]
push edx
lea ecx, [ebp - 0x97c]
mov dword [ebp - 0x964], ebx
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x1005bf30
lea eax, [ebp - 0x97c]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
lea edx, [ebp - 0x974]
push edx
lea ecx, [ebp - 0x970]
mov dword [ebp - 0x974], ebx
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x1005bf30
lea eax, [ebp - 0x970]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
int3