Function at 0x1009a5c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x22a4
call fcn.100df920
mov eax, dword [0x10100008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x4b
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerFeatureUsageAppSwitched
lea ecx, [ebp - 0x2254]
mov dword [ebp - 0x2254], 0
mov dword [ebp - 0x2244], 0
mov dword [ebp - 0x2240], 0xf
call fcn.100b2ac0
cmp dword [ebp - 0x2240], 0x10
lea ecx, [ebp - 0x2288]
push ecx
push 0x20019
lea eax, [ebp - 0x2254]
cmovae eax, dword [ebp - 0x2254]
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1009a9df
push 0x208
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.100c0b60
add esp, 0xc
mov dword [ebp - 0x2238], 0x104
lea eax, [ebp - 0x2284]
mov dword [ebp - 0x2234], 0
mov dword [ebp - 0x2214], 0x1000
push eax
lea eax, [ebp - 0x2270]
push eax
lea eax, [ebp - 0x2274]
push eax
lea eax, [ebp - 0x2278]
push eax
lea eax, [ebp - 0x2218]
push eax
lea eax, [ebp - 0x227c]
push eax
lea eax, [ebp - 0x223c]
push eax
lea eax, [ebp - 0x2234]
push eax
push 0
lea eax, [ebp - 0x2238]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x2288]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [ebp - 0x2218]
test eax, eax
je 0x1009a9d3
xor edi, edi
test eax, eax
je 0x1009a9d3
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
nop word [eax + eax]
xor eax, eax
mov dword [ebp - 0x2214], 0x1000
push eax
push eax
push eax
push eax
mov word [ebp - 0x2210], ax
lea eax, [ebp - 0x2214]
push eax
lea eax, [ebp - 0x2210]
push eax
push edi
push dword [ebp - 0x2288]
call ebx
test eax, eax
jne 0x1009a9c6
mov dword [ebp - 0x226c], eax
mov dword [ebp - 0x225c], eax
lea eax, [ebp - 0x2210]
mov dword [ebp - 0x2258], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1009a745
sub eax, edx
lea ecx, [ebp - 0x226c]
sar eax, 1
push eax
lea eax, [ebp - 0x2210]
push eax
call fcn.100b2820
cmp dword [ebp - 0x2258], 8
lea ecx, [ebp - 0x226c]
mov eax, dword [ebp - 0x225c]
cmovae ecx, dword [ebp - 0x226c]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x226c]
cmovae ecx, dword [ebp - 0x226c]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x2230]
call fcn.100b3210
sub esp, 0x18
lea eax, [ebp - 0x2230]
mov ecx, esp
push eax
call fcn.100b24b0
sub esp, 0x18
mov ecx, esp
push 4
push str.ajim
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.100b2ac0
call fcn.10086320
add esp, 0x30
test eax, eax
jle 0x1009a931
lea edx, [ebp - 0x2230]
lea ecx, [ebp - 0x22a0]
call fcn.10095e70
push eax
lea ecx, [ebp - 0x2230]
call fcn.100b23f0
mov edx, dword [ebp - 0x228c]
cmp edx, 0x10
jb 0x1009a83c
mov ecx, dword [ebp - 0x22a0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009a832
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009aa71
push edx
push ecx
call fcn.100be753
add esp, 8
mov eax, dword [ebp - 0x2220]
mov dword [ebp - 0x22a0], 0
mov dword [ebp - 0x2290], 0
mov dword [ebp - 0x228c], 0xf
lea ecx, [eax - 4]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x221c], 0x10
lea eax, [ebp - 0x2230]
cmovae eax, dword [ebp - 0x2230]
push ecx
push eax
lea ecx, [ebp - 0x22a0]
call fcn.100b2ac0
lea eax, [ebp - 0x22a0]
push eax
lea ecx, [ebp - 0x2230]
call fcn.100b23f0
mov edx, dword [ebp - 0x228c]
cmp edx, 0x10
jb 0x1009a8d5
mov ecx, dword [ebp - 0x22a0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009a8cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009aa71
push edx
push ecx
call fcn.100be753
add esp, 8
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.100b24b0
mov ecx, dword [ebp - 0x2220]
mov eax, 0x7fffffff
sub esp, 0x18
sub eax, ecx
mov edx, esp
cmp eax, 0x19
jb 0x1009aa76
cmp dword [ebp - 0x221c], 0x10
lea eax, [ebp - 0x2230]
push 0x19
cmovae eax, dword [ebp - 0x2230]
push str.UserDataSettings.sqlite
push ecx
push eax
push ecx
push dword [ebp - 0x223c]
mov ecx, edx
call fcn.100b5240
call fcn.100986a0
add esp, 0x30
mov edx, dword [ebp - 0x221c]
cmp edx, 0x10
jb 0x1009a96b
mov ecx, dword [ebp - 0x2230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009a961
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009aa71
push edx
push ecx
call fcn.100be753
add esp, 8
mov edx, dword [ebp - 0x2258]
mov dword [ebp - 0x2220], 0
mov dword [ebp - 0x221c], 0xf
mov byte [ebp - 0x2230], 0
cmp edx, 8
jb 0x1009a9c6
mov ecx, dword [ebp - 0x226c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009a9bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009aa71
push edx
push ecx
call fcn.100be753
add esp, 8
inc edi
cmp edi, dword [ebp - 0x2218]
jb 0x1009a6f0
push dword [ebp - 0x2288]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x2240]
cmp edx, 0x10
jb 0x1009aa15
mov ecx, dword [ebp - 0x2254]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009aa0b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009aa71
push edx
push ecx
call fcn.100be753
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x2244], 0
mov dword [ebp - 0x2240], 0xf
mov byte [ebp - 0x2254], 0
cmp edx, 0x10
jb 0x1009aa60
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009aa56
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009aa71
push edx
push ecx
call fcn.100be753
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100be1f9
mov esp, ebp
pop ebp
ret
call fcn.100ca55d
call fcn.10083390
int3