Function at 0x10014cc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005523e
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x10071074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x234], eax
lea eax, [ecx + 0x18]
push eax
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x27c], ebx
mov dword [ebp - 0x278], 0
call fcn.10006500
mov dword [ebp - 4], 1
xor eax, eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
mov edi, dword [ebp - 0x25c]
lea ecx, [ebp - 0x270]
mov esi, dword [ebp - 0x270]
cmp edi, 8
mov edx, dword [ebp - 0x260]
push 1
push 0x10068d38
cmovae ecx, esi
mov dword [ebp - 0x278], 1
push eax
call fcn.100070c0
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
je 0x1001515e
xor eax, eax
mov dword [ebp - 0x23c], 0
cmp dword [ebp - 0x260], ebx
mov ecx, ebx
mov word [ebp - 0x24c], ax
lea eax, [ebp - 0x270]
cmovb ecx, dword [ebp - 0x260]
cmp edi, 8
push ecx
cmovae eax, esi
mov dword [ebp - 0x238], 7
push eax
lea ecx, [ebp - 0x24c]
call fcn.10006820
mov dword [ebp - 0x278], 3
mov byte [ebp - 4], 2
inc ebx
mov esi, dword [ebp - 0x260]
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp esi, ebx
jb 0x100151be
mov ecx, esi
lea eax, [esi - 1]
sub ecx, ebx
mov edx, 1
cmp ecx, eax
lea eax, [ebp - 0x270]
lea ecx, [ebp - 0x230]
cmovb edx, ebx
sub esi, edx
cmp dword [ebp - 0x25c], 8
push esi
cmovae eax, dword [ebp - 0x270]
lea eax, [eax + ebx*2]
push eax
call fcn.10006820
mov dword [ebp - 0x278], 7
xorps xmm0, xmm0
mov dword [ebp - 0x250], 0
movq qword [ebp - 0x258], xmm0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0
mov byte [ebp - 4], 4
lea edi, [ebp - 0x24c]
mov ebx, dword [ebp - 0x238]
cmp ebx, 8
mov esi, dword [ebp - 0x24c]
mov eax, dword [ebp - 0x23c]
cmovae edi, esi
cmp eax, 0x11
jne 0x10014ec7
mov ecx, 0x10068d3c
mov edx, eax
sub edi, ecx
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x10014ec1
add ecx, 2
sub edx, 1
jne 0x10014ea6
mov ecx, 0x80000000
jmp 0x10014fba
mov eax, dword [ebp - 0x23c]
cmp ebx, 8
lea edi, [ebp - 0x24c]
cmovae edi, esi
cmp eax, 0x11
jne 0x10014f02
mov ecx, str.HKEY_CURRENT_USER
mov edx, eax
sub edi, ecx
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x10014efc
add ecx, 2
sub edx, 1
jne 0x10014ee1
mov ecx, 0x80000001
jmp 0x10014fba
mov eax, dword [ebp - 0x23c]
cmp ebx, 8
lea edi, [ebp - 0x24c]
cmovae edi, esi
cmp eax, 0x12
jne 0x10014f41
mov ecx, str.HKEY_LOCAL_MACHINE
mov edx, eax
sub edi, ecx
nop dword [eax]
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x10014f3b
add ecx, 2
sub edx, 1
jne 0x10014f20
mov ecx, 0x80000002
jmp 0x10014fba
mov eax, dword [ebp - 0x23c]
cmp ebx, 8
lea edi, [ebp - 0x24c]
cmovae edi, esi
cmp eax, 0xa
jne 0x10014f7e
mov ecx, str.HKEY_USERS
mov edx, eax
sub edi, ecx
nop dword [eax + eax]
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x10014f78
add ecx, 2
sub edx, 1
jne 0x10014f60
mov ecx, 0x80000003
jmp 0x10014fba
mov eax, dword [ebp - 0x23c]
cmp ebx, 8
lea edi, [ebp - 0x24c]
cmovae edi, esi
cmp eax, 0x13
jne 0x100150cd
mov ecx, str.HKEY_CURRENT_CONFIG
mov edx, eax
sub edi, ecx
nop dword [eax]
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x100150cd
add ecx, 2
sub edx, 1
jne 0x10014fa0
mov ecx, 0x80000005
cmp dword [ebp - 0x21c], 8
lea edx, [ebp - 0x274]
push edx
push 0x20219
lea eax, [ebp - 0x230]
mov dword [ebp - 0x274], 0
cmovae eax, dword [ebp - 0x230]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100150cd
mov edi, dword [ebp - 0x274]
push 0x208
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x258], edi
push eax
mov dword [ebp - 0x254], 0x200
call fcn.10031a30
mov eax, dword [ebp - 0x234]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x1001502f
mov eax, dword [eax]
lea ecx, [ebp - 0x274]
mov dword [ebp - 0x274], 0x208
push ecx
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x234]
push ecx
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10015087
mov eax, dword [ebp - 0x234]
cmp eax, 1
je 0x1001506c
cmp eax, 2
jne 0x10015087
mov eax, dword [ebp - 0x274]
test eax, eax
je 0x1001508d
test al, 1
jne 0x10015087
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x10015096
test edi, edi
je 0x100150cd
jmp 0x100150c6
xor eax, eax
mov word [ebp - 0x218], ax
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100150a0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x27c]
push eax
call fcn.10006820
test edi, edi
je 0x100150cd
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x1001510d
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10015103
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100151c3
push edx
push ecx
call fcn.1001fb02
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp ebx, 8
jb 0x1001515e
lea ebx, [ebx*2 + 2]
mov eax, esi
cmp ebx, 0x1000
jb 0x10015154
mov esi, dword [esi - 4]
add ebx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100151c8
push ebx
push esi
call fcn.1001fb02
add esp, 8
mov edi, dword [ebp - 0x25c]
cmp edi, 8
jb 0x1001519a
mov esi, dword [ebp - 0x270]
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x10015190
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100151c3
push ecx
push esi
call fcn.1001fb02
add esp, 8
mov eax, dword [ebp - 0x27c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001f4ee
mov esp, ebp
pop ebp
ret 8
call fcn.10004290
call fcn.10037731
call fcn.10037731
int3