Function at 0x10008450
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aaca3
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x100d800c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x15c], ebx
mov eax, dword [ebp + 0xc]
lea ecx, [ebx + 0x18]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x164], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 8], eax
mov eax, dword [ebp + 0x20]
mov dword [ebx], edi
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov eax, dword [edi]
mov dword [ebp - 0x15c], ecx
push ecx
mov esi, dword [eax + 0x38]
mov ecx, esi
call dword [0x100b42b0]
mov ecx, edi
call esi
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov esi, dword [eax + 0x68]
lea eax, [ebx + 0x30]
push eax
mov ecx, esi
call dword [0x100b42b0]
mov ecx, edi
call esi
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x158]
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x10008511
mov ecx, dword [esi]
mov eax, dword [ebp + 0x14]
push ecx
or eax, 0xf003f
push eax
push ecx
push dword [ebp - 0x164]
lea ecx, [ebx + 0x48]
call fcn.100534e0
mov dword [ebp - 4], 2
lea edi, [ebx + 0x50]
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [edi + 4], ecx
lea ecx, [edi + 8]
mov dword [edi], eax
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x15c], edi
jb 0x1000854f
mov esi, dword [esi]
mov eax, dword [ebp + 0x14]
push ecx
or eax, 0x20019
push eax
push esi
push dword [ebp - 0x164]
call fcn.100534e0
mov edx, dword [edi + 0xc]
lea ecx, [edi + 0x10]
lea eax, [ecx + 4]
mov dword [ebp - 0x158], ecx
mov dword [eax], 0
push eax
push 0x20019
push 0
push str.UpdateStatus
mov byte [ebp - 4], 4
push edx
mov dword [ecx], vtable.RegistryAccess.0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x10008899
lea edi, [ebx + 0x68]
mov dword [edi], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0xf
mov byte [edi], al
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x9c], 0xf
mov byte [ebx + 0x88], al
mov byte [ebp - 4], 8
lea esi, [ebx + 0xe0]
mov byte [ebx + 0xa0], al
xorps xmm0, xmm0
movq qword [ebx + 0xa8], xmm0
mov dword [ebx + 0xa8], eax
mov dword [ebx + 0xac], eax
mov byte [ebx + 0xb0], al
mov dword [ebx + 0xb8], eax
movq qword [ebx + 0xc0], xmm0
mov dword [ebx + 0xc0], eax
mov dword [ebx + 0xc4], eax
mov dword [ebx + 0xc8], eax
movups xmmword [ebx + 0xd0], xmm0
mov dword [ebx + 0xd0], eax
mov dword [ebx + 0xd4], eax
mov dword [ebx + 0xd8], eax
mov dword [ebx + 0xdc], eax
mov dword [ebp - 0x15c], esi
mov dword [esi], eax
mov dword [esi + 4], eax
push 0x58
lfence
call fcn.1006dc33
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [ebx + 0xe8], 0
mov dword [ebx + 0xec], 0
mov dword [ebx + 0xf0], 0
mov dword [ebx + 0xf4], 0
mov dword [ebx + 0x104], 0
mov dword [ebx + 0x108], 0xf
mov byte [ebx + 0xf4], 0
mov dword [ebx + 0x10c], 0
mov dword [ebx + 0x11c], 0
mov dword [ebx + 0x120], 0xf
mov byte [ebx + 0x10c], 0
mov dword [ebx + 0x124], 0
mov dword [ebx + 0x128], 0
mov dword [ebx + 0x12c], 0
mov byte [ebp - 4], 0xd
lea esi, [ebx + 0x130]
mov dword [ebp - 0x15c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
push 0x28
lfence
call fcn.1006dc33
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea eax, [ebp - 0x30]
mov byte [ebx + 0x138], 1
mov byte [ebp - 4], 0xf
mov ecx, ebx
push eax
call fcn.10009670
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x20], 0
jne 0x10008783
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x10008879
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10008774
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100088b4
push edx
push ecx
call fcn.1006d8b6
add esp, 8
jmp 0x10008879
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.10009900
lea eax, [ebp - 0x154]
mov byte [ebp - 4], 0x11
cmp edi, eax
je 0x100087bd
cmp dword [ebp - 0x140], 0x10
mov ecx, edi
push dword [ebp - 0x144]
cmovae eax, dword [ebp - 0x154]
push eax
call fcn.10005da0
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebx + 0x18]
call fcn.100165a0
lea ecx, [ebp - 0x154]
mov dword [ebx + 0x80], 1
call fcn.100088c0
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x10008879
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10008774
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100088b4
jmp 0x10008774
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.1006d58e
mov esp, ebp
pop ebp
ret 0x1c
push str.Failed_to_open_registry_key
lea ecx, [ebp - 0x30]
call fcn.10005d60
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 5
mov ecx, esi
call fcn.1000a4f0
call fcn.100869bf
int3