Function at 0x1000a880
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084413
mov eax, dword fs:[0]
push eax
sub esp, 0x460
mov eax, dword [0x100ad708]
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 edi, ecx
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x46c], esi
mov dword [ebp - 0x44c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x444]
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x450], eax
lea eax, [edi + 0x28]
push eax
mov dword [ebp - 0x44c], 1
call fcn.10005d30
mov dword [ebp - 0x44c], 3
cmp dword [ebp - 0x434], 0
mov dword [ebp - 4], 1
je 0x1000a9df
xor eax, eax
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 7
mov word [ebp - 0x428], ax
mov ecx, 0x1008c9ac
mov byte [ebp - 4], 2
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], 0xf
mov byte [ebp - 0x468], al
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000a958
sub ecx, edx
push ecx
push 0x1008c9ac
lea ecx, [ebp - 0x468]
call fcn.1000f590
push 0
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x468]
mov ecx, edi
push eax
call fcn.10011fc0
mov edx, dword [ebp - 0x454]
test al, al
mov byte [ebp - 4], 2
sete bl
cmp edx, 0x10
jb 0x1000a9d0
mov ecx, dword [ebp - 0x468]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a9c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ab53
push edx
push ecx
call fcn.1002eba8
add esp, 8
test bl, bl
je 0x1000a9ef
lea ecx, [ebp - 0x428]
call fcn.10003900
lea ecx, [ebp - 0x444]
call fcn.10003900
jmp 0x1000ab33
cmp dword [ebp - 0x430], 8
lea ecx, [ebp - 0x448]
push ecx
push 0x20019
lea eax, [ebp - 0x444]
cmovae eax, dword [ebp - 0x444]
push 0
push eax
push dword [ebp - 0x450]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000a9d4
cmp dword [ebp - 0x414], 8
lea ecx, [ebp - 0x42c]
push ecx
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x42c], 0x400
push ecx
push 0
push 2
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
push eax
push 0
push dword [ebp - 0x448]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1000aa8e
lea ecx, [ebp - 0x410]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000aa70
sub ecx, edx
lea eax, [ebp - 0x410]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.100042a0
push dword [ebp - 0x448]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x414]
cmp edx, 8
jb 0x1000aada
mov ecx, dword [ebp - 0x428]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000aad0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ab58
push edx
push ecx
call fcn.1002eba8
add esp, 8
mov edx, dword [ebp - 0x430]
xor eax, eax
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 7
mov word [ebp - 0x428], ax
cmp edx, 8
jb 0x1000ab33
mov ecx, dword [ebp - 0x444]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000ab29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ab5d
push edx
push ecx
call fcn.1002eba8
add esp, 8
mov eax, esi
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.1002ef19
mov esp, ebp
pop ebp
ret 4
call fcn.1005e18e
call fcn.1005e18e
call fcn.1005e18e
int3