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

Disassembly:
mov eax, 0x3044
call fcn.100378e0
mov eax, dword [0x1004f860]
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.10003190
test eax, eax
je 0x10017ee6
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x10017eca
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.1003779c
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 0x100181d9
lea edx, [esp + 0x50]
push edx
call fcn.10004ff0
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 0x10017fa9
cmp dword [ebx], ebp
je 0x10017f92
push str.Advapi32.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
cmp eax, ebp
jne 0x10017f65
mov eax, 1
jmp 0x10017fc4
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
cmp eax, ebp
je 0x10017f5e
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 0x10017fc4
cmp dword [ebx + 4], ebp
je 0x10017f5e
lea eax, [esp + 0x10]
push eax
push 0x20019
push ebp
lea ecx, [esp + 0x5c]
push ecx
jmp 0x10017fb9
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 0x100181ca
xor eax, eax
cmp edi, ebp
je 0x10017fd9
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
cmp eax, ebp
jne 0x100181c6
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 0x10018035
mov eax, dword [esp + 0x40]
cmp eax, 1
je 0x1001801e
cmp eax, 2
jne 0x10018035
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x1001804b
test al, 1
jne 0x10018035
mov ecx, eax
shr ecx, 1
cmp word [esp + ecx*2 + 0x4e], bp
je 0x10018052
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x10018044
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x100181f7
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.10015e60
mov eax, dword [eax]
add esp, 0x20
cmp eax, ebp
je 0x1001809e
mov eax, dword [eax]
jmp 0x100180a0
xor eax, eax
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
push eax
push 1
push esi
call fcn.10017270
mov eax, dword [esp + 0x38]
add esp, 0xc
cmp eax, ebp
je 0x100180fa
mov ebx, eax
add eax, 8
push eax
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x100180f6
cmp ebx, ebp
je 0x100180f6
mov eax, dword [ebx]
cmp eax, ebp
je 0x100180dd
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx + 4]
cmp eax, ebp
je 0x100180ed
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.10015e60
mov eax, dword [eax]
add esp, 0xc
cmp eax, ebp
je 0x1001811e
mov ebx, dword [eax]
jmp 0x10018120
xor ebx, ebx
push ebx
call fcn.10016cc0
add esp, 4
test eax, eax
je 0x1001813f
push ebp
push ebp
push ebp
push ebp
push ebx
push ebp
push 1
push 2
call fcn.10016f20
add esp, 0x20
mov ebx, dword [esp + 0x28]
cmp ebx, ebp
je 0x10018183
lea eax, [ebx + 8]
push eax
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x1001817f
cmp ebx, ebp
je 0x1001817f
mov eax, dword [ebx]
cmp eax, ebp
je 0x10018166
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx + 4]
cmp eax, ebp
je 0x10018176
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 0x100181d9
mov esi, dword [esp + 0x14]
jmp 0x10017f15
mov edi, dword [esp + 0x1c]
cmp edi, ebp
je 0x100181d5
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x100181f7
cmp eax, 0x103
jne 0x100181e8
mov dword [esp + 0x34], 1
cmp edi, ebp
je 0x100181f3
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.1003779c
add esp, 0x3044
ret