Function at 0x1002ad6d
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.100588e0
push 0xffffffffffffffff
push 0x100bb454
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x1011ca44]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x100c]
xor ebx, ebx
mov edi, dword [ebp + 0x1010]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 4], ebx
test edi, edi
je 0x1002b060
push 0xf003f
push esi
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x3c]
call fcn.100754f1
test eax, eax
je 0x1002ae6e
push str.__wipeRegistry__
lea ecx, [ebp - 0x10]
call fcn.1000d9ae
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.10001727
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x10]
call fcn.1000187c
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x1002ae21
call fcn.10001b26
push str.____Nothing_to_do.
lea ecx, [ebp - 0x14]
call fcn.1000d9ae
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x10]
call fcn.1000187c
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1002ae4a
call fcn.10001b26
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x1002ae53
mov ebx, dword [esi]
push ebx
call fcn.100754f1
pop ecx
test esi, esi
je 0x1002b05d
mov ecx, esi
call fcn.10001b26
jmp 0x1002b05d
mov esi, ebx
mov dword [ebp - 0x30], 0x800
mov dword [ebp - 0x14], esi
jmp 0x1002ae7f
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x54]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp]
push eax
push esi
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1002b055
push str.__checking_mozilla_plugin_
lea ecx, [ebp - 0x10]
call fcn.1000d9ae
lea eax, [ebp]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x18]
call fcn.10001727
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x10]
call fcn.1000187c
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x1002aee0
call fcn.10001b26
mov dword [ebp - 0x18], ebx
push 0x100d9570
lea ecx, [ebp - 0x1c]
call fcn.1000d9ae
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x10]
call fcn.1000187c
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x1002af10
call fcn.10001b26
mov dword [ebp - 0x1c], ebx
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x1002af15
sub ecx, edx
lea eax, [ebp]
sar ecx, 1
push ecx
push edi
push eax
call fcn.100754f1
add esp, 0xc
test eax, eax
jne 0x1002b01c
push str._MATCH_
lea ecx, [ebp - 0x20]
call fcn.1000d9ae
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x10]
call fcn.1000187c
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x1002af6a
call fcn.10001b26
mov dword [ebp - 0x20], ebx
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x3c]
call fcn.100186b6
test eax, eax
je 0x1002b020
push str.__error_code
lea ecx, [ebp - 0x24]
call fcn.1000d9ae
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x10]
call fcn.1000187c
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x1002afaa
call fcn.10001b26
mov dword [ebp - 0x24], ebx
push 0x13
pop eax
mov word [ebp - 0x4c], ax
mov dword [ebp - 0x44], ebx
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x2c]
call fcn.1001d68c
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xa
call fcn.1000187c
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x1002afe0
call fcn.10001b26
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 4
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push 0x100d958c
lea ecx, [ebp - 0x28]
call fcn.1000d9ae
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x10]
call fcn.1000187c
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x1002b020
call fcn.10001b26
mov dword [ebp - 0x28], ebx
jmp 0x1002b020
inc esi
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x1002b02b
mov eax, dword [esi]
jmp 0x1002b02d
mov eax, ebx
push eax
call fcn.100754f1
mov dword [ebp - 0x30], 0x800
mov byte [ebp - 4], bl
pop ecx
test esi, esi
je 0x1002ae7c
mov ecx, esi
call fcn.10001b26
mov dword [ebp - 0x10], ebx
jmp 0x1002ae7c
lea ecx, [ebp - 0x3c]
call fcn.10017ea6
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x3c]
call fcn.10017ea6
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.100587af
add ebp, 0x1004
leave
ret