Function at 0x449370
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50447b
mov eax, dword fs:[0]
push eax
sub esp, 0x63c
mov eax, dword [0x567e00]
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 eax, dword [ebp + 0xc]
test eax, eax
je 0x4493bc
cmp word [eax], 0
je 0x4493bc
push eax
push dword [ebp + 8]
call fcn.00441ab0
add esp, 8
jmp 0x449721
xor edi, edi
mov dword [ebp - 0x63c], edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x62c]
push eax
push 0x2001f
push edi
push dword [0x567a08]
mov dword [ebp - 4], edi
push 0x80000001
mov dword [ebp - 0x62c], edi
call esi
test eax, eax
jne 0x449710
mov ebx, dword [ebp - 0x62c]
push 0x208
push eax
mov dword [ebp - 0x63c], eax
lea eax, [ebp - 0x420]
push eax
mov dword [ebp - 0x62c], ebx
mov dword [ebp - 0x640], ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x630], 0x208
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x634]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push str.disableGlobalInfoCollect
push ebx
call edi
test eax, eax
jne 0x44947f
mov eax, dword [ebp - 0x634]
cmp eax, 1
je 0x449464
cmp eax, 2
jne 0x44947f
mov eax, dword [ebp - 0x630]
test eax, eax
je 0x4494ea
test al, 1
jne 0x44947f
shr eax, 1
cmp word [ebp + eax*2 - 0x422], 0
je 0x4494f3
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x634], 0x104
lea eax, [ebp - 0x634]
lea ecx, [ebp - 0x640]
push eax
lea eax, [ebp - 0x218]
push eax
push str.InstallRoot
call fcn.00447fc0
test eax, eax
jne 0x4495dd
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 8]
call fcn.00441ab0
mov edi, dword [ebp - 0x62c]
add esp, 8
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, al
jmp 0x449718
xor eax, eax
mov word [ebp - 0x420], ax
mov ecx, 0x517ccc
lea eax, [ebp - 0x420]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x449526
test dx, dx
je 0x449522
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x449526
add eax, 4
add ecx, 4
test dx, dx
jne 0x449500
xor eax, eax
jmp 0x44952b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x449542
mov edi, dword [ebp - 0x62c]
mov bl, 1
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x449718
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x634], 0x104
lea eax, [ebp - 0x634]
lea ecx, [ebp - 0x640]
push eax
lea eax, [ebp - 0x218]
push eax
push str.reportAllInfoToDataWarehouse
call fcn.00447fc0
test eax, eax
jne 0x44970a
mov ecx, 0x517ccc
lea eax, [ebp - 0x218]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4495b9
test dx, dx
je 0x4495b5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4495b9
add eax, 4
add ecx, 4
test dx, dx
jne 0x449593
xor eax, eax
jmp 0x4495be
sbb eax, eax
or eax, 1
test eax, eax
jne 0x44970a
mov bl, byte [ebp + 8]
mov edi, dword [ebp - 0x62c]
xor bl, 1
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x449718
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x644], 0
lea eax, [ebp - 0x630]
mov byte [ebp - 4], 1
push eax
push 0x2001f
push 0
push dword [0x567a08]
mov dword [ebp - 0x630], 0
push 0x80000002
call esi
test eax, eax
jne 0x44970a
mov esi, dword [ebp - 0x630]
mov dword [ebp - 0x644], eax
mov dword [ebp - 0x630], eax
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x630]
mov dword [ebp - 0x648], esi
push eax
lea eax, [ebp - 0x638]
mov dword [ebp - 0x634], 4
push eax
push 0
push str.disableGlobalInfoCollect
push ebx
call edi
test eax, eax
jne 0x44967c
cmp dword [ebp - 0x638], 4
jne 0x44967c
cmp dword [ebp - 0x630], 1
sete bl
jmp 0x4496d2
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x638], 0x104
lea eax, [ebp - 0x638]
lea ecx, [ebp - 0x640]
push eax
lea eax, [ebp - 0x628]
push eax
push str.InstallRoot
call fcn.00447fc0
test eax, eax
jne 0x4496f5
lea eax, [ebp - 0x628]
push eax
push dword [ebp + 8]
call fcn.00441ab0
add esp, 8
mov bl, al
test esi, esi
je 0x4496e7
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
mov edi, dword [ebp - 0x62c]
jmp 0x449718
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x62c]
jmp 0x449718
test esi, esi
je 0x44970a
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
mov edi, dword [ebp - 0x62c]
jmp 0x449716
mov edi, dword [ebp - 0x62c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
test edi, edi
je 0x44971f
push edi
call esi
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.004c6f8b
mov esp, ebp
pop ebp
ret