Function at 0x488a80
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb7c
mov eax, dword [0x4c32cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x103
xor esi, esi
lea eax, [ebp - 0x81f]
push esi
push eax
mov byte [ebp - 0x820], 0
call fcn.004a3190
add esp, 0xc
mov dword [ebp - 0xb48], 0x104
mov dword [ebp - 0xb58], esi
mov byte [ebp - 0x718], 0
mov byte [ebp - 0xb28], 0
cmp dword [0x4d2afc], esi
je 0x488aeb
mov ecx, dword [0x4c6444]
mov dword [ebp - 0xb54], ecx
lea eax, [esi + 3]
jmp 0x488af0
mov eax, 2
cmp eax, esi
jle 0x488f1d
mov edi, 0x4c45d4
xor ebx, ebx
mov dword [ebp - 0xb34], esi
mov dword [ebp - 0xb30], edi
mov dword [ebp - 0xb40], eax
mov dword [ebp - 0xb2c], ebx
jmp 0x488b36
mov edi, dword [ebp - 0xb30]
xor ebx, ebx
mov dword [ebp - 0xb2c], ebx
jmp 0x488b36
mov edi, dword [ebp - 0xb30]
lea eax, [ebp - 0x618]
mov dword [0x4c6444], 0x20119
mov esi, 0x200
mov ecx, eax
cmp edi, 0x4c45dc
jge 0x488b79
mov edx, dword [ebx + 0x4c466c]
sub edx, ecx
lea ecx, [ecx]
lea ecx, [esi + 0x7ffffdfe]
test ecx, ecx
je 0x488b9a
mov cl, byte [edx + eax]
test cl, cl
je 0x488b9a
mov byte [eax], cl
inc eax
dec esi
jne 0x488b60
jmp 0x488b9e
mov edx, dword [ebx + 0x4c4714]
sub edx, ecx
lea ecx, [esi + 0x7ffffdfe]
test ecx, ecx
je 0x488b9a
mov cl, byte [edx + eax]
test cl, cl
je 0x488b9a
mov byte [eax], cl
inc eax
dec esi
jne 0x488b81
jmp 0x488b9e
test esi, esi
jne 0x488b9f
dec eax
mov ecx, dword [edi]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [ebp - 0xb38]
push edx
push 0x20119
mov byte [eax], 0
push 0
lea eax, [ebp - 0x618]
push eax
push ecx
call edi
mov esi, eax
test esi, esi
je 0x488bfc
mov ecx, dword [ebp - 0xb30]
lea edx, [ebp - 0xb38]
push edx
mov edx, dword [ecx]
push 0x20019
push 0
lea eax, [ebp - 0x618]
push eax
push edx
mov dword [0x4c6444], 0x20019
call edi
mov esi, eax
test esi, esi
jne 0x488ef1
lea eax, [ebp - 0xb78]
push eax
lea ecx, [ebp - 0xb70]
push ecx
lea edx, [ebp - 0xb5c]
push edx
lea eax, [ebp - 0xb6c]
push eax
lea ecx, [ebp - 0xb3c]
push ecx
lea edx, [ebp - 0xb64]
push edx
lea eax, [ebp - 0xb68]
push eax
lea ecx, [ebp - 0xb58]
push ecx
mov ecx, dword [ebp - 0xb38]
push 0
lea edx, [ebp - 0xb48]
push edx
lea eax, [ebp - 0x820]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0xb3c], 0
je 0x488ee4
xor ebx, ebx
xor edi, edi
cmp esi, 0x103
je 0x488ede
mov edi, edi
lea edx, [ebp - 0xb50]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0xb60]
push ecx
mov ecx, dword [ebp - 0xb38]
push 0
lea edx, [ebp - 0xb44]
push edx
lea eax, [ebp - 0x418]
push eax
push ebx
mov esi, 0x200
push ecx
mov dword [ebp - 0xb50], esi
mov dword [ebp - 0xb44], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov edx, edi
inc edi
mov dword [ebp - 0xb4c], edi
cmp edx, dword [ebp - 0xb3c]
ja 0x488e85
cmp eax, 0x103
je 0x488e85
test eax, eax
jne 0x488e7f
lea eax, [ebp - 0xb28]
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.00483b10
test eax, eax
jne 0x488d10
lea edx, [ebp - 0x718]
push edx
lea eax, [ebp - 0x418]
push eax
call fcn.00483b10
test eax, eax
jne 0x488d10
inc ebx
jmp 0x488c70
push 0x10
lea ecx, [ebp - 0x418]
push ecx
push str.SoftwareBillP_StudiosWinPatrolDisabled
lea ecx, [ebp - 0x14]
mov edx, 0x80000002
call fcn.0048e050
add esp, 0xc
test eax, eax
je 0x488d8b
mov edx, dword [ebp - 0xb2c]
mov eax, dword [edx + 0x4c48c0]
mov esi, dword [ebp - 0xb34]
add eax, esi
push eax
push 0x4b17de
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x418]
call fcn.00489540
mov ecx, dword [ebp - 0xb2c]
mov edx, dword [ecx + 0x4c48c0]
add edx, esi
push edx
push 0x4b17de
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x418]
call fcn.00489540
add esp, 0x10
inc ebx
jmp 0x488c70
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x418]
push eax
call esi
cmp eax, 1
jle 0x488e7f
lea ecx, [ebp - 0x218]
push ecx
call esi
cmp eax, 4
jle 0x488e7f
cmp byte [ebp - 0x418], 0x80
jae 0x488e7f
lea edx, [ebp - 0x218]
push edx
mov edx, 0x7ffffffe
mov eax, 0x104
lea ecx, [ebp - 0x928]
call fcn.00401000
lea eax, [ebp - 0x218]
push eax
lea edi, [ebp - 0x928]
call fcn.0047de30
add esp, 4
test eax, eax
je 0x488e0e
mov ecx, dword [ebp - 0xb2c]
mov edx, dword [ecx + 0x4c48c0]
add edx, dword [ebp - 0xb34]
push 1
push edx
jmp 0x488e23
mov eax, dword [ebp - 0xb2c]
mov ecx, dword [eax + 0x4c48c0]
add ecx, dword [ebp - 0xb34]
push 0
push ecx
push 0x4b17de
push 0x4b17de
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x418]
call fcn.0048f730
add esp, 0x10
lea edx, [ebp - 0x418]
push edx
mov edx, 0x7ffffffe
mov eax, 0x100
lea ecx, [ebp - 0x718]
call fcn.00401000
lea eax, [ebp - 0x218]
push eax
mov edx, 0x7ffffffe
mov eax, 0x200
lea ecx, [ebp - 0xb28]
call fcn.00401000
mov edi, dword [ebp - 0xb4c]
inc ebx
jmp 0x488c70
mov edx, dword [ebp - 0xb30]
mov edx, dword [edx]
push esi
lea ecx, [ebp - 0x618]
push 0x4b17de
push ecx
lea ecx, [ebp - 0x218]
call fcn.0048e050
add esp, 0xc
test eax, eax
je 0x488ede
mov eax, dword [ebp - 0xb2c]
mov ecx, dword [eax + 0x4c48c0]
add ecx, dword [ebp - 0xb34]
push 0
push ecx
push 0x4b17de
push 0x4b17de
lea edx, [ebp - 0x218]
mov ecx, str._Default_
call fcn.0048f730
add esp, 0x10
mov ebx, dword [ebp - 0xb2c]
mov edx, dword [ebp - 0xb38]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, 4
mov dword [ebp - 0xb2c], ebx
cmp ebx, 0x1c
jl 0x488b30
add dword [ebp - 0xb30], 4
add dword [ebp - 0xb34], 0xa
dec dword [ebp - 0xb40]
jne 0x488b20
cmp dword [0x4d2afc], 0
je 0x488f31
mov eax, dword [ebp - 0xb54]
mov dword [0x4c6444], eax
mov ecx, dword [ebp - 4]
mov eax, dword [0x4cd38c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a01d6
mov esp, ebp
pop ebp
ret