Function at 0x10094d40
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2484
call fcn.10126240
mov eax, dword [0x1017455c]
xor eax, esp
mov dword [esp + 0x2480], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x3ff
lea eax, [esp + 0x145d]
push ebx
push eax
mov byte [esp + 0x1464], bl
call fcn.10116880
add esp, 0xc
push 0x3ff
lea ecx, [esp + 0x83d]
push ebx
push ecx
mov byte [esp + 0x844], bl
call fcn.10116880
add esp, 0xc
push 0x40f
lea edx, [esp + 0x1c6d]
push ebx
push edx
mov byte [esp + 0x1c74], bl
call fcn.10116880
add esp, 0xc
push 0x40f
lea eax, [esp + 0x104d]
push ebx
push eax
mov byte [esp + 0x1054], bl
call fcn.10116880
add esp, 0xc
push 0x40f
lea ecx, [esp + 0x185d]
push ebx
push ecx
mov byte [esp + 0x1864], bl
call fcn.10116880
add esp, 0xc
push 0x40f
lea edx, [esp + 0x207d]
push ebx
push edx
mov byte [esp + 0x2084], bl
call fcn.10116880
add esp, 0xc
cmp dword [0x1018e0b4], 0xffffffff
jne 0x10094e2f
call sym.EncDec.dll_isRunningAsAdministrator
mov dword [0x1018e0b4], eax
cmp eax, 0xffffffff
jne 0x10094e2f
mov dword [0x1018e0b4], ebx
cmp dword [0x10191cb8], ebx
jne 0x100950a9
lea eax, [esp + 0x1048]
push str.Interface
push eax
call fcn.1010d6a8
add esp, 8
lea ecx, [esp + 0x14]
push ecx
push 9
push ebx
lea edx, [esp + 0x1054]
push edx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, ebx
jne 0x100950a9
mov dword [esp + 0x10], ebx
cmp dword [0x10191cb8], ebx
jne 0x100950a9
lea esp, [esp]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push 0x410
lea eax, [esp + 0x1c]
push eax
push ecx
push edx
mov byte [esp + 0x28], bl
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x1009509e
cmp dword [0x10191874], ebx
je 0x10094ec9
push 0x10191c8c
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
inc dword [0x10191cbc]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x42c]
push ecx
call esi
cmp byte [esp + 0x428], bl
je 0x10095079
lea edx, [esp + 0x428]
call fcn.1006e8d0
test eax, eax
je 0x10095079
push edx
lea edi, [esp + 0x83c]
lea ebx, [esp + 0x145c]
call fcn.10094a90
add esp, 4
test eax, eax
je 0x10095077
mov eax, ebx
push eax
lea ecx, [esp + 0xc3c]
push ecx
call esi
cmp byte [esp + 0xc38], 0
je 0x10095077
lea edx, [esp + 0xc38]
call fcn.1006e8d0
test eax, eax
je 0x10095077
push edx
call fcn.10094750
add esp, 4
mov byte [esp + 0x18], 0
test eax, eax
je 0x10094fa9
lea eax, [esp + 0x18]
push eax
lea edi, [esp + 0xc3c]
call fcn.10109250
add esp, 4
test eax, eax
jne 0x10095077
xor edi, edi
lea esi, [esp + 0x18]
call fcn.10014dd0
test eax, eax
jne 0x10095077
mov edi, esi
call fcn.10014390
test eax, eax
jne 0x10095077
cmp byte [esp + 0x18], al
jne 0x10094fda
mov ecx, dword [str.INVALID_TYPE_LIB]
mov edx, dword [0x10160b44]
mov eax, dword [0x10160b48]
mov dword [esp + 0x18], ecx
mov ecx, dword [0x10160b4c]
mov dword [esp + 0x1c], edx
mov dl, byte [0x10160b50]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov byte [esp + 0x28], dl
lea eax, [esp + 0x428]
push eax
lea ecx, [esp + 0x185c]
push str.HKCRInterface_s
push ecx
call fcn.1010d6a8
add esp, 0xc
cmp dword [0x10191874], 0
je 0x1009500b
push 0x10191cac
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
inc dword [0x10191cc4]
cmp dword [0x1018e0b4], 0xffffffff
jne 0x10095033
call sym.EncDec.dll_isRunningAsAdministrator
mov dword [0x1018e0b4], eax
cmp eax, 0xffffffff
jne 0x10095033
mov dword [0x1018e0b4], 0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x10152f0c
lea edx, [esp + 0x83c]
push edx
call esi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x83c]
push ecx
call esi
lea edx, [esp + 0x838]
push edx
push 1
push 0xf
mov ecx, str.HKCRInterface
lea ebx, [esp + 0x434]
call fcn.10093730
add esp, 0xc
xor ebx, ebx
inc dword [esp + 0x10]
cmp dword [0x10191cb8], ebx
je 0x10094e90
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2480]
xor ecx, esp
call fcn.1010d699
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x248c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1010d699
mov esp, ebp
pop ebp
ret