Function at 0x488a50
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb7c
mov eax, dword [0x4f72bc]
xor eax, esp
mov dword [esp + 0xb78], eax
push ebx
push esi
push edi
push 0x103
xor esi, esi
lea eax, [esp + 0x775]
push esi
push eax
mov byte [esp + 0x77c], 0
call fcn.004d29c0
add esp, 0xc
mov dword [esp + 0x30], 0x104
mov dword [esp + 0x38], esi
mov byte [esp + 0x670], 0
mov byte [esp + 0x980], 0
cmp dword [0x506e0c], esi
je 0x488ac0
mov ecx, dword [0x4f8b78]
mov dword [esp + 0x3c], ecx
lea eax, [esi + 3]
jmp 0x488ac5
mov eax, 2
cmp eax, esi
jle 0x488e94
mov edi, 0x4f87fc
xor ebx, ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], ebx
jmp 0x488af6
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov dword [esp + 0x10], ebx
jmp 0x488af6
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x470]
mov dword [0x4f8b78], 0x20119
mov esi, 0x200
mov ecx, eax
cmp edi, 0x4f8804
jge 0x488b39
mov edx, dword [ebx + 0x4f8894]
sub edx, ecx
mov edi, edi
lea ecx, [esi + 0x7ffffdfe]
test ecx, ecx
je 0x488b5a
mov cl, byte [edx + eax]
test cl, cl
je 0x488b5a
mov byte [eax], cl
inc eax
dec esi
jne 0x488b20
jmp 0x488b5e
mov edx, dword [ebx + 0x4f893c]
sub edx, ecx
lea ecx, [esi + 0x7ffffdfe]
test ecx, ecx
je 0x488b5a
mov cl, byte [edx + eax]
test cl, cl
je 0x488b5a
mov byte [eax], cl
inc eax
dec esi
jne 0x488b41
jmp 0x488b5e
test esi, esi
jne 0x488b5f
dec eax
mov ecx, dword [edi]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [esp + 0x1c]
push edx
push 0x20119
mov byte [eax], 0
push 0
lea eax, [esp + 0x47c]
push eax
push ecx
call edi
mov esi, eax
test esi, esi
je 0x488bb8
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [ecx]
push 0x20019
push 0
lea eax, [esp + 0x47c]
push eax
push edx
mov dword [0x4f8b78], 0x20019
call edi
mov esi, eax
test esi, esi
jne 0x488e70
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x3c]
push 0
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x798]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [esp + 0x24], 0
je 0x488e65
xor ebx, ebx
xor edi, edi
cmp esi, 0x103
je 0x488e61
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x28]
push 0
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x284]
push eax
push ebx
mov esi, 0x200
push ecx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov edx, edi
inc edi
mov dword [esp + 0x34], edi
cmp edx, dword [esp + 0x24]
ja 0x488e0e
cmp eax, 0x103
je 0x488e0e
test eax, eax
jne 0x488e08
lea eax, [esp + 0x980]
push eax
lea ecx, [esp + 0x74]
push ecx
call fcn.00483650
test eax, eax
jne 0x488ca5
lea edx, [esp + 0x670]
push edx
lea eax, [esp + 0x274]
push eax
call fcn.00483650
test eax, eax
jne 0x488ca5
inc ebx
jmp 0x488c15
push 0x10
lea ecx, [esp + 0x274]
push ecx
push str.SoftwareBillP_StudiosWinPatrolDisabled
lea ecx, [esp + 0x6c]
mov edx, CreateStatusWindowA
call fcn.004bff10
add esp, 0xc
test eax, eax
je 0x488d1d
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x4f8ae8]
mov esi, dword [esp + 0x18]
add eax, esi
push eax
push 0x4e27f8
lea edx, [esp + 0x78]
lea ecx, [esp + 0x278]
call fcn.004894a0
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x4f8ae8]
add edx, esi
push edx
push 0x4e27f8
lea edx, [esp + 0x80]
lea ecx, [esp + 0x280]
call fcn.004894a0
add esp, 0x10
inc ebx
jmp 0x488c15
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esp + 0x270]
push eax
call esi
cmp eax, 1
jle 0x488e08
lea ecx, [esp + 0x70]
push ecx
call esi
cmp eax, 4
jle 0x488e08
cmp byte [esp + 0x270], 0x80
jae 0x488e08
lea edx, [esp + 0x70]
push edx
mov edx, 0x7ffffffe
mov eax, 0x104
lea ecx, [esp + 0x87c]
call fcn.004010b0
lea eax, [esp + 0x70]
push eax
lea edi, [esp + 0x87c]
call fcn.0047bad0
add esp, 4
test eax, eax
je 0x488d9a
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x4f8ae8]
add edx, dword [esp + 0x18]
push 1
push edx
jmp 0x488dab
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x4f8ae8]
add ecx, dword [esp + 0x18]
push 0
push ecx
push 0x4e27f8
push 0x4e27f8
lea edx, [esp + 0x80]
lea ecx, [esp + 0x280]
call fcn.004c1eb0
add esp, 0x10
lea edx, [esp + 0x270]
push edx
mov edx, 0x7ffffffe
mov eax, 0x100
lea ecx, [esp + 0x674]
call fcn.004010b0
lea eax, [esp + 0x70]
push eax
mov edx, 0x7ffffffe
mov eax, 0x200
lea ecx, [esp + 0x984]
call fcn.004010b0
mov edi, dword [esp + 0x34]
inc ebx
jmp 0x488c15
mov edx, dword [esp + 0x14]
mov edx, dword [edx]
push esi
lea ecx, [esp + 0x474]
push 0x4e27f8
push ecx
lea ecx, [esp + 0x7c]
call fcn.004bff10
add esp, 0xc
test eax, eax
je 0x488e61
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x4f8ae8]
add ecx, dword [esp + 0x18]
push 0
push ecx
push 0x4e27f8
push 0x4e27f8
lea edx, [esp + 0x80]
mov ecx, str._Default_
call fcn.004c1eb0
add esp, 0x10
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, 4
mov dword [esp + 0x10], ebx
cmp ebx, 0x1c
jl 0x488af2
add dword [esp + 0x14], 4
add dword [esp + 0x18], 0xa
dec dword [esp + 0x20]
jne 0x488ae6
cmp dword [0x506e0c], 0
je 0x488ea6
mov eax, dword [esp + 0x3c]
mov dword [0x4f8b78], eax
mov ecx, dword [esp + 0xb84]
mov eax, dword [0x505890]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret