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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1c94
call fcn.10126240
mov eax, dword [0x1017455c]
xor eax, esp
mov dword [esp + 0x1c90], eax
push ebx
push esi
push edi
push 0x40f
xor esi, esi
lea eax, [esp + 0x147d]
push esi
push eax
mov byte [esp + 0x1484], 0
call fcn.10116880
add esp, 0xc
push 0x40f
lea ecx, [esp + 0x43d]
push esi
push ecx
mov byte [esp + 0x444], 0
call fcn.10116880
add esp, 0xc
push 0x40f
lea edx, [esp + 0xc5d]
push esi
push edx
mov byte [esp + 0xc64], 0
call fcn.10116880
add esp, 0xc
push 0x40f
lea eax, [esp + 0x84d]
push esi
push eax
mov byte [esp + 0x854], 0
call fcn.10116880
add esp, 0xc
push 0x40f
lea ecx, [esp + 0x106d]
push esi
push ecx
mov byte [esp + 0x1074], 0
call fcn.10116880
add esp, 0xc
cmp dword [0x1018e0b4], 0xffffffff
mov dword [esp + 0x24], esi
jne 0x10093a5b
call sym.EncDec.dll_isRunningAsAdministrator
mov dword [0x1018e0b4], eax
cmp eax, 0xffffffff
jne 0x10093a5b
mov dword [0x1018e0b4], esi
cmp dword [0x10191cb8], esi
jne 0x10093deb
lea edx, [esp + 0x438]
push str.CLSID
push edx
call fcn.1010d6a8
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 8
lea eax, [esp + 0x1c]
push eax
push 9
push esi
lea ecx, [esp + 0x444]
push ecx
push closesocket
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, eax
push esi
call edi
test esi, esi
jne 0x10093deb
mov dword [esp + 0x14], esi
cmp dword [0x10191cb8], esi
jne 0x10093deb
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push 0x410
lea edx, [esp + 0x2c]
push edx
push eax
push ecx
mov byte [esp + 0x38], 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x10093de0
cmp dword [0x10191874], eax
je 0x10093af6
push 0x10191c8c
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
inc dword [0x10191cbc]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x84c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x848]
push ecx
lea edx, [esp + 0x43c]
push str.clsid_sTypeLib
push edx
mov byte [esp + 0x1894], 0
call fcn.1010d6a8
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 9
push 0
lea ecx, [esp + 0x444]
push ecx
push closesocket
call ebx
mov esi, eax
push esi
call edi
test esi, esi
jne 0x10093b87
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x188c]
push eax
lea ecx, [esp + 0x28]
push ecx
push esi
push esi
push edx
mov dword [esp + 0x30], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x848]
push ecx
lea edx, [esp + 0x43c]
push str.clsid_sInProcServer32
push edx
mov byte [esp + 0x34], 0
call fcn.1010d6a8
add esp, 0xc
lea eax, [esp + 0x848]
push eax
lea ecx, [esp + 0xc5c]
push str.HKCRCLSID_s
push ecx
call fcn.1010d6a8
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 9
push 0
lea eax, [esp + 0x444]
push eax
push closesocket
call ebx
mov esi, eax
push esi
call edi
test esi, esi
je 0x10093c46
lea ecx, [esp + 0x848]
push ecx
lea edx, [esp + 0x43c]
push str.clsid_sLocalServer32
push edx
call fcn.1010d6a8
add esp, 0xc
lea eax, [esp + 0x848]
push eax
lea ecx, [esp + 0xc5c]
push str.HKCRCLSID_s
push ecx
call fcn.1010d6a8
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 9
push 0
lea eax, [esp + 0x444]
push eax
push closesocket
call ebx
mov esi, eax
push esi
call edi
test esi, esi
jne 0x10093dba
lea ecx, [esp + 0x848]
call fcn.10094880
cmp eax, 1
jne 0x10093c67
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10093dba
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push edx
mov dword [esp + 0x30], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x20]
cmp eax, 1
je 0x10093caa
cmp eax, 2
jne 0x10093dba
cmp byte [esp + 0x28], 0
je 0x10093dba
lea edi, [esp + 0x24]
lea esi, [esp + 0x28]
call fcn.10014dd0
test eax, eax
jne 0x10093db4
mov ecx, esi
push 0x3a
push ecx
call fcn.1010d780
add esp, 8
test eax, eax
jne 0x10093d04
mov edx, esi
push 0x5c
push edx
call fcn.1010d780
add esp, 8
test eax, eax
jne 0x10093d04
mov eax, esi
push 0x2525
push eax
call fcn.1010d780
add esp, 8
test eax, eax
je 0x10093db4
lea edi, [esp + 0x28]
call fcn.10014390
test eax, eax
jne 0x10093db4
push str.AuthHost
mov ecx, edi
call fcn.10047020
add esp, 4
cmp eax, 0xffffffff
jne 0x10093db4
push str.ProxyStub
mov ecx, edi
call fcn.10047020
add esp, 4
cmp eax, 0xffffffff
jne 0x10093db4
push str.deskpan.dll
mov ecx, edi
call fcn.10047020
add esp, 4
cmp eax, 0xffffffff
jne 0x10093db4
cmp dword [0x10191874], 0
je 0x10093d69
push 0x10191cac
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
inc dword [0x10191cc4]
cmp dword [0x1018e0b4], 0xffffffff
jne 0x10093d91
call sym.EncDec.dll_isRunningAsAdministrator
mov dword [0x1018e0b4], eax
cmp eax, 0xffffffff
jne 0x10093d91
mov dword [0x1018e0b4], 0
lea ecx, [esp + 0x28]
push ecx
push 1
push 1
mov ecx, str.HKCRCLSID
lea ebx, [esp + 0x854]
call fcn.10093730
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
inc dword [esp + 0x14]
cmp dword [0x10191cb8], 0
je 0x10093abc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c90]
xor ecx, esp
call fcn.1010d699
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1c9c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1010d699
mov esp, ebp
pop ebp
ret