Function at 0x1002aff0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.1005e2a0
push 0xffffffffffffffff
push 0x100ce973
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x10130aa4]
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 eax, dword [ebp + 0x1010]
xor ebx, ebx
mov esi, dword [ebp + 0x100c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 4], ebx
test eax, eax
je 0x1002b2fc
push 0xf003f
push esi
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x3c]
call fcn.10017b89
test eax, eax
je 0x1002b0f3
push str.__wipeRegistry__
lea ecx, [ebp - 0x18]
call fcn.1000dcc0
push esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.10001719
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x18]
call fcn.1000186b
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x1002b0a7
call fcn.10001b13
push str.____Nothing_to_do.
lea ecx, [ebp - 0x10]
call fcn.1000dcc0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x18]
call fcn.1000186b
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1002b0d0
call fcn.10001b13
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x1002b0d9
mov ebx, dword [esi]
push ebx
call fcn.100333b3
pop ecx
test esi, esi
je 0x1002b0eb
mov ecx, esi
call fcn.10001b13
mov edi, dword [ebp - 0x3c]
jmp 0x1002b2ee
mov edi, dword [ebp - 0x3c]
mov eax, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x30], 0x800
lea ecx, [ebp - 0x58]
push ecx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp]
push ecx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1002b2e1
push str.__checking_mozilla_plugin_
lea ecx, [ebp - 0x14]
call fcn.1000dcc0
lea eax, [ebp]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x1c]
call fcn.10001719
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x14]
call fcn.1000186b
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x1002b161
call fcn.10001b13
mov dword [ebp - 0x1c], ebx
push 0x100e754c
lea ecx, [ebp - 0x20]
call fcn.1000dcc0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x14]
call fcn.1000186b
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x1002b191
call fcn.10001b13
mov dword [ebp - 0x20], ebx
mov esi, dword [ebp - 0x40]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x1002b199
sub ecx, edx
lea eax, [ebp]
sar ecx, 1
push ecx
push esi
push eax
call fcn.10089830
add esp, 0xc
test eax, eax
jne 0x1002b2a3
push str._MATCH_
lea ecx, [ebp - 0x24]
call fcn.1000dcc0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x14]
call fcn.1000186b
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x1002b1ee
call fcn.10001b13
mov dword [ebp - 0x24], ebx
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x3c]
call fcn.10017e54
test eax, eax
je 0x1002b29e
push str.__error_code
lea ecx, [ebp - 0x28]
call fcn.1000dcc0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x14]
call fcn.1000186b
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x1002b22e
call fcn.10001b13
mov dword [ebp - 0x28], ebx
push 0x13
pop eax
mov word [ebp - 0x50], ax
mov dword [ebp - 0x48], ebx
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x2c]
call fcn.1001d194
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call fcn.1000186b
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x1002b264
call fcn.10001b13
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 4
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push 0x100e7568
lea ecx, [ebp - 0x10]
call fcn.1000dcc0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x14]
call fcn.1000186b
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1002b29e
call fcn.10001b13
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp - 0x3c]
jmp 0x1002b2a6
inc dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x1002b2b1
mov eax, dword [esi]
jmp 0x1002b2b3
mov eax, ebx
push eax
call fcn.100333b3
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], 0x800
mov byte [ebp - 4], bl
pop ecx
test esi, esi
je 0x1002b102
mov ecx, esi
call fcn.10001b13
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
jmp 0x1002b102
test edi, edi
je 0x1002b2ee
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, ebx
xor ebx, ebx
inc ebx
test edi, edi
je 0x1002b2fc
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.1005e187
add ebp, 0x1004
leave
ret