Function at 0x2002b945
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x2009d57f
call fcn.2007d394
mov eax, 0x1f04
call fcn.2007eb40
mov eax, dword [0x200cc84c]
push ebx
push esi
push edi
xor eax, ebp
push 0x7f
mov dword [ebp - 0x10], eax
pop ecx
xor eax, eax
xor ebx, ebx
mov byte [ebp - 0x3e8], bl
lea edi, [ebp - 0x3e7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x1f10]
push eax
push str.ppstreamlive_
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
mov esi, 0x104
jne 0x2002bb7f
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x3e8]
push eax
lea eax, [ebp - 0x1f0c]
push eax
push ebx
push 0x200a4a9c
push dword [ebp - 0x1f10]
mov dword [ebp - 0x1f0c], ebx
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2002bb7f
cmp dword [ebp - 0x1f0c], 2
je 0x2002b9ed
cmp dword [ebp - 0x1f0c], 1
jne 0x2002bb7f
mov eax, dword [ebp - 0x14]
push 0xf
pop edi
push ebx
lea ecx, [ebp - 0x604]
mov byte [ebp + eax - 0x3e8], bl
mov dword [ebp - 0x5ec], edi
call fcn.20001bc0
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x3e8]
push eax
lea ecx, [ebp - 0x16c0]
call fcn.20030cfd
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x16c0]
call fcn.20030ae9
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
lea eax, [ebp - 0xe0]
push str._d._d._d._d
push eax
call fcn.2007d900
add esp, 0x18
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x604]
call fcn.20003a20
lea ecx, [ebp - 0x16c0]
call fcn.20030ad4
push ebx
lea ecx, [ebp - 0x620]
mov dword [ebp - 0x608], edi
call fcn.20001bc0
mov byte [ebp - 4], 1
push 0x7f
pop ecx
xor eax, eax
mov byte [ebp - 0x5e8], bl
lea edi, [ebp - 0x5e7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push esi
lea eax, [ebp - 0x5e8]
push eax
push dword [0x200cdc18]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x5e8]
push eax
lea ecx, [ebp - 0x1f08]
call fcn.20030cfd
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1f08]
call fcn.20030ae9
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
lea eax, [ebp - 0xe0]
push str._d._d._d._d
push eax
call fcn.2007d900
add esp, 0x18
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x620]
call fcn.20003a20
lea ecx, [ebp - 0x1f08]
call fcn.20030ad4
lea eax, [ebp - 0x604]
push eax
lea eax, [ebp - 0x620]
push eax
call fcn.2002b751
test eax, eax
pop ecx
pop ecx
jne 0x2002bb5c
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x620]
call fcn.2000275e
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x604]
call fcn.2000275e
jmp 0x2002bbef
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x620]
call fcn.2000275e
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x604]
call fcn.2000275e
push connect
push str.ppstreamlive
lea ecx, [ebp - 0xa68]
call fcn.20012d9d
mov dword [ebp - 4], 2
push esi
lea eax, [ebp - 0x1e8]
push eax
push dword [0x200cdc18]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x1e8]
push eax
lea ecx, [ebp - 0xe78]
mov byte [ebp - 0xe4], bl
call fcn.2002aff4
lea eax, [ebp - 0xe78]
push eax
mov eax, 0x200a4a9c
push eax
push eax
lea ecx, [ebp - 0xa68]
call fcn.200151ca
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa68]
call fcn.20012d2f
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.2007c9ae
leave
ret