Function at 0x10094727
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x268
mov eax, 0x1017d5ab
call fcn.1015f0f4
mov eax, ecx
mov dword [ebp - 0x250], eax
xor ecx, ecx
mov ebx, ecx
mov dword [ebp - 0x254], ebx
mov dword [eax], 0x100021e0
mov dword [ebp - 0x274], eax
mov dword [eax + 4], ecx
lea edi, [eax + 8]
mov dword [eax], 0x10012ed8
mov dword [ebp - 4], ecx
mov dword [edi], ecx
add eax, 0x10
mov dword [ebp - 0x240], eax
mov dword [eax], ecx
lea eax, [ebp - 0x234]
push eax
push 0x20019
push ecx
push 0x10012b10
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 4], 2
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x238], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10094874
cmp eax, 2
je 0x10094874
cmp dword [ebp - 0x234], ebx
je 0x100947c2
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x2018
call fcn.1014b6df
mov esi, eax
pop ecx
mov dword [ebp - 0x258], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x1009480e
lea eax, [ebp - 0x260]
push 0x17a
push eax
call fcn.1014b6df
pop ecx
pop ecx
mov ecx, dword [eax]
xor ebx, ebx
inc ebx
mov byte [ebp - 4], 4
mov dword [ebp - 0x254], ebx
call fcn.100b7787
push eax
mov ecx, esi
call fcn.1014b6df
jmp 0x10094810
xor eax, eax
mov dword [ebp - 0x264], eax
test eax, eax
je 0x10094824
xor ecx, ecx
add eax, 4
inc ecx
lock xadd dword [eax], ecx
lea eax, [ebp - 0x264]
push eax
push 0x10013070
push 0x56
push 0x10013020
mov dword [ebp - 4], 6
call fcn.1014b6df
jmp 0x10094845
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 5
call fcn.10053649
mov dword [ebp - 4], 2
test bl, 1
je 0x10094874
and ebx, 0xfffffffe
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x254], ebx
call fcn.10053649
lea eax, [ebp - 0x238]
push eax
push 0x20019
push 0
push 0x10012b68
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10094974
cmp eax, 2
je 0x10094974
cmp dword [ebp - 0x234], 0
je 0x100948b8
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x238], 0
je 0x100948cd
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x2018
call fcn.1014b6df
mov esi, eax
pop ecx
mov dword [ebp - 0x260], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x10094919
lea eax, [ebp - 0x244]
push 0x17a
push eax
call fcn.1014b6df
pop ecx
pop ecx
mov ecx, dword [eax]
or ebx, 2
mov byte [ebp - 4], 8
mov dword [ebp - 0x254], ebx
call fcn.100b7787
push eax
mov ecx, esi
call fcn.1014b6df
jmp 0x1009491b
xor eax, eax
mov dword [ebp - 0x270], eax
test eax, eax
je 0x1009492f
xor ecx, ecx
add eax, 4
inc ecx
lock xadd dword [eax], ecx
lea eax, [ebp - 0x270]
push eax
push 0x10013070
push 0x63
push 0x10013020
mov dword [ebp - 4], 0xa
call fcn.1014b6df
jmp 0x10094950
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 9
call fcn.10053649
push 2
pop eax
mov dword [ebp - 4], eax
test al, bl
je 0x10094974
lea ecx, [ebp - 0x244]
call fcn.10053649
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor ebx, ebx
mov dword [ebp - 0x248], ebx
cmp dword [ebp - 0x234], ebx
je 0x100949a3
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x248]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x234]
call esi
mov ecx, ebx
mov dword [ebp - 0x23c], ecx
cmp dword [ebp - 0x238], ecx
je 0x100949d2
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x23c]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x238]
call esi
mov ecx, dword [ebp - 0x23c]
mov esi, dword [ebp - 0x248]
push 0x18
add esi, ecx
call fcn.1014b6df
pop ecx
mov dword [ebp - 0x244], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x100949fa
push esi
mov ecx, eax
call fcn.100558a7
jmp 0x100949fc
mov eax, ebx
mov dword [ebp - 0x25c], eax
test eax, eax
je 0x10094a10
xor ecx, ecx
add eax, 4
inc ecx
lock xadd dword [eax], ecx
lea eax, [ebp - 0x25c]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xc
call fcn.1014b6df
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 2
call fcn.10053649
mov eax, dword [ebp - 0x250]
mov esi, ebx
mov dword [eax + 0xc], ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x24c], 0xff
cmp dword [ebp - 0x248], esi
jbe 0x10094ad3
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push dword [ebp - 0x234]
mov dword [ebp - 0x24c], 0xff
call ebx
test eax, eax
jne 0x10094aca
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
js 0x10094aca
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x26c]
call fcn.1014b6df
mov ecx, dword [edi]
lea eax, [ebp - 0x26c]
push eax
mov byte [ebp - 4], 0xd
call fcn.1014b6df
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 2
call fcn.10053649
inc esi
cmp esi, dword [ebp - 0x248]
jb 0x10094a54
xor esi, esi
cmp dword [ebp - 0x23c], esi
jbe 0x10094b66
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push dword [ebp - 0x238]
mov dword [ebp - 0x24c], 0xff
call ebx
test eax, eax
jne 0x10094b59
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
js 0x10094b59
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x268]
call fcn.1014b6df
mov ecx, dword [edi]
lea eax, [ebp - 0x268]
push eax
mov byte [ebp - 4], 0xe
call fcn.1014b6df
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 2
call fcn.10053649
inc esi
cmp esi, dword [ebp - 0x23c]
jb 0x10094ae1
push 0x18
call fcn.1014b6df
pop ecx
mov ecx, eax
mov dword [ebp - 0x244], ecx
mov byte [ebp - 4], 0xf
test ecx, ecx
je 0x10094b8a
mov eax, dword [edi]
push dword [eax + 0x10]
call fcn.100955ef
jmp 0x10094b8c
xor eax, eax
mov dword [ebp - 0x258], eax
test eax, eax
je 0x10094ba0
xor ecx, ecx
add eax, 4
inc ecx
lock xadd dword [eax], ecx
mov ecx, dword [ebp - 0x240]
lea eax, [ebp - 0x258]
push eax
mov byte [ebp - 4], 0x10
call fcn.1014b6df
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 2
call fcn.10053649
mov eax, dword [edi]
mov ebx, dword [ebp - 0x250]
xor esi, esi
cmp dword [eax + 0x10], esi
jle 0x10094c61
push 0x38
call fcn.1014b6df
mov edi, eax
pop ecx
mov dword [ebp - 0x244], edi
mov byte [ebp - 4], 0x11
test edi, edi
je 0x10094c18
mov ecx, dword [ebx + 8]
push esi
add ecx, 8
call fcn.1005c234
mov eax, dword [eax]
test eax, eax
jne 0x10094c09
mov eax, 0x10007820
jmp 0x10094c0c
add eax, 8
push eax
mov ecx, edi
call fcn.1014b6df
mov edx, eax
jmp 0x10094c1a
xor edx, edx
mov dword [ebp - 0x240], edx
test edx, edx
je 0x10094c2e
xor ecx, ecx
lea eax, [edx + 4]
inc ecx
lock xadd dword [eax], ecx
mov byte [ebp - 4], 0x12
test edx, edx
je 0x10094c45
mov ecx, dword [ebx + 0x10]
lea eax, [ebp - 0x240]
push eax
call fcn.1014b6df
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 2
call fcn.10053649
mov eax, dword [ebx + 8]
inc esi
cmp esi, dword [eax + 0x10]
jl 0x10094bd8
cmp dword [ebp - 0x234], 0
je 0x10094c76
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x238], 0
je 0x10094c8b
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
call fcn.1015f177
ret