Function at 0x6d7a2ecb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x2790]
mov eax, 0x2810
call fcn.6d7b89f0
mov eax, dword [0x6d7f05c8]
xor eax, ebp
mov dword [ebp + 0x278c], eax
push ebx
mov ebx, dword [ebp + 0x2798]
mov eax, dword [ebx]
push esi
mov byte [eax], 0
mov eax, dword [ebx + 4]
push edi
mov byte [eax], 0
mov esi, 0x800
push esi
lea eax, [ebp - 0x74]
push eax
push 0
mov word [ebx + 8], 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
push esi
lea eax, [ebp + 0xf8c]
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.kernel32.dll_GetLongPathNameA]
lea eax, [ebp + 0xf8c]
push eax
call fcn.6d7c9aaf
mov dword [esp], str.firefox.exe
push eax
call fcn.6d7b8cf0
pop ecx
pop ecx
test eax, eax
je 0x6d7a2f4c
push 2
pop edi
jmp 0x6d7a2f4f
mov edi, dword [ebp - 0x80]
lea eax, [ebp + 0xf8c]
push eax
call fcn.6d7c9aaf
mov dword [esp], 0x6d7e3174
push eax
call fcn.6d7b8cf0
pop ecx
pop ecx
test eax, eax
je 0x6d7a2f71
xor edi, edi
inc edi
lea eax, [ebp + 0xf8c]
push eax
call fcn.6d7c9aaf
mov dword [esp], str.iexplore.exe
push eax
call fcn.6d7b8cf0
pop ecx
pop ecx
test eax, eax
je 0x6d7a2f92
xor edi, edi
lea eax, [ebp - 0x78]
push eax
push 0x20019
push 0
push 0x6d7e3190
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp + 0x1f8c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d7a31e3
cmp edi, 2
jne 0x6d7a3057
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x1f8c]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push str.BrowserJavaVersion
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6d7a3011
lea eax, [ebp + 0x1f8c]
push eax
push esi
push dword [ebx]
call fcn.6d7c9aaf
push dword [ebx + 4]
lea eax, [ebp + 0x1f8c]
push eax
call fcn.6d7a2c42
add esp, 0x14
jmp 0x6d7a31c8
mov eax, dword [ebx]
mov byte [eax], 0
push esi
push dword [ebx]
call fcn.6d7a76ae
mov eax, dword [ebx]
pop ecx
pop ecx
test eax, eax
je 0x6d7a31e3
cmp byte [eax], 0
je 0x6d7a31e3
push dword [ebx + 4]
push eax
call fcn.6d7a2c42
pop ecx
pop ecx
test al, al
jne 0x6d7a31cc
mov eax, dword [ebx]
mov byte [eax], 0
mov eax, dword [ebx + 4]
mov byte [eax], 0
mov word [ebx + 8], 0
cmp edi, 1
jne 0x6d7a31e3
push 0x7ff
lea eax, [ebp + 0x178d]
push 0
push eax
mov byte [ebp + 0x178c], 0
call fcn.6d7b8a20
lea eax, [ebp + 0xf8c]
push eax
lea eax, [ebp + 0x178c]
push esi
push eax
call fcn.6d7c9aaf
lea eax, [ebp + 0x178c]
push 0x6d7e31d0
push eax
call fcn.6d7b8cf0
add esp, 0x20
test eax, eax
je 0x6d7a30d7
lea eax, [ebp + 0x178c]
push str.mozilla.exe
push eax
call fcn.6d7b8cf0
pop ecx
lea edi, [ebp + 0x178c]
pop ecx
mov byte [eax], 0
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x6d7a30c3
mov esi, str.plugins
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x800
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x1f8c]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push 0x6d7e31f0
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6d7a31e3
push dword [ebx + 4]
mov byte [ebp + 0x78c], al
lea eax, [ebp + 0x1f8c]
push eax
call fcn.6d7a2c42
pop ecx
pop ecx
test al, al
je 0x6d7a313b
push dword [ebx + 4]
call fcn.6d7c9aaf
pop ecx
test eax, eax
je 0x6d7a313b
push eax
push esi
push dword [ebx]
call fcn.6d7c9aaf
add esp, 0xc
mov byte [ebx + 8], 1
jmp 0x6d7a314c
mov eax, dword [ebx]
mov byte [eax], 0
mov eax, dword [ebx + 4]
mov byte [eax], 0
mov word [ebx + 8], 0
lea eax, [ebp + 0x78c]
push eax
push str.npoji610.dll
lea eax, [ebp + 0x178c]
push eax
lea eax, [ebp + 0x1f8c]
push eax
call fcn.6d7c9aaf
add esp, 0x10
test al, al
jne 0x6d7a31e3
cmp byte [ebp + 0x78c], al
je 0x6d7a31a3
push dword [ebx + 4]
lea eax, [ebp + 0x1f8c]
push eax
call fcn.6d7a2c42
pop ecx
pop ecx
test al, al
je 0x6d7a31a3
lea eax, [ebp + 0x78c]
push eax
push esi
push dword [ebx]
call fcn.6d7c9aaf
add esp, 0xc
jmp 0x6d7a31cc
mov eax, dword [ebx]
mov byte [eax], 0
push esi
push dword [ebx]
call fcn.6d7a76ae
mov eax, dword [ebx]
pop ecx
pop ecx
test eax, eax
je 0x6d7a31d2
cmp byte [eax], 0
je 0x6d7a31d2
push dword [ebx + 4]
push eax
call fcn.6d7a2c42
pop ecx
pop ecx
test al, al
je 0x6d7a31d2
mov byte [ebx + 8], 1
jmp 0x6d7a31e3
mov eax, dword [ebx]
mov byte [eax], 0
mov eax, dword [ebx + 4]
mov byte [eax], 0
mov word [ebx + 8], 0
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x278c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d7b886c
add ebp, 0x2790
leave
ret