Function at 0x42b440
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4491d3
mov eax, dword fs:[0]
push eax
sub esp, 0x9a0
mov eax, dword [0x45a028]
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 0x42b886
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 0x42b4de
or eax, 0xffffffff
lea esi, [ebp - 0x86c]
call fcn.004060a0
jmp 0x42b4f3
mov ebx, ecx
lea edi, [ebp - 0x86c]
call fcn.0041f4f0
mov edi, dword [ebp - 0x968]
xor ebx, ebx
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.0041ef00
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.mfc100u.dll_new]
add esp, 4
cmp eax, ebx
je 0x42ba79
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.0042b2c0
push edi
lea esi, [ebp - 0x95c]
call fcn.0042b340
push edi
lea esi, [ebp - 0x954]
call fcn.0042b3c0
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 0x42b629
cmp dword [ebp - 0x974], 1
jne 0x42b629
mov eax, dword [ebp - 0x968]
shr eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 0x814], cx
jmp 0x42b632
xor edx, edx
mov word [ebp - 0x814], dx
lea eax, [ebp - 0x814]
lea edx, [eax + 2]
jmp 0x42b640
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42b640
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x814]
lea ecx, [ebp - 0x950]
call fcn.00405f90
mov ecx, dword [ebp - 0x960]
cmp ecx, 1
jne 0x42b835
lea eax, [ebp - 0x998]
push eax
call fcn.0041cdc0
xor edx, edx
lea eax, [ebp - 0x998]
mov byte [ebp - 4], 4
call fcn.0041d0b0
cmp eax, ebx
je 0x42b7e2
push ebx
push 0x45b4a8
push 0x45b48c
push ebx
push eax
call sub.MSVCR100.dll___RTDynamicCast
mov esi, eax
add esp, 0x14
cmp esi, ebx
je 0x42b7e2
lea ecx, [ebp - 0x924]
push ecx
call fcn.00415380
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.0041d0b0
cmp eax, ebx
je 0x42b7d2
push ebx
push 0x45b4a8
push 0x45b48c
push ebx
push eax
call sub.MSVCR100.dll___RTDynamicCast
mov esi, eax
add esp, 0x14
cmp esi, ebx
je 0x42b7d2
xor eax, eax
push ebx
lea ecx, [ebp - 0x8ec]
mov word [ebp - 0x84c], ax
push ecx
or eax, 0xffffffff
lea edi, [ebp - 0x84c]
mov dword [ebp - 0x850], ebx
mov dword [ebp - 0x838], 7
mov dword [ebp - 0x83c], ebx
call fcn.00405d60
push ebx
lea eax, [ebp - 0x8d0]
mov byte [ebp - 4], 6
xor edx, edx
push eax
or eax, 0xffffffff
lea edi, [ebp - 0x830]
mov dword [ebp - 0x81c], 7
mov dword [ebp - 0x820], ebx
mov word [ebp - 0x830], dx
call fcn.00405d60
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.00415590
lea edx, [ebp - 0x924]
push edx
mov byte [ebp - 4], 4
call fcn.00415410
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.0041d560
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x990]
mov esi, dword [sym.imp.mfc100u.dll_delete]
push ecx
call esi
mov ecx, dword [ebp - 0x960]
add esp, 4
jmp 0x42b83b
mov esi, dword [sym.imp.mfc100u.dll_delete]
lea eax, [ecx - 1]
cmp eax, ebx
jge 0x42b8a4
lea edx, [ebp - 0x960]
push edx
mov byte [ebp - 4], 1
call fcn.00416430
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x9a8]
cmp eax, ebx
je 0x42b865
push eax
call esi
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x858], 8
jb 0x42b881
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.00441db6
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 0x42b8ea
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.004166b0
jmp 0x42b9f7
mov esi, eax
cmp eax, ecx
jge 0x42b98c
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.mfc100u.dll_new]
add esp, 4
cmp eax, ebx
je 0x42ba45
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.00417e80
lea ecx, [ebp - 0x850]
push ecx
mov byte [ebp - 4], 3
call fcn.00416430
mov ecx, dword [ebp - 0x960]
inc esi
cmp esi, ecx
jl 0x42b8f4
mov eax, dword [edi]
mov edx, ecx
shl edx, 4
sub edx, ecx
lea esi, [eax + edx*4 - 0x3c]
mov dword [esi], ecx
mov ecx, dword [ebp - 0x95c]
mov dword [esi + 4], ecx
mov edx, dword [ebp - 0x958]
mov dword [esi + 8], edx
mov eax, dword [ebp - 0x954]
push ebx
lea ecx, [ebp - 0x950]
mov dword [esi + 0xc], eax
push ecx
lea edi, [esi + 0x10]
or eax, 0xffffffff
call fcn.00405d60
add esi, 0x2c
lea edx, [ebp - 0x934]
cmp esi, edx
je 0x42b9f7
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [ebp - 0x964]
call fcn.00415e00
lea ebx, [ebp - 0x934]
mov eax, esi
call fcn.00418cb0
xor ebx, ebx
lea eax, [ebp - 0x960]
push eax
mov byte [ebp - 4], 1
call fcn.00416430
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x9a8]
cmp eax, ebx
je 0x42ba1e
push eax
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x858], 8
jb 0x42ba3e
mov ecx, dword [ebp - 0x86c]
push ecx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
xor eax, eax
jmp 0x42b886
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 0x453b30
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 0x453b30
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