Function at 0x4c5ea0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x4f72bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
push 0x40
lea edx, [ebp - 0x44]
mov ecx, 0x268
mov dword [ebp - 0x19c], eax
call fcn.004ca1e0
mov edx, dword [0x4f8b78]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 4
lea ecx, [ebp - 0x188]
push ecx
push edx
push 0
push esi
push CreateStatusWindowA
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x4c5f07
mov dword [ebp - 0x190], 0
jmp 0x4c5f68
lea eax, [ebp - 0x18c]
push eax
mov eax, dword [ebp - 0x188]
lea ecx, [ebp - 0x190]
push ecx
lea edx, [ebp - 0x194]
push edx
push 0
push 0x4f0f80
push eax
mov dword [ebp - 0x18c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4c5f53
mov ecx, dword [ebp - 0x188]
push ecx
call ebx
mov dword [ebp - 0x190], 0
jmp 0x4c5f68
mov edx, dword [ebp - 0x188]
push edx
call ebx
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x190], eax
mov edx, dword [0x4f8b78]
lea ecx, [ebp - 0x188]
push ecx
push edx
push 0
push esi
push CreateStatusWindowA
call edi
test eax, eax
je 0x4c5f90
mov dword [ebp - 0x18c], 0
jmp 0x4c5ff1
lea eax, [ebp - 0x18c]
push eax
mov eax, dword [ebp - 0x188]
lea ecx, [ebp - 0x198]
push ecx
lea edx, [ebp - 0x194]
push edx
push 0
push str.DelayedAutostart
push eax
mov dword [ebp - 0x18c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4c5fdc
mov ecx, dword [ebp - 0x188]
push ecx
call ebx
mov dword [ebp - 0x18c], 0
jmp 0x4c5ff1
mov edx, dword [ebp - 0x188]
push edx
call ebx
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x18c], eax
push esi
mov edx, 0x7ffffffe
mov eax, 0xff
lea ecx, [ebp - 0x184]
call fcn.004010b0
mov edx, 0xff
lea eax, [ebp - 0x184]
cmp byte [eax], 0
je 0x4c601d
inc eax
dec edx
jne 0x4c6012
jmp 0x4c6045
test edx, edx
je 0x4c6045
mov ecx, 0xff
sub ecx, edx
mov eax, 0xff
sub eax, ecx
push str.TriggerInfo0
lea ecx, [ebp + ecx - 0x184]
mov edx, 0x7fffffff
call fcn.004010b0
mov edx, dword [0x4f8b78]
lea ecx, [ebp - 0x188]
push ecx
push edx
push 0
lea eax, [ebp - 0x184]
push eax
push CreateStatusWindowA
call edi
test eax, eax
je 0x4c606b
xor esi, esi
jmp 0x4c60be
lea ecx, [ebp - 0x198]
push ecx
mov ecx, dword [ebp - 0x188]
lea edx, [ebp - 0x194]
push edx
lea eax, [ebp - 0x1a0]
push eax
push 0
push 0x4e2954
push ecx
mov dword [ebp - 0x198], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4c60af
mov edx, dword [ebp - 0x188]
push edx
call ebx
xor esi, esi
jmp 0x4c60be
mov eax, dword [ebp - 0x188]
push eax
call ebx
mov esi, dword [ebp - 0x194]
mov eax, dword [ebp - 0x190]
sub eax, 2
je 0x4c60f2
dec eax
push 0x40
lea edx, [ebp - 0x44]
je 0x4c60e8
dec eax
je 0x4c60de
mov ecx, 0x268
jmp 0x4c61f1
mov ecx, 0x29a
jmp 0x4c61f1
mov ecx, 0x299
jmp 0x4c61f1
mov edi, dword [ebp - 0x18c]
lea ecx, [edi + esi]
test ecx, ecx
je 0x4c61e7
test edi, edi
je 0x4c6135
push 0x40
lea edx, [ebp - 0x84]
mov ecx, 0x2a0
call fcn.004ca1e0
add esp, 4
lea edx, [ebp - 0x84]
push edx
mov edx, 0x7ffffffe
mov eax, 0x40
lea ecx, [ebp - 0x44]
call fcn.004010b0
test esi, esi
je 0x4c61f9
push 0x40
lea edx, [ebp - 0x84]
mov ecx, 0x2a1
call fcn.004ca1e0
add esp, 4
test edi, edi
je 0x4c61cc
mov edx, 0x40
lea eax, [ebp - 0x44]
mov edi, edi
cmp byte [eax], 0
je 0x4c616b
inc eax
dec edx
jne 0x4c6160
jmp 0x4c6190
test edx, edx
je 0x4c6190
mov ecx, 0x40
sub ecx, edx
mov eax, 0x40
sub eax, ecx
push 0x4e6e6c
lea ecx, [ebp + ecx - 0x44]
mov edx, 0x7fffffff
call fcn.004010b0
mov edx, 0x40
lea eax, [ebp - 0x44]
cmp byte [eax], 0
je 0x4c61a3
inc eax
dec edx
jne 0x4c6198
jmp 0x4c61f9
test edx, edx
je 0x4c61f9
lea eax, [ebp - 0x84]
push eax
mov ecx, 0x40
sub ecx, edx
mov eax, 0x40
sub eax, ecx
lea ecx, [ebp + ecx - 0x44]
mov edx, 0x7fffffff
call fcn.004010b0
jmp 0x4c61f9
lea ecx, [ebp - 0x84]
push ecx
mov edx, 0x7ffffffe
mov eax, 0x40
lea ecx, [ebp - 0x44]
call fcn.004010b0
jmp 0x4c61f9
push 0x40
lea edx, [ebp - 0x44]
mov ecx, 0x298
call fcn.004ca1e0
add esp, 4
mov ecx, dword [ebp - 0x19c]
lea edx, [ebp - 0x44]
push edx
mov edx, 0x7ffffffe
mov eax, 0x40
call fcn.004010b0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret