Function at 0x4b4228
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xbc
mov eax, 0x50a021
call fcn.004fb79e
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x98], ecx
xor ebx, ebx
mov byte [ebp - 0x85], bl
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0xac], eax
mov dword [ebp - 4], ebx
mov esi, 0x567070
mov dword [ebp - 0xb0], esi
mov ecx, esi
mov eax, dword [0x567070]
call dword [eax + 4]
mov byte [ebp - 4], 1
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xb8]
push eax
mov ecx, 0x569854
call fcn.00403260
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0xc0], eax
mov al, byte [ebp - 0xb4]
mov byte [ebp - 0xbc], al
movzx ecx, bl
test al, al
push 1
pop edi
cmovne ecx, edi
mov dword [ebp - 0x90], ecx
mov byte [ebp - 0x85], cl
mov byte [ebp - 4], bl
mov ecx, esi
mov eax, dword [0x567070]
call dword [eax + 8]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x90]
jmp 0x4b4305
test cl, cl
je 0x4b460d
mov al, bl
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x85], al
mov dword [ebp - 4], 3
or dword [ebp - 4], 0xffffffff
jmp 0x4b4354
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x90], ebx
push 0x53
pop eax
mov word [ebp - 0x54], ax
push 0x4f
pop eax
mov word [ebp - 0x52], ax
push 0x46
pop eax
mov word [ebp - 0x50], ax
push 0x54
pop edx
mov word [ebp - 0x4e], dx
push 0x57
pop ecx
mov word [ebp - 0x4c], cx
push 0x41
pop eax
mov word [ebp - 0x4a], ax
push 0x52
pop eax
mov word [ebp - 0x48], ax
push 0x45
pop eax
mov word [ebp - 0x46], ax
push 0x5c
pop eax
mov word [ebp - 0x44], ax
mov word [ebp - 0x42], cx
push 0x69
pop eax
mov word [ebp - 0x40], ax
push 0x6c
pop eax
mov word [ebp - 0x3e], ax
push 0x64
pop eax
mov word [ebp - 0x3c], ax
mov word [ebp - 0x3a], dx
push 0x61
pop eax
mov word [ebp - 0x38], ax
push 0x6e
pop eax
mov word [ebp - 0x36], ax
push 0x67
pop edx
mov word [ebp - 0x34], dx
push 0x65
pop ecx
mov word [ebp - 0x32], cx
mov word [ebp - 0x30], ax
push 0x74
pop eax
mov word [ebp - 0x2e], ax
push 0x5c
pop eax
mov word [ebp - 0x2c], ax
push 0x44
pop eax
mov word [ebp - 0x2a], ax
mov word [ebp - 0x28], cx
push 0x62
pop eax
mov word [ebp - 0x26], ax
push 0x75
pop eax
mov word [ebp - 0x24], ax
mov word [ebp - 0x22], dx
mov word [ebp - 0x20], dx
push 0x69
pop eax
mov word [ebp - 0x1e], ax
push 0x6e
pop eax
mov word [ebp - 0x1c], ax
mov word [ebp - 0x1a], dx
xor eax, eax
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x94]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x54]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4b45cf
mov dword [ebp - 0x8c], 4
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xa8]
push eax
push ebx
push 0x534da8
push dword [ebp - 0x94]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0xa0], 0
je 0x4b4573
mov dword [ebp - 0xa4], edi
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx]
lea edx, [ebp - 0x84]
push edx
call dword [eax + 4]
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 6
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0x98], eax
cmp dword [eax + 0x14], 8
jb 0x4b44d4
mov eax, dword [eax]
mov dword [ebp - 0x98], eax
push eax
push str._n_s_n_n_n_n__Click_OK_to_proceed_or_Cancel_to_Debug.
lea eax, [ebp - 0x6c]
push eax
call fcn.004b2394
add esp, 0xc
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 7
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
cmp dword [eax + 0x14], 8
jb 0x4b450a
mov eax, dword [eax]
mov dword [ebp - 0xb0], eax
push 0x31
push str.Exception_Thrown:
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0xa4], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x6c]
call fcn.00455d7e
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x84]
call fcn.00455d7e
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x9c]
jmp 0x4b4560
movzx eax, al
cmp dword [ebp - 0xa4], 2
cmove eax, edi
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x8c], 4
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0xa8]
push eax
push ebx
push str.ForceBreak
push dword [ebp - 0x94]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x9c]
movzx ebx, al
cmp dword [ebp - 0x90], 0
cmovne ebx, edi
push dword [ebp - 0x94]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x94], 0
test bl, bl
je 0x4b45cf
int3
mov dword [ebp - 4], 9
mov dword [ebp - 0xb4], esi
mov ecx, esi
mov eax, dword [0x567070]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0xac]
push eax
mov ecx, 0x569854
call fcn.00401f14
mov byte [ebp - 4], 9
mov ecx, esi
mov eax, dword [0x567070]
call dword [eax + 8]
or dword [ebp - 4], 0xffffffff
call fcn.004fb6eb
ret