Function at 0x1002bbb0
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x10079914]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x134]
push esi
push edi
push eax
push 0x20019
mov esi, ecx
mov dword [ebp - 0x134], 0
push 0
push 0x1000b9c0
push reloc.OLEAUT32.dll_SysReAllocString
mov edi, 1
mov byte [esi], 0
mov dword [ebp - 0x12c], 0x1000ba38
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x124], 0x10c
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x130], 0x1000b9c0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1002bc5a
push 0xffffffffffffffff
push 0x1000ba38
push 0x10d
push esi
call dword [sym.imp.msvcrt.dll_strncpy_s]
add esp, 0x10
xor eax, eax
xor ecx, ecx
xor edi, edi
jmp 0x1002be74
lea eax, [ebp - 0x148]
mov dword [ebp - 0x144], 0
push eax
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x140], 0
push eax
lea eax, [ebp - 0x138]
mov dword [ebp - 0x13c], 0
push eax
push 0
push 0x1000b9e8
push dword [ebp - 0x134]
mov dword [ebp - 0x148], 4
mov dword [ebp - 0x138], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1002bcd2
cmp dword [ebp - 0x138], 4
jne 0x1002bcd2
cmp dword [ebp - 0x13c], eax
setne al
mov dword [ebp - 0x11c], eax
jmp 0x1002bcdc
mov dword [ebp - 0x11c], 0
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x118]
call fcn.1002b980
add esp, 8
test eax, eax
je 0x1002bd80
lea eax, [ebp - 0x118]
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x12c], eax
call fcn.1002ba60
test eax, eax
jne 0x1002bddf
mov eax, dword [ebp - 0x140]
cmp eax, 0x112
jae 0x1002be8e
lea ecx, [ebp - 0x134]
mov byte [ebp + eax - 0x118], 0
call fcn.1002ba60
test eax, eax
jne 0x1002bddf
mov eax, dword [ebp - 0x144]
test eax, eax
je 0x1002bd80
mov byte [ebp + eax - 0x118], 0x2a
inc eax
cmp eax, 0x112
jae 0x1002be8e
lea ecx, [ebp - 0x134]
mov byte [ebp + eax - 0x118], 0
call fcn.1002ba60
test eax, eax
jne 0x1002bddf
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x12c], 0x1000b9f0
call fcn.1002ba60
test eax, eax
jne 0x1002bddf
push 0xffffffffffffffff
push 0x1000ba38
push 0x10d
push esi
mov dword [ebp - 0x12c], 0x1000ba38
mov dword [ebp - 0x120], eax
call dword [sym.imp.msvcrt.dll_strncpy_s]
add esp, 0x10
push dword [ebp - 0x134]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x120]
xor edi, edi
mov dword [ebp - 0x134], 0
jmp 0x1002be13
push dword [ebp - 0x134]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x134], 0
mov byte [esi + 0x10d], 0
test eax, eax
je 0x1002be13
mov ecx, esi
call fcn.1002bac0
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x11c]
test ecx, ecx
je 0x1002be74
push 0x1000b9f8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp - 0x130]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x1000ba04
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp - 0x12c]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x1000ba08
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x1000ba14
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x120]
mov dword [ebx], ecx
mov ecx, dword [ebp - 4]
mov dword [0x1007e240], eax
xor ecx, ebp
mov eax, edi
pop edi
pop esi
pop ebx
call fcn.10071a90
mov esp, ebp
pop ebp
ret
call fcn.10071be0
int3