Function at 0x5019ccd7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xa0
mov eax, dword [0x5029a6c0]
push ebx
xor ebx, ebx
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x74], ebx
mov dword [ebp + 0x70], ebx
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x6c], ebx
mov dword [ebp + 0x68], ebx
cmp dword [eax + 0x34], ebx
jne 0x5019d01c
cmp dword [eax + 0x30], ebx
jne 0x5019d01c
cmp dword [eax + 0x2c], ebx
jne 0x5019d01c
cmp dword [eax + 0x28], ebx
jne 0x5019d01c
lea eax, [ebp + 0x5c]
push eax
push 0x5002c1ec
push 0x50001d50
call fcn.501a5bb0
test eax, eax
jl 0x5019d01c
lea eax, [ebp + 0x74]
push eax
mov eax, 0x5002abc4
push eax
push eax
call fcn.501a5bb0
test eax, eax
jl 0x5019d01c
lea eax, [ebp + 0x6c]
push eax
mov eax, 0x5002b2f4
push eax
push eax
call fcn.501a5bb0
test eax, eax
jl 0x5019d01c
push esi
mov esi, dword [0x5029a6c0]
push edi
mov edi, 0x50001f20
push edi
lea eax, [esi + 0xa4]
push eax
call fcn.5003f10b
test eax, eax
je 0x5019cf14
cmp dword [ebp + 0x74], ebx
je 0x5019ce93
lea eax, [ebp + 0x50]
push eax
push 0x20019
push ebx
call fcn.5019b9f1
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5019ce8a
push 4
pop esi
lea eax, [ebp + 0x44]
push eax
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp + 0x4c]
push eax
push ebx
push 0x5001cd58
push dword [ebp + 0x50]
mov dword [ebp + 0x44], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5019ce8a
cmp dword [ebp + 0x4c], esi
jne 0x5019ce8a
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x58], ebx
call dword [sym.imp.ole32.dll_CoGetCurrentProcess]
mov esi, eax
push 0x10
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.MSVCR70.dll__itoa]
push esi
lea eax, [ebp - 0x28]
push 0x5001cd30
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp + 0x54]
push eax
push ebx
call dword [sym.imp.ole32.dll_GetRunningObjectTable]
test eax, eax
jl 0x5019ce72
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 0x40]
call fcn.5005989e
mov eax, dword [eax]
lea ecx, [ebp + 0x58]
push ecx
push eax
push 0x5001cd2c
call dword [sym.imp.ole32.dll_CreateItemMoniker]
push dword [ebp + 0x40]
test eax, eax
setge byte [ebp + 0x63]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp byte [ebp + 0x63], bl
je 0x5019ce72
mov eax, dword [ebp + 0x54]
mov ecx, dword [eax]
push 0x5028ae50
push dword [ebp + 0x58]
push dword [ebp + 0x74]
push ebx
push eax
call dword [ecx + 0xc]
lea ecx, [ebp + 0x58]
call fcn.501e21ba
lea ecx, [ebp + 0x54]
call fcn.501e21ba
lea ecx, [ebp + 0x48]
call fcn.501e21ba
push dword [ebp + 0x50]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x50297d70
call fcn.5019cc49
test eax, eax
jl 0x5019cfe8
mov eax, dword [0x50297d70]
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [0x50297d70]
mov ecx, dword [eax]
lea edx, [ebp + 0x70]
push edx
push 0x5002c1dc
push eax
call dword [ecx]
test eax, eax
jl 0x5019cfe8
mov eax, dword [0x5029a6c0]
push 0x5028ae48
push 1
add eax, 0xa4
push eax
push dword [ebp + 0x5c]
call dword [sym.imp.OLEAUT32.dll_RevokeActiveObject]
mov esi, dword [0x5029a6c0]
cmp dword [esi + 0x78], ebx
je 0x5019cf14
cmp dword [esi + 0x7c], ebx
jne 0x5019cf14
push 0x5028ae40
push ebx
push 4
push dword [ebp + 0x70]
add esi, 0xa4
push esi
call dword [sym.imp.ole32.dll_CoRegisterClassObject]
mov esi, dword [0x5029a6c0]
push edi
lea eax, [esi + 0xb4]
push eax
call fcn.5003f10b
test eax, eax
je 0x5019cfc1
mov eax, dword [ebp + 0x74]
cmp eax, ebx
je 0x5019cfc1
mov ecx, dword [eax]
lea edx, [ebp + 0x68]
push edx
push eax
call dword [ecx + 0x4c]
test eax, eax
jl 0x5019cfe8
push 0x50297d74
call fcn.5019cc90
test eax, eax
jl 0x5019cfe8
mov eax, dword [0x50297d74]
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [0x50297d74]
mov ecx, dword [eax]
lea edx, [ebp + 0x64]
push edx
push 0x5002c1dc
push eax
call dword [ecx]
test eax, eax
jl 0x5019cfe8
mov eax, dword [0x5029a6c0]
cmp dword [eax + 0x78], ebx
je 0x5019cfa5
cmp dword [eax + 0x7c], ebx
jne 0x5019cfa5
push 0x5028ae44
push ebx
push 4
push dword [ebp + 0x64]
add eax, 0xb4
push eax
call dword [sym.imp.ole32.dll_CoRegisterClassObject]
mov eax, dword [0x5029a6c0]
push 0x5028ae4c
push 1
add eax, 0xb4
push eax
push dword [ebp + 0x68]
call dword [sym.imp.OLEAUT32.dll_RevokeActiveObject]
mov esi, dword [0x5029a6c0]
cmp dword [esi + 0x78], ebx
je 0x5019cfce
cmp dword [esi + 0x7c], ebx
jne 0x5019cfce
push ebx
jmp 0x5019cfdf
mov eax, dword [ebp + 0x70]
cmp eax, ebx
je 0x5019cfdd
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x10]
push 0xffffffffffffffff
mov eax, dword [ebp + 0x6c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
lea ecx, [ebp + 0x68]
call fcn.501e21ba
lea ecx, [ebp + 0x6c]
call fcn.501e21ba
lea ecx, [ebp + 0x64]
call fcn.501e21ba
lea ecx, [ebp + 0x70]
call fcn.501e21ba
lea ecx, [ebp + 0x74]
call fcn.501e21ba
lea ecx, [ebp + 0x5c]
call fcn.501e21ba
pop edi
pop esi
jmp 0x5019d04c
lea ecx, [ebp + 0x68]
call fcn.501e21ba
lea ecx, [ebp + 0x6c]
call fcn.501e21ba
lea ecx, [ebp + 0x64]
call fcn.501e21ba
lea ecx, [ebp + 0x70]
call fcn.501e21ba
lea ecx, [ebp + 0x74]
call fcn.501e21ba
lea ecx, [ebp + 0x5c]
call fcn.501e21ba
pop ebx
add ebp, 0x78
leave
ret