Function at 0x1002f350
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004d09e
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x10063068]
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, dword [ebp + 8]
xor edi, edi
push edi
push edi
lea ecx, [ebp - 0xc8]
push ecx
lea edx, [ebp - 0xc4]
push edx
push edi
push edi
push edi
push edi
push edi
push edi
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 0xc]
push edi
push eax
mov dword [ebp - 0xd0], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, edi
jne 0x1002f737
mov ebx, 7
xor eax, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0xc4]
inc ecx
cmp ecx, edi
ja 0x1002f3e4
or eax, 0xffffffff
lea esi, [ebp - 0x2c]
call fcn.1000a860
jmp 0x1002f3f1
push edi
mov eax, ecx
lea edi, [ebp - 0x2c]
call fcn.10011f20
xor edi, edi
mov dword [ebp - 0xec], edi
mov dword [ebp - 0xe8], edi
mov dword [ebp - 0xe4], edi
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xc8]
lea esi, [ebp - 0xec]
call fcn.10026cf0
xor ecx, ecx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x90], edi
mov word [ebp - 0xa0], cx
xor edx, edx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], edi
mov word [ebp - 0x84], dx
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov byte [ebp - 4], 3
mov dword [ebp - 0xc0], edi
mov edi, dword [ebp - 0xec]
mov edi, edi
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xc8]
inc eax
mov ebx, 8
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xdc], ecx
cmp dword [ebp - 0x18], ebx
jae 0x1002f489
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0xdc]
push edx
push edi
lea ecx, [ebp - 0xcc]
push ecx
mov ecx, dword [ebp - 0xd0]
push 0
lea edx, [ebp - 0xd4]
push edx
push eax
mov eax, dword [ebp - 0xc0]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov esi, eax
test esi, esi
jne 0x1002f69e
cmp dword [ebp - 0xcc], 1
jne 0x1002f693
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x1002f4d8
lea eax, [ebp - 0x2c]
mov esi, dword [sym.imp.MSVCR100.dll__wcsicmp]
push str.script_url
push eax
call esi
add esp, 8
test eax, eax
jne 0x1002f51a
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1002f4f2
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [ebp - 0xa0]
call fcn.1000a770
inc dword [ebp - 0xc0]
jmp 0x1002f460
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x1002f525
lea eax, [ebp - 0x2c]
push str.hide_selectors
push eax
call esi
add esp, 8
test eax, eax
jne 0x1002f568
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1002f540
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [ebp - 0x84]
call fcn.1000a770
inc dword [ebp - 0xc0]
jmp 0x1002f460
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x1002f573
lea eax, [ebp - 0x2c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1002f576
sub eax, edx
sar eax, 1
cmp eax, 4
jb 0x1002f5fc
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x1002f595
lea eax, [ebp - 0x2c]
xor edx, edx
mov word [eax + 8], dx
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x1002f5a6
lea eax, [ebp - 0x2c]
push str.type
push eax
call esi
add esp, 8
test eax, eax
jne 0x1002f5fc
mov eax, edi
lea ecx, [ebp - 0xbc]
call fcn.10009040
lea ecx, [ebp - 0xbc]
lea ebx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.10026b00
mov byte [ebp - 4], 3
cmp dword [ebp - 0xa8], 8
jb 0x1002f5f1
mov eax, dword [ebp - 0xbc]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [sym.imp.MSVCR100.dll__wcsicmp]
mov ebx, 8
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x1002f607
lea eax, [ebp - 0x2c]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1002f610
sub eax, edx
sar eax, 1
cmp eax, 4
jb 0x1002f693
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x1002f62f
lea eax, [ebp - 0x2c]
xor ecx, ecx
mov word [eax + 8], cx
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x1002f640
lea eax, [ebp - 0x2c]
push str.page
push eax
call esi
add esp, 8
test eax, eax
jne 0x1002f693
mov eax, edi
lea ecx, [ebp - 0x48]
call fcn.10009040
lea ecx, [ebp - 0x48]
lea ebx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.10026b00
mov byte [ebp - 4], 3
cmp dword [ebp - 0x34], 8
jb 0x1002f67f
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
inc dword [ebp - 0xc0]
jmp 0x1002f460
cmp esi, 0x103
jne 0x1002f6fa
mov ebx, dword [ebp - 0xd8]
add ebx, 0x44
lea ecx, [ebp - 0xa0]
call fcn.1002fd60
lea ecx, [ebp - 0xa0]
push ecx
mov byte [ebp - 4], 1
call fcn.1001c150
mov byte [ebp - 4], 0
test edi, edi
je 0x1002f6dc
push edi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x1002f6f6
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
jmp 0x1002f737
lea eax, [ebp - 0xa0]
push eax
mov byte [ebp - 4], 1
call fcn.1001c150
mov byte [ebp - 4], 0
test edi, edi
je 0x1002f71c
push edi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], ebx
jb 0x1002f735
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
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.10045a28
mov esp, ebp
pop ebp
ret 8