Function at 0x10001e30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
push edi
push 0x80c
mov esi, eax
mov eax, dword [ebp + 8]
push 0
push eax
mov dword [esp + 0x1c], 0
call fcn.10006e80
add esp, 0xc
mov ebx, esi
mov dword [esp + 0x14], ebx
cmp esi, 0x1000ffc4
je 0x10001ea6
test esi, esi
je 0x10002206
mov edi, 0x1000ffc4
xor ecx, ecx
mov eax, esi
sub edi, esi
lea ebx, [ebx]
mov dl, byte [eax]
test dl, dl
je 0x10001e92
cmp dl, byte [edi + eax]
jne 0x10001e92
inc ecx
inc eax
cmp ecx, 2
jl 0x10001e80
cmp ecx, 2
je 0x10001ea6
movsx edx, byte [ecx + esi]
movsx eax, byte [ecx + 0x1000ffc4]
sub edx, eax
jne 0x10001eaf
add esi, 2
mov dword [esp + 0x14], esi
mov ebx, esi
test ebx, ebx
je 0x10002206
jmp 0x10001ec4
mov ebx, dword [esp + 0x14]
cmp byte [ebx], 0
je 0x10002206
mov ecx, dword [esp + 0x14]
push 0x1000ffc8
mov esi, ebx
push ecx
xor ebx, ebx
call fcn.100038f0
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
je 0x10001f10
mov byte [eax], bl
inc eax
push 0x1000ffc4
push eax
mov ebx, eax
call fcn.100038f0
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
je 0x10001f10
mov byte [eax], 0
add eax, 2
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], edx
cmp esi, str.cfgint
je 0x10001f5c
test esi, esi
je 0x10001f90
mov edi, str.cfgint
xor ecx, ecx
mov eax, esi
sub edi, esi
nop
mov dl, byte [eax]
test dl, dl
je 0x10001f45
cmp dl, byte [edi + eax]
jne 0x10001f45
inc ecx
inc eax
cmp ecx, 0x7fffffff
jl 0x10001f30
cmp ecx, 0x7fffffff
je 0x10001f5c
movsx eax, byte [ecx + esi]
movsx ecx, byte [ecx + str.cfgint]
sub eax, ecx
jne 0x10001f90
mov eax, ebx
call fcn.10003b10
cmp eax, 0xe10
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
jge 0x10001f7a
mov dword [ecx], 0xe10
jmp 0x100021f7
cmp eax, 0x15180
jle 0x100021f7
mov dword [ecx], 0x15180
jmp 0x100021f7
cmp esi, str.scr1
je 0x10001fd3
test esi, esi
je 0x1000200c
mov edi, str.scr1
xor ecx, ecx
mov eax, esi
sub edi, esi
mov dl, byte [eax]
test dl, dl
je 0x10001fbc
cmp dl, byte [edi + eax]
jne 0x10001fbc
inc ecx
inc eax
cmp ecx, 0x7fffffff
jl 0x10001fa7
cmp ecx, 0x7fffffff
je 0x10001fd3
movsx edx, byte [ecx + esi]
movsx eax, byte [ecx + str.scr1]
sub edx, eax
jne 0x1000200c
mov eax, dword [ebp + 8]
add eax, 0x40c
je 0x100021f7
test ebx, ebx
je 0x100021f7
mov esi, ebx
xor edx, edx
sub esi, eax
nop
mov cl, byte [esi + eax]
mov byte [eax], cl
test cl, cl
je 0x100021f7
inc edx
inc eax
cmp edx, 0x400
jl 0x10001ff0
jmp 0x100021f7
cmp esi, 0x1000ffdc
je 0x1000204f
test esi, esi
je 0x10002061
mov edi, 0x1000ffdc
xor ecx, ecx
mov eax, esi
sub edi, esi
mov dl, byte [eax]
test dl, dl
je 0x10002038
cmp dl, byte [edi + eax]
jne 0x10002038
inc ecx
inc eax
cmp ecx, 0x7fffffff
jl 0x10002023
cmp ecx, 0x7fffffff
je 0x1000204f
movsx edx, byte [ecx + esi]
movsx eax, byte [ecx + 0x1000ffdc]
sub edx, eax
jne 0x10002061
mov eax, ebx
call fcn.10003b10
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
jmp 0x100021f7
cmp esi, 0x1000ffe0
je 0x100020a4
test esi, esi
je 0x100020b6
mov edi, 0x1000ffe0
xor ecx, ecx
mov eax, esi
sub edi, esi
mov dl, byte [eax]
test dl, dl
je 0x1000208d
cmp dl, byte [edi + eax]
jne 0x1000208d
inc ecx
inc eax
cmp ecx, 0x7fffffff
jl 0x10002078
cmp ecx, 0x7fffffff
je 0x100020a4
movsx edx, byte [ecx + esi]
movsx eax, byte [ecx + 0x1000ffe0]
sub edx, eax
jne 0x100020b6
mov eax, ebx
call fcn.10003b10
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
jmp 0x100021f7
cmp esi, str.allowed
je 0x100020fc
test esi, esi
je 0x10002132
mov edi, str.allowed
xor ecx, ecx
mov eax, esi
sub edi, esi
lea ecx, [ecx]
mov dl, byte [eax]
test dl, dl
je 0x100020e5
cmp dl, byte [edi + eax]
jne 0x100020e5
inc ecx
inc eax
cmp ecx, 0x7fffffff
jl 0x100020d0
cmp ecx, 0x7fffffff
je 0x100020fc
movsx edx, byte [ecx + esi]
movsx eax, byte [ecx + str.allowed]
sub edx, eax
jne 0x10002132
mov eax, dword [ebp + 8]
add eax, 0xc
je 0x100021f7
test ebx, ebx
je 0x100021f7
mov esi, ebx
xor edx, edx
sub esi, eax
mov cl, byte [esi + eax]
mov byte [eax], cl
test cl, cl
je 0x100021f7
inc edx
inc eax
cmp edx, 0x400
jl 0x10002116
jmp 0x100021f7
push str.update
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x100021fb
lea ecx, [esp + 0x1c]
push ecx
push str.SoftwareAppDataLowePlayConf
xor edi, edi
push 0x80000001
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x2c], 8
mov dword [esp + 0x30], 3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x100021d9
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edi
push str.utime
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
sete al
test al, al
je 0x100021d9
push edi
call fcn.10003d5d
mov ecx, dword [esp + 0x30]
add esp, 4
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
push edx
push eax
call fcn.10003d1a
fcomp qword [0x10010178]
add esp, 0x10
fnstsw ax
test ah, 1
jne 0x100021fb
mov ecx, ebx
call fcn.10002390
test al, al
je 0x100021f7
push edi
call fcn.10003d5d
add esp, 4
push edx
push eax
call fcn.100036e0
add esp, 8
inc dword [esp + 0x10]
cmp dword [esp + 0x18], 0
jne 0x10001ec0
xor eax, eax
cmp dword [esp + 0x10], 5
pop edi
pop esi
setge al
pop ebx
mov esp, ebp
pop ebp
ret