Function at 0x45c9c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66a666
mov eax, dword fs:[0]
push eax
sub esp, 0x63c
mov eax, dword [0x718924]
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 0x45ca0c
cmp word [eax], 0
je 0x45ca0c
push eax
push dword [ebp + 8]
call fcn.00455730
add esp, 8
jmp 0x45cd71
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 [0x718040]
mov dword [ebp - 4], edi
push 0x80000001
mov dword [ebp - 0x62c], edi
call esi
test eax, eax
jne 0x45cd60
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 fcn.004e30c0
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 0x45cacf
mov eax, dword [ebp - 0x634]
cmp eax, 1
je 0x45cab4
cmp eax, 2
jne 0x45cacf
mov eax, dword [ebp - 0x630]
test eax, eax
je 0x45cb3a
test al, 1
jne 0x45cacf
shr eax, 1
cmp word [ebp + eax*2 - 0x422], 0
je 0x45cb43
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004e30c0
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.0045aa30
test eax, eax
jne 0x45cc2d
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 8]
call fcn.00455730
mov edi, dword [ebp - 0x62c]
add esp, 8
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, al
jmp 0x45cd68
xor eax, eax
mov word [ebp - 0x420], ax
mov ecx, 0x674948
lea eax, [ebp - 0x420]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45cb76
test dx, dx
je 0x45cb72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45cb76
add eax, 4
add ecx, 4
test dx, dx
jne 0x45cb50
xor eax, eax
jmp 0x45cb7b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45cb92
mov edi, dword [ebp - 0x62c]
mov bl, 1
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45cd68
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004e30c0
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.0045aa30
test eax, eax
jne 0x45cd5a
mov ecx, 0x674948
lea eax, [ebp - 0x218]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45cc09
test dx, dx
je 0x45cc05
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45cc09
add eax, 4
add ecx, 4
test dx, dx
jne 0x45cbe3
xor eax, eax
jmp 0x45cc0e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45cd5a
mov bl, byte [ebp + 8]
mov edi, dword [ebp - 0x62c]
xor bl, 1
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45cd68
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 [0x718040]
mov dword [ebp - 0x630], 0
push 0x80000002
call esi
test eax, eax
jne 0x45cd5a
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 0x45cccc
cmp dword [ebp - 0x638], 4
jne 0x45cccc
cmp dword [ebp - 0x630], 1
sete bl
jmp 0x45cd22
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004e30c0
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.0045aa30
test eax, eax
jne 0x45cd45
lea eax, [ebp - 0x628]
push eax
push dword [ebp + 8]
call fcn.00455730
add esp, 8
mov bl, al
test esi, esi
je 0x45cd37
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
mov edi, dword [ebp - 0x62c]
jmp 0x45cd68
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x62c]
jmp 0x45cd68
test esi, esi
je 0x45cd5a
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
mov edi, dword [ebp - 0x62c]
jmp 0x45cd66
mov edi, dword [ebp - 0x62c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
test edi, edi
je 0x45cd6f
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.004cb998
mov esp, ebp
pop ebp
ret