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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x100e4a78]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 0x14c], eax
xor ebx, ebx
lea eax, [ebp - 0x134]
mov dword [ebp - 0x134], ebx
push eax
push 0x20019
mov esi, ecx
mov dword [ebp - 0x12c], 0x10008528
mov ecx, 0x10008534
mov dword [ebp - 0x128], esi
push ebx
push ecx
xor edi, edi
mov byte [esi], bl
push reloc.OLEAUT32.dll_SysReAllocString
inc edi
mov dword [ebp - 0x124], 0x10c
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x130], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10050099
lea eax, [ebp - 0x148]
mov dword [ebp - 0x144], ebx
push eax
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x140], ebx
push eax
lea eax, [ebp - 0x138]
mov dword [ebp - 0x13c], ebx
push eax
push ebx
push 0x10008564
push dword [ebp - 0x134]
mov dword [ebp - 0x148], 4
mov dword [ebp - 0x138], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x100500b9
mov dword [ebp - 0x11c], ebx
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x118]
call fcn.10040061
pop ecx
pop ecx
test eax, eax
je 0x1003ff97
lea eax, [ebp - 0x118]
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x12c], eax
call 0x10040023
test eax, eax
jne 0x100500dc
mov eax, dword [ebp - 0x140]
cmp eax, 0x112
jae 0x1004001e
lea ecx, [ebp - 0x134]
mov byte [ebp + eax - 0x118], bl
call 0x10040023
test eax, eax
jne 0x100500dc
mov eax, dword [ebp - 0x144]
test eax, eax
je 0x1003ff97
mov byte [ebp + eax - 0x118], 0x2a
inc eax
cmp eax, 0x112
jae 0x1004001e
lea ecx, [ebp - 0x134]
mov byte [ebp + eax - 0x118], bl
call 0x10040023
test eax, eax
jne 0x100500dc
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x12c], 0x1000855c
call 0x10040023
test eax, eax
jne 0x100500dc
mov eax, 0x10008528
mov dword [ebp - 0x120], ebx
push 0xffffffffffffffff
push eax
push 0x10d
push esi
mov dword [ebp - 0x12c], eax
call dword [sym.imp.msvcrt.dll_strncpy_s]
add esp, 0x10
push dword [ebp - 0x134]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x134], ebx
mov edi, ebx
mov ebx, dword [ebp - 0x120]
mov eax, dword [ebp - 0x11c]
test eax, eax
jne 0x10050116
mov ecx, dword [ebp - 0x14c]
mov dword [ecx], eax
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [0x100e51d4], ebx
xor ecx, ebp
pop ebx
call fcn.10041550
leave
ret
call fcn.10041949
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
push ebx
push 2
mov dword [esi + 0x14], ebx
mov byte [edi], bl
push dword [esi + 8]
push ebx
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
je 0x10050172
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
push 0xffffffffffffffff
mov eax, 0x10008528
push eax
push 0x10d
push esi
call dword [sym.imp.msvcrt.dll_strncpy_s]
add esp, 0x10
mov eax, ebx
mov edi, ebx
jmp 0x1003ffff
cmp dword [ebp - 0x138], 4
jne 0x1003feec
xor eax, eax
cmp dword [ebp - 0x13c], eax
setne al
mov dword [ebp - 0x11c], eax
jmp 0x1003fef2
push dword [ebp - 0x134]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x134], ebx
mov byte [esi + 0x10d], bl
mov ebx, dword [ebp - 0x120]
test ebx, ebx
je 0x1003fff1
mov ecx, esi
call fcn.100d53f7
mov ebx, eax
mov dword [ebp - 0x120], ebx
jmp 0x1003fff1
push 0x10035c80
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp - 0x130]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x10035c8c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp - 0x12c]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x10035c90
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x10035c9c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x11c]
mov ebx, dword [ebp - 0x120]
jmp 0x1003ffff
xor ebx, ebx
inc ebx
cmp dword [ebp - 4], ebx
jbe 0x1004005a
xor eax, eax
cmp byte [edi], 0x3a
setne al
mov dword [esi + 0x14], eax
jmp 0x1004005a