Function at 0x49afb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f3c3f
mov eax, dword fs:[0]
push eax
mov eax, 0x5054
call fcn.0059b350
mov eax, dword [0x67d070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x5045], dl
mov dword [ebp - 0x5044], ecx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x5018], 0
movq qword [ebp - 0x5020], xmm0
mov dword [ebp - 0x5020], 0
mov dword [ebp - 0x501c], 0
mov dword [ebp - 0x5018], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5060]
push 1
xor eax, eax
mov dword [ebp - 0x504c], 7
push 0x62325c
mov dword [ebp - 0x5050], 0
mov word [ebp - 0x5060], ax
call fcn.00407060
lea eax, [ebp - 0x5060]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x5020]
call fcn.004a69f0
mov byte [ebp - 4], 3
add esp, 4
mov eax, dword [ebp - 0x504c]
cmp eax, 8
jb 0x49b099
inc eax
lea ecx, [ebp - 0x5060]
push eax
push dword [ebp - 0x5060]
call fcn.00407b40
mov ecx, dword [ebp - 0x501c]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x5020]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x49b0cf
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x5020]
call fcn.0041f820
mov edi, dword [ebp - 0x5020]
mov esi, dword [edi + 0x14]
cmp esi, 8
jb 0x49b0db
mov eax, dword [edi]
jmp 0x49b0dd
mov eax, edi
push 0x11
push 0x63cebc
push dword [edi + 0x10]
push eax
call fcn.00408ed0
add esp, 0x10
test eax, eax
jne 0x49b0fe
mov esi, 0x80000000
jmp 0x49b1d2
cmp esi, 8
jb 0x49b107
mov eax, dword [edi]
jmp 0x49b109
mov eax, edi
push 0x11
push 0x63cfac
push dword [edi + 0x10]
push eax
call fcn.00408ed0
add esp, 0x10
test eax, eax
jne 0x49b12a
mov esi, 0x80000001
jmp 0x49b1d2
cmp esi, 8
jb 0x49b133
mov eax, dword [edi]
jmp 0x49b135
mov eax, edi
push 0x12
push 0x63cfd0
push dword [edi + 0x10]
push eax
call fcn.00408ed0
add esp, 0x10
test eax, eax
jne 0x49b153
mov esi, 0x80000002
jmp 0x49b1d2
push 0x63cf6c
push edi
call fcn.0042a970
add esp, 8
test al, al
je 0x49b16c
mov esi, 0x80000003
jmp 0x49b1d2
push 0x63cf84
push edi
call fcn.0042a970
add esp, 8
test al, al
je 0x49b185
mov esi, 0x80000005
jmp 0x49b1d2
push 0x63d094
push edi
call fcn.0042a970
add esp, 8
test al, al
je 0x49b19e
mov esi, 0x80000004
jmp 0x49b1d2
push str.HKEY_PERFORMANCE_NLSTEXT
push edi
call fcn.0042a970
add esp, 8
test al, al
je 0x49b1b7
mov esi, 0x80000060
jmp 0x49b1d2
push str.HKEY_PERFORMANCE_TEXT
push edi
call fcn.0042a970
add esp, 8
test al, al
je 0x49b53a
mov esi, 0x80000050
mov ebx, 7
mov dword [ebp - 0x5028], 0
xor eax, eax
mov dword [ebp - 0x5024], ebx
mov word [ebp - 0x5038], ax
push 1
push ecx
push 0x62325c
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.0049b600
cmp eax, 0xffffffff
je 0x49b29b
push 0xffffffffffffffff
inc eax
lea ecx, [ebp + 8]
push eax
lea eax, [ebp - 0x5060]
push eax
call fcn.0040a860
mov ebx, eax
lea eax, [ebp - 0x5038]
cmp eax, ebx
je 0x49b273
mov eax, dword [ebp - 0x5024]
cmp eax, 8
jb 0x49b24a
inc eax
lea ecx, [ebp - 0x5038]
push eax
push dword [ebp - 0x5038]
call fcn.00407b40
xor eax, eax
mov dword [ebp - 0x5024], 7
push ebx
lea ecx, [ebp - 0x5038]
mov dword [ebp - 0x5028], 0
mov word [ebp - 0x5038], ax
call fcn.004098a0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x504c]
cmp eax, 8
jb 0x49b295
inc eax
lea ecx, [ebp - 0x5060]
push eax
push dword [ebp - 0x5060]
call fcn.00407b40
mov ebx, dword [ebp - 0x5024]
cmp byte [ebp - 0x5045], 0
lea ecx, [ebp - 0x5040]
lea eax, [ebp - 0x5038]
push ecx
je 0x49b2b8
push 0x20019
jmp 0x49b2bd
push 0x20119
cmp ebx, 8
push 0
cmovae eax, dword [ebp - 0x5038]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, eax
test edx, edx
je 0x49b334
mov eax, dword [0x689958]
test eax, eax
je 0x49b308
push edx
push str.getRegistryValue:_RegOpenKeyExW_failed_with_error__ld
push 0x622628
push 0x622628
push str.OSUtils
push str.OOBEUtils
push 0x28
call eax
add esp, 0x1c
xor bl, bl
jmp 0x49b4fd
mov ecx, dword [0x68995c]
test ecx, ecx
je 0x49b32d
mov eax, dword [ecx]
push edx
push str.getRegistryValue:_RegOpenKeyExW_failed_with_error__ld
push str.OSUtils
push 0x622628
push 0x28
push ecx
call dword [eax + 0x34]
add esp, 0x18
xor bl, bl
jmp 0x49b4fd
push 9
xor bl, bl
lea eax, [ebp + 0x38]
cmp dword [ebp + 0x4c], 8
push str.REG_DWORD
cmovae eax, dword [ebp + 0x38]
push dword [ebp + 0x48]
push eax
call fcn.00408ed0
add esp, 0x10
lea ecx, [ebp - 0x5014]
test eax, eax
lea eax, [ebp + 0x20]
push ecx
jne 0x49b3ea
cmp dword [ebp + 0x34], 8
lea ecx, [ebp - 0x503c]
push ecx
cmovae eax, dword [ebp + 0x20]
push 0
push 0
push eax
push dword [ebp - 0x5040]
mov dword [ebp - 0x5014], 4
mov dword [ebp - 0x503c], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, eax
test edx, edx
jne 0x49b3be
mov esi, dword [ebp - 0x5044]
mov ecx, esi
push eax
push dword [ebp - 0x503c]
call fcn.0049f340
add esp, 8
mov bl, 1
jmp 0x49b466
mov eax, dword [0x689958]
test eax, eax
je 0x49b43b
push edx
push str.getRegistryValue:_RegQueryValueExW_failed_with_error__ld
push 0x622628
push 0x622628
push str.OSUtils
push str.OOBEUtils
push 0x28
call eax
add esp, 0x1c
jmp 0x49b460
cmp dword [ebp + 0x34], 8
lea ecx, [ebp - 0x5010]
push ecx
cmovae eax, dword [ebp + 0x20]
push 0
push 0
push eax
push dword [ebp - 0x5040]
mov dword [ebp - 0x5014], 0x5000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, eax
test edx, edx
jne 0x49b432
mov esi, dword [ebp - 0x5044]
lea eax, [ebp - 0x5010]
push eax
mov ecx, esi
call fcn.00407010
mov bl, 1
jmp 0x49b466
mov eax, dword [0x689958]
test eax, eax
jne 0x49b3c7
mov ecx, dword [0x68995c]
test ecx, ecx
je 0x49b460
mov eax, dword [ecx]
push edx
push str.getRegistryValue:_RegQueryValueExW_failed_with_error__ld
push str.OSUtils
push 0x622628
push 0x28
push ecx
call dword [eax + 0x34]
add esp, 0x18
mov esi, dword [ebp - 0x5044]
push dword [ebp - 0x5040]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x689958], 0
je 0x49b4b5
cmp dword [esi + 0x14], 8
jb 0x49b483
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push esi
movzx eax, bl
push eax
push str.getRegistryValue:_Status:_d_Value:_s_Error:_d
push 0x622628
push 0x622628
push str.OSUtils
push str.OOBEUtils
push 0xa
call dword [0x689958]
add esp, 0x24
jmp 0x49b4fd
mov eax, dword [0x68995c]
test eax, eax
je 0x49b4fd
cmp dword [esi + 0x14], 8
jb 0x49b4cc
mov esi, dword [esi]
mov dword [ebp - 0x5044], esi
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [ebp - 0x5044]
push eax
push ecx
movzx eax, bl
push eax
push str.getRegistryValue:_Status:_d_Value:_s_Error:_d
push str.OSUtils
push 0x622628
push 0xa
push dword [0x68995c]
call dword [esi + 0x34]
add esp, 0x20
mov eax, dword [ebp - 0x5024]
cmp eax, 8
jb 0x49b51b
inc eax
lea ecx, [ebp - 0x5038]
push eax
push dword [ebp - 0x5038]
call fcn.00407b40
xor eax, eax
mov dword [ebp - 0x5024], 7
mov dword [ebp - 0x5028], 0
mov word [ebp - 0x5038], ax
jmp 0x49b53c
xor bl, bl
lea ecx, [ebp - 0x5020]
push ecx
push dword [ebp - 0x501c]
push edi
call fcn.0040afd0
mov ecx, dword [ebp - 0x5018]
mov eax, 0x2aaaaaab
sub ecx, edi
add esp, 0xc
imul ecx
lea ecx, [ebp - 0x5020]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push edi
call fcn.0040acc0
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x49b58d
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00407b40
xor eax, eax
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
mov eax, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
cmp eax, 8
jb 0x49b5b6
inc eax
lea ecx, [ebp + 0x20]
push eax
push dword [ebp + 0x20]
call fcn.00407b40
mov ecx, dword [ebp + 0x4c]
xor eax, eax
mov dword [ebp + 0x34], 7
mov dword [ebp + 0x30], 0
mov word [ebp + 0x20], ax
cmp ecx, 8
jb 0x49b5df
inc ecx
push ecx
push dword [ebp + 0x38]
lea ecx, [ebp + 0x38]
call fcn.00407b40
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00599c70
mov esp, ebp
pop ebp
ret