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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2494
call fcn.004d9280
mov eax, dword [0x4f72bc]
xor eax, esp
mov dword [esp + 0x2490], eax
push ebx
push esi
push edi
push 0x103
xor ebx, ebx
lea eax, [esp + 0x1795]
push ebx
push eax
mov byte [esp + 0x179c], 0
call fcn.004d29c0
add esp, 0xc
mov dword [esp + 0x18], 0x104
mov dword [esp + 0x2c], ebx
mov dword [esp + 0xc], 2
cmp dword [0x506e0c], ebx
je 0x4881ad
mov ecx, dword [0x4f8b78]
mov edx, dword [0x4f8b7c]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], edx
mov dword [0x4f8b78], 0x20019
mov dword [0x4f8b7c], 0xf003f
mov dword [esp + 0xc], 3
cmp dword [0x505890], ebx
je 0x4881ba
call fcn.004c2580
xor eax, eax
mov dword [0x505890], eax
cmp dword [esp + 0xc], ebx
jle 0x4885d3
cmp ebx, 2
jne 0x4881e4
mov dword [0x4f8b78], 0x20119
mov dword [0x4f8b7c], 0xf013f
mov ecx, dword [0x4f8b78]
mov edx, dword [ebx*4 + 0x4f87fc]
lea eax, [esp + 0x10]
push eax
push ecx
xor edi, edi
push edi
push str.SoftwareBillP_StudiosWinPatrolDelay
push edx
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4885c3
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x30]
push edi
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x17b8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [esp + 0x14], esi
je 0x4885b8
mov ecx, dword [esp + 0x10]
push 0
push 0
push 0
push 0
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x147c]
push eax
push esi
push ecx
mov dword [esp + 0x44], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov edx, edi
inc esi
inc edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
cmp edx, dword [esp + 0x14]
ja 0x4885b8
cmp eax, 0x103
je 0x4885b8
test eax, eax
jne 0x48825b
push 0x1400
push eax
lea eax, [esp + 0x58]
push eax
call fcn.004d29c0
lea ecx, [esp + 0x1474]
add esp, 0xc
push ecx
lea ecx, [esp + 0x54]
call fcn.004c0890
lea eax, [esp + 0x209c]
lea edx, [esp + 0x854]
mov ecx, eax
add esp, 4
mov esi, 0x400
sub edx, ecx
jmp 0x4882f0
lea ecx, [esi + 0x7ffffbfe]
test ecx, ecx
je 0x488307
mov cl, byte [edx + eax]
test cl, cl
je 0x488307
inc eax
dec esi
jne 0x4882f0
jmp 0x48830b
test esi, esi
jne 0x48830c
dec eax
push 0xff
lea edx, [esp + 0x146c]
push edx
mov edx, dword [ebx*4 + 0x4f87fc]
push str.SoftwareBillP_StudiosWinPatrolDelayTitle
lea ecx, [esp + 0x18a4]
mov byte [eax], 0
call fcn.004bff10
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0xc
lea eax, [esp + 0x1898]
push eax
call esi
test eax, eax
jne 0x488402
lea ecx, [esp + 0x50]
push ecx
call esi
test eax, eax
jne 0x4883b4
lea edx, [esp + 0x1468]
push edx
mov edx, 0x7ffffffe
mov eax, 0x104
lea ecx, [esp + 0x168c]
call fcn.004010b0
lea eax, [esp + 0x1688]
push eax
call esi
test eax, eax
je 0x4883a4
cmp byte [esp + eax + 0x1688], 0x5c
je 0x4883a3
dec eax
jne 0x488386
movzx eax, ax
movzx ecx, ax
lea edx, [esp + ecx + 0x1468]
push edx
jmp 0x4883b9
inc eax
movzx eax, ax
movzx ecx, ax
lea edx, [esp + ecx + 0x1468]
push edx
jmp 0x4883b9
lea eax, [esp + 0x50]
push eax
mov edx, 0x7ffffffe
mov eax, 0x400
lea ecx, [esp + 0x189c]
call fcn.004010b0
mov edx, str.Microsoft
lea ecx, [esp + 0x1898]
call fcn.0047bb80
test eax, eax
je 0x488402
lea ecx, [esp + 0xc50]
push ecx
mov edx, 0x7ffffffe
mov eax, 0x400
lea ecx, [esp + 0x189c]
call fcn.004010b0
push 0xff
lea edx, [esp + 0x146c]
push edx
mov edx, dword [ebx*4 + 0x4f87fc]
push str.SoftwareBillP_StudiosWinPatrolDelay
lea ecx, [esp + 0x1594]
call fcn.004bff10
lea eax, [esp + 0x1594]
add esp, 0xc
push eax
call fcn.004cf355
add esp, 4
cmp dword [0x506e0c], 0
mov edi, eax
je 0x488486
test ebx, ebx
jne 0x488486
cmp edi, 7
jge 0x488486
push 0xa
lea ecx, [esp + 0x158c]
push ecx
add edi, 0x14
push edi
call fcn.004d10a8
add esp, 0xc
lea edx, [esp + 0x1468]
push edx
mov edx, dword [0x4f87fc]
push str.SoftwareBillP_StudiosWinPatrolDelay
lea ecx, [esp + 0x1590]
call fcn.004c0250
add esp, 8
lea ecx, [esp + 0x1c98]
cmp edi, 0xc8
jne 0x4884b8
mov edx, dword [ebx*4 + 0x4f87fc]
push 0xff
lea eax, [esp + 0x146c]
push eax
push str.SoftwareBillP_StudiosWinPatrolDelayShortcuts
call fcn.004bff10
add esp, 0xc
jmp 0x4884f1
lea esi, [esp + 0x1898]
mov edx, 0x400
lea eax, [esp + 0x1c98]
sub esi, ecx
lea ecx, [ecx]
lea ecx, [edx + 0x7ffffbfe]
test ecx, ecx
je 0x4884e9
mov cl, byte [esi + eax]
test cl, cl
je 0x4884e9
mov byte [eax], cl
inc eax
dec edx
jne 0x4884d0
jmp 0x4884ed
test edx, edx
jne 0x4884ee
dec eax
mov byte [eax], 0
push 0xff
lea edx, [esp + 0x146c]
push edx
mov edx, dword [ebx*4 + 0x4f87fc]
push str.SoftwareBillP_StudiosWinPatrolDelayTitle
lea ecx, [esp + 0x18a4]
call fcn.004bff10
mov edx, dword [ebx*4 + 0x4f87fc]
add esp, 0xc
push 0x18
lea eax, [esp + 0x146c]
push eax
push str.SoftwareBillP_StudiosWinPatrolDelayTime
lea ecx, [esp + 0x145c]
call fcn.004bff10
lea ecx, [esp + 0x145c]
add esp, 0xc
push ecx
call fcn.004cf355
add esp, 4
push 0x18
lea edx, [esp + 0x146c]
push edx
mov edx, dword [ebx*4 + 0x4f87fc]
push str.SoftwareBillP_StudiosWinPatrolDelayApplet
lea ecx, [esp + 0x157c]
mov esi, eax
call fcn.004bff10
add esp, 0xc
test eax, eax
jle 0x488583
neg esi
mov byte [esp + 0x1c98], 0
push esi
push edi
lea eax, [esp + 0xc58]
push eax
lea ecx, [esp + 0x1ca4]
push ecx
lea edx, [esp + 0x1478]
lea ecx, [esp + 0x18a8]
call fcn.004c1eb0
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
add esp, 0x10
jmp 0x48825b
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebx
cmp ebx, dword [esp + 0xc]
jl 0x4881cb
mov eax, dword [0x505890]
cmp dword [0x506e0c], 0
je 0x4885f0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov dword [0x4f8b78], ecx
mov dword [0x4f8b7c], edx
mov ecx, dword [esp + 0x249c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret