Function at 0x6d5aa740
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x1040
call fcn.6d5ca7f0
mov eax, dword [0x6d5e2a5c]
xor eax, esp
mov dword [esp + 0x103c], eax
mov eax, dword [esp + 0x1048]
push ebx
xor ebx, ebx
push edi
mov edi, dword [esp + 0x104c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
cmp eax, ebx
jne 0x6d5aa797
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x103c]
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0x1040
ret
push ebp
push esi
push 0xf003f
push edi
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x30]
call fcn.6d593190
cmp eax, ebx
je 0x6d5aa882
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x6d5aa84e
mov ebp, 1
push str.__wipeRegistry__
mov dword [esi + 4], ebx
mov dword [esi + 8], ebp
call fcn.6d5ca1c9
push edi
lea ecx, [esp + 0x1c]
mov dword [esi], eax
mov dword [esp + 0x14], esi
call fcn.6d592e00
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
call fcn.6d594760
lea ecx, [esp + 0x18]
call fcn.6d592330
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x6d5aa84e
push str.____Nothing_to_do.
mov dword [esi + 4], ebx
mov dword [esi + 8], ebp
call fcn.6d5ca1c9
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
mov dword [esi], eax
mov dword [esp + 0x1c], esi
call fcn.6d594760
lea ecx, [esp + 0x18]
call fcn.6d592330
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x6d5aa858
mov eax, dword [eax]
jmp 0x6d5aa85a
push 0x8007000e
call fcn.6d5ca1c9
xor eax, eax
push eax
call fcn.6d5951a0
add esp, 4
lea ecx, [esp + 0x10]
call fcn.6d592330
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x6d5aa87b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
jmp 0x6d5aac35
mov ebp, dword [sym.imp.kernel32.dll_InterlockedDecrement]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0x800
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x1c]
push ebx
push ebx
push ebx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x60]
push ecx
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x6d5aac25
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x6d5aa84e
push str.__checking_mozilla_plugin_
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
call fcn.6d5ca1c9
push 0xc
mov dword [esi], eax
mov dword [esp + 0x14], esi
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x6d5aa84e
lea eax, [esp + 0x4c]
lea edi, [esi + 8]
push eax
mov dword [esi + 4], ebx
mov dword [edi], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
cmp eax, ebx
je 0x6d5aa84e
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], esi
call fcn.6d594760
push edi
call ebp
test eax, eax
jne 0x6d5aa95c
mov eax, dword [esi]
cmp eax, ebx
je 0x6d5aa943
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x6d5aa953
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x6d5aa84e
lea edi, [esi + 8]
push 0x6d5d2020
mov dword [esi + 4], ebx
mov dword [edi], 1
call fcn.6d5ca1c9
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
mov dword [esi], eax
mov dword [esp + 0x18], esi
call fcn.6d594760
push edi
call ebp
test eax, eax
jne 0x6d5aa9c7
mov eax, dword [esi]
cmp eax, ebx
je 0x6d5aa9ae
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x6d5aa9be
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x30]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x6d5aa9d0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x50]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x6d5aabc1
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x6d5aa84e
lea edi, [esi + 8]
push str._MATCH_
mov dword [esi + 4], ebx
mov dword [edi], 1
call fcn.6d5ca1c9
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
mov dword [esi], eax
mov dword [esp + 0x18], esi
call fcn.6d594760
push edi
call ebp
test eax, eax
jne 0x6d5aaa62
mov eax, dword [esi]
cmp eax, ebx
je 0x6d5aaa49
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x6d5aaa59
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x28]
call fcn.6d593d00
test eax, eax
je 0x6d5aabc5
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x6d5aa84e
lea edi, [esi + 8]
push str.__error_code
mov dword [esi + 4], ebx
mov dword [edi], 1
call fcn.6d5ca1c9
mov dword [esi], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], esi
call fcn.6d594760
push edi
call ebp
test eax, eax
jne 0x6d5aaae3
mov eax, dword [esi]
cmp eax, ebx
je 0x6d5aaaca
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x6d5aaada
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, 0x13
lea edx, [esp + 0x34]
mov word [esp + 0x34], cx
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], ebx
call fcn.6d5a8310
push eax
lea ecx, [esp + 0x14]
call fcn.6d594760
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x6d5aab49
lea eax, [esi + 8]
push eax
call ebp
test eax, eax
jne 0x6d5aab45
cmp esi, ebx
je 0x6d5aab45
mov eax, dword [esi]
cmp eax, ebx
je 0x6d5aab2c
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x6d5aab3c
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x6d5aa84e
lea edi, [esi + 8]
push 0x6d5d2014
mov dword [esi + 4], ebx
mov dword [edi], 1
call fcn.6d5ca1c9
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
mov dword [esi], eax
mov dword [esp + 0x18], esi
call fcn.6d594760
push edi
call ebp
test eax, eax
jne 0x6d5aabc5
mov eax, dword [esi]
cmp eax, ebx
je 0x6d5aaba6
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x6d5aabb6
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x6d5aabc5
inc dword [esp + 0x18]
mov esi, dword [esp + 0x10]
cmp esi, ebx
je 0x6d5aabd1
mov eax, dword [esi]
jmp 0x6d5aabd3
xor eax, eax
push eax
call fcn.6d5951a0
add esp, 4
mov dword [esp + 0x1c], 0x800
cmp esi, ebx
je 0x6d5aa894
lea eax, [esi + 8]
push eax
call ebp
test eax, eax
jne 0x6d5aa894
mov eax, dword [esi]
cmp eax, ebx
je 0x6d5aac07
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x6d5aac17
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x6d5aa894
cmp esi, ebx
je 0x6d5aac30
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x104c]
pop esi
pop ebp
pop edi
pop ebx
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0x1040
ret