Function at 0x4a7f90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5311ed
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2f0
mov eax, dword [0x566090]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x2e8], eax
mov dword [ebp - 0x2e4], eax
mov eax, dword [esi + 0x357c]
mov dword [ebp - 0x2f0], str.SYSTEMCurrentControlSetServices_atc
mov eax, dword [eax]
cmp byte [eax + 0x19908], 0
jne 0x4a8211
call fcn.00441aa0
mov eax, dword [eax]
cmp dword [eax], 0
je 0x4a80f8
lea eax, [ebp - 0xa8]
push eax
call fcn.004a8770
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x2e8], 1
jb 0x4a8035
mov eax, dword [eax]
lea edx, [ebp - 0x2e4]
mov dword [ebp - 0x2e4], eax
lea ecx, [ebp - 0x60]
call fcn.0041ccb0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x48]
push eax
mov dword [ebp - 0x2e8], 3
call fcn.00444e70
mov dword [ebp - 4], 2
lea edi, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x118]
mov eax, 0x207
mov dword [ebp - 0x24], 0x290028
cmovae edi, dword [ebp - 0x48]
mov edx, str.CReinitProcess::GetAtcData
mov dword [ebp - 0x2e4], eax
mov dword [ebp - 0x2e8], eax
mov dword [ebp - 0x20], 0x2d0020
mov dword [ebp - 0x1c], 0x20
call fcn.0045c950
mov edx, str._BDREINIT__::
lea ecx, [ebp - 0xe0]
mov esi, eax
call fcn.00419450
push esi
mov edx, eax
lea ecx, [ebp - 0x190]
call fcn.0045ca30
add esp, 4
lea ecx, [ebp - 0x24]
mov edx, eax
push ecx
lea ecx, [ebp - 0x1f0]
call fcn.0045cb90
add esp, 4
mov esi, eax
call fcn.00441aa0
push edi
push 0
push esi
push 0
push eax
call fcn.0043ebb0
add esp, 0x14
mov eax, dword [ebp - 0x2e4]
test al, 4
je 0x4a815f
mov edx, dword [ebp - 0x34]
and eax, 0xfffffffb
mov dword [ebp - 0x2e4], eax
cmp edx, 8
jb 0x4a814b
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a813b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a8755
push edx
push ecx
call fcn.004fc7e0
mov eax, dword [ebp - 0x2e4]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], cx
test al, 2
je 0x4a81c0
mov edx, dword [ebp - 0x4c]
and eax, 0xfffffffd
mov dword [ebp - 0x2e4], eax
cmp edx, 8
jb 0x4a81ac
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a819c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a8755
push edx
push ecx
call fcn.004fc7e0
mov eax, dword [ebp - 0x2e4]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], cx
test al, 1
je 0x4a8737
mov edx, dword [ebp - 0x94]
cmp edx, 8
jb 0x4a8737
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a8202
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a8755
push edx
push ecx
call fcn.004fc7e0
add esp, 8
jmp 0x4a8737
lea eax, [ebp - 0x2ec]
mov dword [ebp - 4], 3
push eax
push 1
push 0
push str.SYSTEMCurrentControlSetServices_atc
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x2ec], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x2fc], eax
test eax, eax
je 0x4a8464
call fcn.00441aa0
mov eax, dword [eax]
cmp dword [eax], 0
je 0x4a8351
lea eax, [ebp - 0xa8]
push eax
call fcn.004a8890
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x2e8], 8
jb 0x4a827d
mov eax, dword [eax]
mov dword [ebp - 0x2e4], eax
lea edx, [ebp - 0x2e4]
lea eax, [ebp - 0x2fc]
push eax
lea eax, [ebp - 0x2f0]
push eax
lea ecx, [ebp - 0x60]
call fcn.00483f50
add esp, 8
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x48]
push eax
mov dword [ebp - 0x2e8], 0x18
call fcn.00444e70
mov dword [ebp - 4], 6
lea edi, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x118]
mov eax, 0x438
mov dword [ebp - 0x24], 0x290028
cmovae edi, dword [ebp - 0x48]
mov edx, str.CReinitProcess::GetAtcData
mov dword [ebp - 0x2e4], eax
mov dword [ebp - 0x2e8], eax
mov dword [ebp - 0x20], 0x2d0020
mov dword [ebp - 0x1c], 0x20
call fcn.0045c950
mov edx, str._BDREINIT__::
lea ecx, [ebp - 0xe0]
mov esi, eax
call fcn.00419450
push esi
mov edx, eax
lea ecx, [ebp - 0x190]
call fcn.0045ca30
add esp, 4
lea ecx, [ebp - 0x24]
mov edx, eax
push ecx
lea ecx, [ebp - 0x1f0]
call fcn.0045cb90
add esp, 4
mov esi, eax
call fcn.00441aa0
push edi
push 0
push esi
push 0
push eax
call fcn.0043ebb0
add esp, 0x14
mov eax, dword [ebp - 0x2e4]
test al, 0x20
je 0x4a83b8
mov edx, dword [ebp - 0x34]
and eax, 0xffffffdf
mov dword [ebp - 0x2e4], eax
cmp edx, 8
jb 0x4a83a4
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a8394
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a875a
push edx
push ecx
call fcn.004fc7e0
mov eax, dword [ebp - 0x2e4]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], cx
test al, 0x10
je 0x4a8419
mov edx, dword [ebp - 0x4c]
and eax, 0xffffffef
mov dword [ebp - 0x2e4], eax
cmp edx, 8
jb 0x4a8405
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a83f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a875a
push edx
push ecx
call fcn.004fc7e0
mov eax, dword [ebp - 0x2e4]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], cx
test al, 8
je 0x4a8726
mov edx, dword [ebp - 0x94]
cmp edx, 8
jb 0x4a8726
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a86f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a875a
jmp 0x4a86f7
lea eax, [ebp - 0x300]
mov dword [ebp - 0x300], 4
push eax
lea eax, [ebp - 0x2f4]
push eax
push 0
push 0
push str.CloudOverridesVersion
push dword [ebp - 0x2ec]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
je 0x4a8703
call fcn.00441aa0
mov ecx, dword [eax]
cmp dword [ecx], 0
je 0x4a85ec
lea eax, [ebp - 0xc0]
push eax
call fcn.004a89b0
mov edx, eax
mov byte [ebp - 4], 7
cmp dword [edx + 0x14], 8
mov dword [ebp - 0x2e8], 0x40
jb 0x4a84cf
mov edx, dword [edx]
mov eax, dword [ebp - 0x2f4]
mov ecx, edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2f4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2f4]
lea esi, [ecx + 2]
mov dword [ebp - 0x30], str.CloudOverridesVersion
mov dword [ebp - 0x28], str.SYSTEMCurrentControlSetServices_atc
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a8500
sub ecx, esi
sub esp, 0x10
mov eax, esp
sar ecx, 1
lea esi, [ebp - 0x30]
push ecx
push edx
lea ecx, [ebp - 0x90]
mov dword [eax], 0x1cc
mov dword [eax + 4], 0
mov dword [eax + 8], esi
call fcn.00426fd0
add esp, 0x18
lea eax, [ebp - 0x90]
mov dword [ebp - 4], 8
push eax
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x2e8], 0x8c0
call fcn.00444e70
mov dword [ebp - 4], 9
lea edi, [ebp - 0x78]
cmp dword [ebp - 0x64], 8
lea ecx, [ebp - 0x228]
mov eax, 0x19c0
mov dword [ebp - 0x24], 0x290028
cmovae edi, dword [ebp - 0x78]
mov edx, str.CReinitProcess::GetAtcData
mov dword [ebp - 0x2e4], eax
mov dword [ebp - 0x2e8], eax
mov dword [ebp - 0x20], 0x2d0020
mov dword [ebp - 0x1c], 0x20
call fcn.0045c950
mov edx, str._BDREINIT__::
lea ecx, [ebp - 0x138]
mov esi, eax
call fcn.00419450
push esi
mov edx, eax
lea ecx, [ebp - 0x280]
call fcn.0045ca30
add esp, 4
lea ecx, [ebp - 0x24]
mov edx, eax
push ecx
lea ecx, [ebp - 0x2e0]
call fcn.0045cb90
add esp, 4
mov esi, eax
call fcn.00441aa0
push edi
push 0
push esi
push 0
push eax
call fcn.0043ebb0
add esp, 0x14
mov eax, dword [ebp - 0x2e4]
test eax, 0x100
je 0x4a8658
mov edx, dword [ebp - 0x64]
and eax, 0xfffffeff
mov dword [ebp - 0x2e4], eax
cmp edx, 8
jb 0x4a8644
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a8634
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a875f
push edx
push ecx
call fcn.004fc7e0
mov eax, dword [ebp - 0x2e4]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], cx
test al, al
jns 0x4a86c1
mov edx, dword [ebp - 0x7c]
and eax, 0xffffff7f
mov dword [ebp - 0x2e4], eax
cmp edx, 8
jb 0x4a86aa
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a869a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a875f
push edx
push ecx
call fcn.004fc7e0
mov eax, dword [ebp - 0x2e4]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], cx
test al, 0x40
je 0x4a8726
mov edx, dword [ebp - 0xac]
cmp edx, 8
jb 0x4a8726
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a86f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a875f
push edx
push ecx
call fcn.004fc7e0
add esp, 8
jmp 0x4a8726
mov eax, dword [esi + 0x357c]
mov eax, dword [eax]
mov byte [eax + 0x2de98], 1
mov eax, dword [esi + 0x357c]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x2f4]
mov dword [ecx + 0x2de9c], eax
mov eax, dword [ebp - 0x2ec]
test eax, eax
je 0x4a8737
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fc7af
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0050175f
call fcn.0050175f
call fcn.0050175f
int3