Function at 0x488150
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.004a9b70
mov eax, dword [0x4c32cc]
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.004a3190
add esp, 0xc
mov dword [esp + 0x18], 0x104
mov dword [esp + 0x2c], ebx
mov dword [esp + 0xc], 2
cmp dword [0x4d2afc], ebx
je 0x4881dd
mov ecx, dword [0x4c6444]
mov edx, dword [0x4c6448]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], edx
mov dword [0x4c6444], 0x20019
mov dword [0x4c6448], 0xf003f
mov dword [esp + 0xc], 3
cmp dword [0x4cd38c], ebx
je 0x4881ea
call fcn.0048fcc0
xor eax, eax
mov dword [0x4cd38c], eax
cmp dword [esp + 0xc], ebx
jle 0x488603
cmp ebx, 2
jne 0x488214
mov dword [0x4c6444], 0x20119
mov dword [0x4c6448], 0xf013f
mov ecx, dword [0x4c6444]
mov edx, dword [ebx*4 + 0x4c45d4]
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 0x4885f3
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 0x4885e8
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 0x4885e8
cmp eax, 0x103
je 0x4885e8
test eax, eax
jne 0x48828b
push 0x1400
push eax
lea eax, [esp + 0x58]
push eax
call fcn.004a3190
lea ecx, [esp + 0x1474]
add esp, 0xc
push ecx
lea ecx, [esp + 0x54]
call fcn.0048e9d0
lea eax, [esp + 0x209c]
lea edx, [esp + 0x854]
mov ecx, eax
add esp, 4
mov esi, 0x400
sub edx, ecx
jmp 0x488320
lea ecx, [esi + 0x7ffffbfe]
test ecx, ecx
je 0x488337
mov cl, byte [edx + eax]
test cl, cl
je 0x488337
inc eax
dec esi
jne 0x488320
jmp 0x48833b
test esi, esi
jne 0x48833c
dec eax
push 0xff
lea edx, [esp + 0x146c]
push edx
mov edx, dword [ebx*4 + 0x4c45d4]
push str.SoftwareBillP_StudiosWinPatrolDelayTitle
lea ecx, [esp + 0x18a4]
mov byte [eax], 0
call fcn.0048e050
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0xc
lea eax, [esp + 0x1898]
push eax
call esi
test eax, eax
jne 0x488432
lea ecx, [esp + 0x50]
push ecx
call esi
test eax, eax
jne 0x4883e4
lea edx, [esp + 0x1468]
push edx
mov edx, 0x7ffffffe
mov eax, 0x104
lea ecx, [esp + 0x168c]
call fcn.00401000
lea eax, [esp + 0x1688]
push eax
call esi
test eax, eax
je 0x4883d4
cmp byte [esp + eax + 0x1688], 0x5c
je 0x4883d3
dec eax
jne 0x4883b6
movzx eax, ax
movzx ecx, ax
lea edx, [esp + ecx + 0x1468]
push edx
jmp 0x4883e9
inc eax
movzx eax, ax
movzx ecx, ax
lea edx, [esp + ecx + 0x1468]
push edx
jmp 0x4883e9
lea eax, [esp + 0x50]
push eax
mov edx, 0x7ffffffe
mov eax, 0x400
lea ecx, [esp + 0x189c]
call fcn.00401000
mov edx, str.Microsoft
lea ecx, [esp + 0x1898]
call fcn.0047dee0
test eax, eax
je 0x488432
lea ecx, [esp + 0xc50]
push ecx
mov edx, 0x7ffffffe
mov eax, 0x400
lea ecx, [esp + 0x189c]
call fcn.00401000
push 0xff
lea edx, [esp + 0x146c]
push edx
mov edx, dword [ebx*4 + 0x4c45d4]
push str.SoftwareBillP_StudiosWinPatrolDelay
lea ecx, [esp + 0x1594]
call fcn.0048e050
lea eax, [esp + 0x1594]
add esp, 0xc
push eax
call fcn.004a02f9
add esp, 4
cmp dword [0x4d2afc], 0
mov edi, eax
je 0x4884b6
test ebx, ebx
jne 0x4884b6
cmp edi, 7
jge 0x4884b6
push 0xa
lea ecx, [esp + 0x158c]
push ecx
add edi, 0x14
push edi
call fcn.004a1ee3
add esp, 0xc
lea edx, [esp + 0x1468]
push edx
mov edx, dword [0x4c45d4]
push str.SoftwareBillP_StudiosWinPatrolDelay
lea ecx, [esp + 0x1590]
call fcn.0048e390
add esp, 8
lea ecx, [esp + 0x1c98]
cmp edi, 0xc8
jne 0x4884e8
mov edx, dword [ebx*4 + 0x4c45d4]
push 0xff
lea eax, [esp + 0x146c]
push eax
push str.SoftwareBillP_StudiosWinPatrolDelayShortcuts
call fcn.0048e050
add esp, 0xc
jmp 0x488521
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 0x488519
mov cl, byte [esi + eax]
test cl, cl
je 0x488519
mov byte [eax], cl
inc eax
dec edx
jne 0x488500
jmp 0x48851d
test edx, edx
jne 0x48851e
dec eax
mov byte [eax], 0
push 0xff
lea edx, [esp + 0x146c]
push edx
mov edx, dword [ebx*4 + 0x4c45d4]
push str.SoftwareBillP_StudiosWinPatrolDelayTitle
lea ecx, [esp + 0x18a4]
call fcn.0048e050
mov edx, dword [ebx*4 + 0x4c45d4]
add esp, 0xc
push 0x18
lea eax, [esp + 0x146c]
push eax
push str.SoftwareBillP_StudiosWinPatrolDelayTime
lea ecx, [esp + 0x145c]
call fcn.0048e050
lea ecx, [esp + 0x145c]
add esp, 0xc
push ecx
call fcn.004a02f9
add esp, 4
push 0x18
lea edx, [esp + 0x146c]
push edx
mov edx, dword [ebx*4 + 0x4c45d4]
push str.SoftwareBillP_StudiosWinPatrolDelayApplet
lea ecx, [esp + 0x157c]
mov esi, eax
call fcn.0048e050
add esp, 0xc
test eax, eax
jle 0x4885b3
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.0048f730
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
add esp, 0x10
jmp 0x48828b
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebx
cmp ebx, dword [esp + 0xc]
jl 0x4881fb
mov eax, dword [0x4cd38c]
cmp dword [0x4d2afc], 0
je 0x488620
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov dword [0x4c6444], ecx
mov dword [0x4c6448], edx
mov ecx, dword [esp + 0x249c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a01d6
mov esp, ebp
pop ebp
ret