Function at 0x1001eeab
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x1006e290
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1008ab54]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.10001d80
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x18], esi
xor ebp, ebp
mov dword [esp + 0x30], ebp
cmp dword [esi - 4], 1
jle 0x1001ee9f
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [esp + 0x1c]
call fcn.10001bc0
mov esi, dword [esp + 0x18]
cmp edi, 4
ja case.0x1001eea4.1
jmp dword [edi*4 + 0x1001f078]
mov eax, reloc.OLEAUT32.dll_SysReAllocString
jmp 0x1001eecc
mov eax, VariantClear
jmp 0x1001eecc
mov eax, reloc.WS2_32.dll_closesocket
jmp 0x1001eecc
mov eax, SysReAllocString
jmp 0x1001eecc
mov eax, SysReAllocString
lea edx, [esp + 0x24]
push edx
push 0x20019
push ebp
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
je 0x1001ef1d
lea eax, [esi - 0x10]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001ef07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
xor ecx, ecx
mov ebx, 0x104
mov eax, ebx
mov edx, 2
mul edx
seto cl
mov dword [esp + 0x1c], ebp
neg ecx
or ecx, eax
push ecx
call fcn.1003efb3
add esp, 4
push ebx
mov ebp, eax
push 0
push ebp
call fcn.1004b150
add esp, 0xc
mov dword [esp + 0x3c], 0
jmp 0x1001ef60
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
push ebp
push ecx
push edx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1001efef
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call fcn.10001890
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x30], 1
mov esi, dword [ecx + 4]
mov eax, dword [esi + 4]
lea edx, [esp + 0x20]
push edx
push eax
push esi
call fcn.1001f980
mov ecx, dword [esp + 0x38]
mov edi, eax
call fcn.1001fa20
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001f023
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add dword [esp + 0x3c], 1
jmp 0x1001ef60
cmp eax, 0xea
push ebp
jne 0x1001f02d
add ebx, ebx
call fcn.1003efae
xor ecx, ecx
add esp, 4
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1003efb3
add esp, 4
sub dword [esp + 0x3c], 1
mov ebp, eax
add dword [esp + 0x3c], 1
jmp 0x1001ef60
call fcn.1003efae
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001f05d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret