Function at 0x6d5aa330
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x3044
call fcn.6d5ca7f0
mov eax, dword [0x6d5e2a5c]
xor eax, esp
mov dword [esp + 0x3040], eax
mov eax, dword [esp + 0x3048]
mov ecx, dword [esp + 0x304c]
push ebp
push esi
push 0xffe
mov dword [esp + 0x34], eax
xor ebp, ebp
lea eax, [esp + 0x4e]
xor edx, edx
push ebp
push eax
mov dword [esp + 0x40], ecx
mov word [esp + 0x54], dx
call sub.MSVCR100.dll_memset
push 0xffe
lea edx, [esp + 0x205a]
xor ecx, ecx
push ebp
push edx
mov word [esp + 0x2060], cx
call sub.MSVCR100.dll_memset
push 0xffe
lea ecx, [esp + 0x1066]
xor eax, eax
push ebp
mov esi, 0x800
push ecx
mov dword [esp + 0x34], esi
mov word [esp + 0x106c], ax
call sub.MSVCR100.dll_memset
add esp, 0x24
push 0x20019
push str.SOFTWAREMozillaMozilla_Firefox
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x38], ebp
call fcn.6d593190
test eax, eax
je 0x6d5aa416
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x6d5aa3fa
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x3040]
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0x3044
ret
push ebx
push edi
mov edi, dword [esp + 0x1c]
lea edx, [esp + 0x40]
push edx
push ebp
push ebp
push ebp
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x2064]
push ecx
push ebp
push edi
mov dword [esp + 0x50], ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebp
jne 0x6d5aa709
lea edx, [esp + 0x50]
push edx
call fcn.6d5951a0
lea eax, [esp + 0x2054]
push eax
push str.SOFTWAREMozillaMozilla_Firefox_sMain
lea ecx, [esp + 0x5c]
push 0x800
push ecx
call dword [sym.imp.MSVCR100.dll_swprintf_s]
mov ebx, dword [esp + 0x38]
add esp, 0x14
mov dword [esp + 0x10], ebp
cmp ebx, ebp
je 0x6d5aa4d9
cmp dword [ebx], ebp
je 0x6d5aa4c2
push str.Advapi32.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
cmp eax, ebp
jne 0x6d5aa495
mov eax, 1
jmp 0x6d5aa4f4
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
cmp eax, ebp
je 0x6d5aa48e
mov edx, dword [ebx]
push ebp
push edx
lea ecx, [esp + 0x18]
push ecx
push 0x20019
push ebp
lea edx, [esp + 0x64]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call eax
jmp 0x6d5aa4f4
cmp dword [ebx + 4], ebp
je 0x6d5aa48e
lea eax, [esp + 0x10]
push eax
push 0x20019
push ebp
lea ecx, [esp + 0x5c]
push ecx
jmp 0x6d5aa4e9
lea edx, [esp + 0x10]
push edx
push 0x20019
push ebp
lea eax, [esp + 0x5c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x6d5aa6fa
xor eax, eax
cmp edi, ebp
je 0x6d5aa509
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
cmp eax, ebp
jne 0x6d5aa6f6
lea edx, [esi + esi]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], edx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x48]
push eax
push ebp
push str.Install_Directory
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebp
jne 0x6d5aa565
mov eax, dword [esp + 0x40]
cmp eax, 1
je 0x6d5aa54e
cmp eax, 2
jne 0x6d5aa565
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x6d5aa57b
test al, 1
jne 0x6d5aa565
mov ecx, eax
shr ecx, 1
cmp word [esp + ecx*2 + 0x4e], bp
je 0x6d5aa582
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x6d5aa574
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x6d5aa727
xor edx, edx
mov word [esp + 0x50], dx
shr eax, 1
push str.plugins
mov dword [esp + 0x18], eax
lea eax, [esp + 0x54]
push eax
push str._s_s
lea ecx, [esp + 0x105c]
push 0x800
push ecx
call dword [sym.imp.MSVCR100.dll_swprintf_s]
push str.npDeployJava1.dll
lea edx, [esp + 0x1068]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.6d5a83a0
mov eax, dword [eax]
add esp, 0x20
cmp eax, ebp
je 0x6d5aa5ce
mov eax, dword [eax]
jmp 0x6d5aa5d0
xor eax, eax
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
push eax
push 1
push esi
call fcn.6d5a97a0
mov eax, dword [esp + 0x38]
add esp, 0xc
cmp eax, ebp
je 0x6d5aa62a
mov ebx, eax
add eax, 8
push eax
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x6d5aa626
cmp ebx, ebp
je 0x6d5aa626
mov eax, dword [ebx]
cmp eax, ebp
je 0x6d5aa60d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx + 4]
cmp eax, ebp
je 0x6d5aa61d
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push ebx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x2c], ebp
push str.npdeploytk.dll
lea ecx, [esp + 0x1054]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.6d5a83a0
mov eax, dword [eax]
add esp, 0xc
cmp eax, ebp
je 0x6d5aa64e
mov ebx, dword [eax]
jmp 0x6d5aa650
xor ebx, ebx
push ebx
call fcn.6d5a91f0
add esp, 4
test eax, eax
je 0x6d5aa66f
push ebp
push ebp
push ebp
push ebp
push ebx
push ebp
push 1
push 2
call fcn.6d5a9450
add esp, 0x20
mov ebx, dword [esp + 0x28]
cmp ebx, ebp
je 0x6d5aa6b3
lea eax, [ebx + 8]
push eax
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x6d5aa6af
cmp ebx, ebp
je 0x6d5aa6af
mov eax, dword [ebx]
cmp eax, ebp
je 0x6d5aa696
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx + 4]
cmp eax, ebp
je 0x6d5aa6a6
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push ebx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x48]
push ecx
push ebp
push ebp
push ebp
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x2064]
inc eax
push ecx
push eax
push edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x38], 0x800
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, dword [esp + 0x1c]
cmp eax, ebp
jne 0x6d5aa709
mov esi, dword [esp + 0x14]
jmp 0x6d5aa445
mov edi, dword [esp + 0x1c]
cmp edi, ebp
je 0x6d5aa705
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x6d5aa727
cmp eax, 0x103
jne 0x6d5aa718
mov dword [esp + 0x34], 1
cmp edi, ebp
je 0x6d5aa723
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3050]
pop edi
pop ebx
pop esi
pop ebp
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0x3044
ret