Function at 0x4919b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x4c32cc]
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.00499890
mov edx, dword [0x4c6444]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 4
lea ecx, [ebp - 0x188]
push ecx
push edx
push 0
push esi
push 0x80000002
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x491a17
mov dword [ebp - 0x190], 0
jmp 0x491a78
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 str.Start
push eax
mov dword [ebp - 0x18c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x491a63
mov ecx, dword [ebp - 0x188]
push ecx
call ebx
mov dword [ebp - 0x190], 0
jmp 0x491a78
mov edx, dword [ebp - 0x188]
push edx
call ebx
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x190], eax
mov edx, dword [0x4c6444]
lea ecx, [ebp - 0x188]
push ecx
push edx
push 0
push esi
push 0x80000002
call edi
test eax, eax
je 0x491aa0
mov dword [ebp - 0x18c], 0
jmp 0x491b01
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 0x491aec
mov ecx, dword [ebp - 0x188]
push ecx
call ebx
mov dword [ebp - 0x18c], 0
jmp 0x491b01
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.00401000
mov edx, 0xff
lea eax, [ebp - 0x184]
cmp byte [eax], 0
je 0x491b2d
inc eax
dec edx
jne 0x491b22
jmp 0x491b55
test edx, edx
je 0x491b55
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.00401000
mov edx, dword [0x4c6444]
lea ecx, [ebp - 0x188]
push ecx
push edx
push 0
lea eax, [ebp - 0x184]
push eax
push 0x80000002
call edi
test eax, eax
je 0x491b7b
xor esi, esi
jmp 0x491bce
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 str.Type
push ecx
mov dword [ebp - 0x198], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x491bbf
mov edx, dword [ebp - 0x188]
push edx
call ebx
xor esi, esi
jmp 0x491bce
mov eax, dword [ebp - 0x188]
push eax
call ebx
mov esi, dword [ebp - 0x194]
mov eax, dword [ebp - 0x190]
sub eax, 2
je 0x491c02
dec eax
push 0x40
lea edx, [ebp - 0x44]
je 0x491bf8
dec eax
je 0x491bee
mov ecx, 0x268
jmp 0x491d01
mov ecx, 0x29a
jmp 0x491d01
mov ecx, 0x299
jmp 0x491d01
mov edi, dword [ebp - 0x18c]
lea ecx, [edi + esi]
test ecx, ecx
je 0x491cf7
test edi, edi
je 0x491c45
push 0x40
lea edx, [ebp - 0x84]
mov ecx, 0x2a0
call fcn.00499890
add esp, 4
lea edx, [ebp - 0x84]
push edx
mov edx, 0x7ffffffe
mov eax, 0x40
lea ecx, [ebp - 0x44]
call fcn.00401000
test esi, esi
je 0x491d09
push 0x40
lea edx, [ebp - 0x84]
mov ecx, 0x2a1
call fcn.00499890
add esp, 4
test edi, edi
je 0x491cdc
mov edx, 0x40
lea eax, [ebp - 0x44]
mov edi, edi
cmp byte [eax], 0
je 0x491c7b
inc eax
dec edx
jne 0x491c70
jmp 0x491ca0
test edx, edx
je 0x491ca0
mov ecx, 0x40
sub ecx, edx
mov eax, 0x40
sub eax, ecx
push 0x4b5db4
lea ecx, [ebp + ecx - 0x44]
mov edx, 0x7fffffff
call fcn.00401000
mov edx, 0x40
lea eax, [ebp - 0x44]
cmp byte [eax], 0
je 0x491cb3
inc eax
dec edx
jne 0x491ca8
jmp 0x491d09
test edx, edx
je 0x491d09
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.00401000
jmp 0x491d09
lea ecx, [ebp - 0x84]
push ecx
mov edx, 0x7ffffffe
mov eax, 0x40
lea ecx, [ebp - 0x44]
call fcn.00401000
jmp 0x491d09
push 0x40
lea edx, [ebp - 0x44]
mov ecx, 0x298
call fcn.00499890
add esp, 4
mov ecx, dword [ebp - 0x19c]
lea edx, [ebp - 0x44]
push edx
mov edx, 0x7ffffffe
mov eax, 0x40
call fcn.00401000
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.004a01d6
mov esp, ebp
pop ebp
ret