Function at 0x1002cdf0
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x125c
call fcn.1003baf0
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0x1258], eax
mov eax, dword [esp + 0x1264]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x126c]
push edi
test eax, eax
je 0x1002d80b
push 0xf003f
push esi
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x40]
call fcn.10003a10
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1002cf8e
push str.__wipeRegistry__
lea ecx, [esp + 0x1c]
call fcn.100060b0
push esi
lea ecx, [esp + 0x24]
call fcn.100032a0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
call fcn.10003700
mov esi, dword [esp + 0x20]
or ebx, 0xffffffff
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
je 0x1002ced2
mov eax, ebx
lock xadd dword [esi + 8], eax
dec eax
jne 0x1002ced2
mov eax, dword [esi]
test eax, eax
je 0x1002ceb0
push eax
call edi
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1002cec7
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1003c33a
add esp, 8
push str.____Nothing_to_do.
lea ecx, [esp + 0x24]
call fcn.100060b0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
call fcn.10003700
mov esi, dword [esp + 0x20]
test esi, esi
je 0x1002cf31
mov eax, ebx
lock xadd dword [esi + 8], eax
dec eax
jne 0x1002cf31
mov eax, dword [esi]
test eax, eax
je 0x1002cf0f
push eax
call edi
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1002cf26
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1003c33a
add esp, 8
mov esi, dword [esp + 0x18]
test esi, esi
je 0x1002cf3d
mov eax, dword [esi]
jmp 0x1002cf3f
xor eax, eax
push eax
call fcn.10003ca0
add esp, 4
test esi, esi
je 0x1002cf85
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x1002cf85
mov eax, dword [esi]
test eax, eax
je 0x1002cf63
push eax
call edi
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1002cf7a
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1003c33a
add esp, 8
mov edi, dword [esp + 0x34]
jmp 0x1002d7fa
xor ebp, ebp
mov dword [esp + 0x44], 0x800
mov dword [esp + 0x18], ebp
mov edi, dword [esp + 0x34]
lea eax, [esp + 0x60]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x27c]
push eax
push ebp
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1002d7eb
push 0xc
call fcn.1003c33a
mov esi, eax
add esp, 4
test esi, esi
je 0x1002d824
push str.__checking_mozilla_plugin_
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.1003c33a
push 0xc
mov dword [esi], eax
call fcn.1003c33a
mov edi, eax
add esp, 4
test edi, edi
je 0x1002d824
lea eax, [esp + 0x268]
mov dword [edi + 4], 0
push eax
mov dword [edi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
test eax, eax
je 0x1002d824
push 0xc
call fcn.1003c33a
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x1002d824
mov dword [ebp + 4], 0
mov dword [ebp + 8], 1
mov eax, dword [esi]
test eax, eax
je 0x1002d067
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ebx, eax
mov dword [esp + 0x14], eax
jmp 0x1002d06d
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov eax, dword [edi]
test eax, eax
je 0x1002d07c
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
jmp 0x1002d07e
xor eax, eax
add ebx, eax
mov dword [esp + 0x1c], eax
cmp ebx, eax
jb 0x1002d824
mov eax, ebx
mov ecx, 2
mul ecx
test edx, edx
ja 0x1002d824
jb 0x1002d0a8
cmp eax, 0xffffffff
ja 0x1002d824
lea eax, [ebx + ebx]
push eax
push 0
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov edx, eax
mov dword [ebp], edx
test edx, edx
jne 0x1002d0c7
test ebx, ebx
jne 0x1002d824
jmp 0x1002d112
mov ecx, dword [esi]
test ecx, ecx
je 0x1002d0eb
mov eax, dword [esp + 0x14]
lea eax, [eax*2 + 2]
push eax
push ecx
lea eax, [ebx*2 + 2]
push eax
push edx
call fcn.10005cb0
add esp, 0x10
mov ecx, dword [edi]
test ecx, ecx
je 0x1002d112
mov eax, dword [esp + 0x1c]
lea eax, [eax*2 + 2]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [ebp]
lea eax, [eax + ecx*2]
push eax
call fcn.10005cb0
add esp, 0x10
or ebx, 0xffffffff
lea ecx, [esi + 8]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
jne 0x1002d156
mov eax, dword [esi]
test eax, eax
je 0x1002d134
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1002d14b
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1003c33a
add esp, 8
mov eax, ebx
lea ecx, [edi + 8]
lock xadd dword [ecx], eax
dec eax
jne 0x1002d197
mov eax, dword [edi]
test eax, eax
je 0x1002d175
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x1002d18c
push eax
call fcn.1003b898
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.1003c33a
add esp, 8
push 0xc
call fcn.1003c33a
mov edi, eax
add esp, 4
test edi, edi
je 0x1002d824
push 0x1004214c
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call fcn.1003c33a
push 0xc
mov dword [edi], eax
call fcn.1003c33a
mov esi, eax
add esp, 4
test esi, esi
je 0x1002d824
mov dword [esi + 4], 0
mov dword [esi + 8], 1
mov eax, dword [ebp]
test eax, eax
je 0x1002d1fd
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ebx, eax
mov dword [esp + 0x14], eax
jmp 0x1002d203
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov eax, dword [edi]
test eax, eax
je 0x1002d212
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
jmp 0x1002d214
xor eax, eax
add ebx, eax
mov dword [esp + 0x1c], eax
cmp ebx, eax
jb 0x1002d824
mov eax, ebx
mov ecx, 2
mul ecx
test edx, edx
ja 0x1002d824
jb 0x1002d23e
cmp eax, 0xffffffff
ja 0x1002d824
lea eax, [ebx + ebx]
push eax
push 0
mov dword [esp + 0x18], eax
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov ecx, eax
mov dword [esi], ecx
test ecx, ecx
jne 0x1002d260
test ebx, ebx
jne 0x1002d824
jmp 0x1002d2a7
mov edx, dword [ebp]
mov ebx, dword [esp + 0x14]
test edx, edx
je 0x1002d285
lea eax, [ebx*2 + 2]
push eax
mov eax, dword [esp + 0x14]
push edx
add eax, 2
push eax
push ecx
call fcn.10005cb0
add esp, 0x10
mov ecx, dword [edi]
test ecx, ecx
je 0x1002d2a7
mov eax, dword [esp + 0x1c]
lea eax, [eax*2 + 2]
push eax
push ecx
push eax
mov eax, dword [esi]
lea eax, [eax + ebx*2]
push eax
call fcn.10005cb0
add esp, 0x10
or ebx, 0xffffffff
lea ecx, [ebp + 8]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
jne 0x1002d2ed
mov eax, dword [ebp]
test eax, eax
je 0x1002d2cb
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp], 0
mov eax, dword [ebp + 4]
test eax, eax
je 0x1002d2e2
push eax
call fcn.1003b898
add esp, 4
mov dword [ebp + 4], 0
push 0xc
push ebp
call fcn.1003c33a
add esp, 8
mov dword [esp + 0x14], esi
lea ecx, [edi + 8]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
jne 0x1002d332
mov eax, dword [edi]
test eax, eax
je 0x1002d310
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x1002d327
push eax
call fcn.1003b898
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.1003c33a
add esp, 8
mov ebp, dword [esp + 0x24]
mov ecx, ebp
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002d340
sub ecx, edx
lea eax, [esp + 0x268]
sar ecx, 1
push ecx
push ebp
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x1002d76a
push 0xc
call fcn.1003c33a
mov edi, eax
add esp, 4
test edi, edi
je 0x1002d824
push str._MATCH_
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call fcn.1003c33a
push 0xc
mov dword [edi], eax
call fcn.1003c33a
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1002d824
mov dword [ebx + 4], 0
mov dword [ebx + 8], 1
mov eax, dword [esi]
test eax, eax
je 0x1002d3cf
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ebp, eax
mov dword [esp + 0x1c], eax
jmp 0x1002d3d5
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov eax, dword [edi]
test eax, eax
je 0x1002d3e4
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
jmp 0x1002d3e6
xor eax, eax
add ebp, eax
mov dword [esp + 0x10], eax
cmp ebp, eax
jb 0x1002d824
mov eax, ebp
mov ecx, 2
mul ecx
test edx, edx
ja 0x1002d824
jb 0x1002d410
cmp eax, 0xffffffff
ja 0x1002d824
lea eax, [ebp*2]
push eax
push 0
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov ecx, eax
mov dword [ebx], ecx
test ecx, ecx
jne 0x1002d432
test ebp, ebp
jne 0x1002d824
jmp 0x1002d478
mov edx, dword [esi]
mov esi, dword [esp + 0x1c]
test edx, edx
je 0x1002d456
lea eax, [esi*2 + 2]
push eax
push edx
lea eax, [ebp*2 + 2]
push eax
push ecx
call fcn.10005cb0
add esp, 0x10
mov ecx, dword [edi]
test ecx, ecx
je 0x1002d478
mov eax, dword [esp + 0x10]
lea eax, [eax*2 + 2]
push eax
push ecx
push eax
mov eax, dword [ebx]
lea eax, [eax + esi*2]
push eax
call fcn.10005cb0
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.10002020
mov esi, ebx
lea ecx, [edi + 8]
mov dword [esp + 0x14], esi
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
jne 0x1002d4c9
mov eax, dword [edi]
test eax, eax
je 0x1002d4a7
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x1002d4be
push eax
call fcn.1003b898
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.1003c33a
add esp, 8
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x28]
or eax, 0x2001f
mov dword [esp + 0x28], 0
push eax
lea eax, [esp + 0x26c]
mov dword [esp + 0x30], 0
push eax
push dword [esp + 0x3c]
mov dword [esp + 0x3c], 0
call fcn.10003a10
mov ebx, eax
test ebx, ebx
je 0x1002d51e
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1002d5bb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1002d5b3
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x48]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0x100
push eax
lea eax, [esp + 0x7c]
push eax
push 0
push edi
call ebp
test eax, eax
jne 0x1002d58a
nop
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x2c]
call fcn.10003b40
mov ebx, eax
test ebx, ebx
jne 0x1002d506
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x48]
push eax
push ebx
push ebx
push ebx
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0x100
push eax
lea eax, [esp + 0x7c]
push eax
push ebx
push edi
call ebp
test eax, eax
je 0x1002d550
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x1002d599
push edi
call ebp
xor edi, edi
lea eax, [esp + 0x268]
push eax
lea ecx, [esp + 0x38]
call fcn.10003850
mov ebx, eax
test edi, edi
je 0x1002d5bb
push edi
call ebp
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
test ebx, ebx
je 0x1002d775
push 0xc
call fcn.1003c33a
mov esi, eax
add esp, 4
test esi, esi
je 0x1002d5f7
push str.__error_code
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.1003c33a
mov dword [esi], eax
jmp 0x1002d5f9
xor esi, esi
mov dword [esp + 0x10], esi
test esi, esi
je 0x1002d824
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
call fcn.10003700
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 8], eax
dec eax
jne 0x1002d655
mov eax, dword [esi]
test eax, eax
je 0x1002d633
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1002d64a
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1003c33a
add esp, 8
mov eax, 0x13
mov dword [esp + 0x58], 0
mov word [esp + 0x50], ax
lea ecx, [esp + 0x40]
lea eax, [esp + 0x50]
push eax
call fcn.10015c90
push eax
lea ecx, [esp + 0x18]
call fcn.10003700
mov esi, dword [esp + 0x40]
test esi, esi
je 0x1002d6d2
mov eax, ebx
lock xadd dword [esi + 8], eax
dec eax
jne 0x1002d6ca
test esi, esi
je 0x1002d6ca
mov eax, dword [esi]
test eax, eax
je 0x1002d6a8
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1002d6bf
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1003c33a
add esp, 8
mov dword [esp + 0x40], 0
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push 0xc
call fcn.1003c33a
mov esi, eax
add esp, 4
test esi, esi
je 0x1002d709
push 0x10044174
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.1003c33a
mov dword [esi], eax
jmp 0x1002d70b
xor esi, esi
mov dword [esp + 0x10], esi
test esi, esi
je 0x1002d824
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
call fcn.10003700
mov eax, ebx
lock xadd dword [esi + 8], eax
dec eax
jne 0x1002d764
mov eax, dword [esi]
test eax, eax
je 0x1002d742
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1002d759
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1003c33a
add esp, 8
mov esi, dword [esp + 0x14]
jmp 0x1002d778
mov ebp, dword [esp + 0x18]
inc ebp
mov dword [esp + 0x18], ebp
jmp 0x1002d77c
or ebx, 0xffffffff
mov ebp, dword [esp + 0x18]
test esi, esi
je 0x1002d784
mov eax, dword [esi]
jmp 0x1002d786
xor eax, eax
push eax
call fcn.10003ca0
mov edi, dword [esp + 0x38]
add esp, 4
mov dword [esp + 0x44], 0x800
test esi, esi
je 0x1002cfa0
mov eax, ebx
lock xadd dword [esi + 8], eax
dec eax
jne 0x1002cfa0
mov eax, dword [esi]
test eax, eax
je 0x1002d7c4
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1002d7db
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1003c33a
add esp, 8
jmp 0x1002cf9c
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x1002d7fa
push edi
call ebp
xor edi, edi
mov eax, 1
test edi, edi
je 0x1002d80b
push edi
call ebp
mov eax, 1
mov ecx, dword [esp + 0x1268]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003b4ee
add esp, 0x125c
ret
push 0x8007000e
call fcn.1003c33a
int3