Function at 0x10031a01
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf50
mov eax, dword [0x1065e7ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x1a
mov dword [ebp - 0xf4c], eax
lea edi, [ebp - 0xfc]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
pop ecx
mov dword [ebp - 0xf44], eax
mov esi, str.SoftwareMicrosoftOfficeCommonGraphicsBlocklist
lea eax, [ebp - 0xf38]
push eax
push 0xf003f
push ebx
lea eax, [ebp - 0xfc]
push eax
rep movsd dword es:[edi], dword [esi]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10031d0e
mov edi, 0x208
mov dword [ebp - 0xf3c], 4
push edi
lea eax, [ebp - 0x714]
push ebx
push eax
call fcn.1027bff1
mov esi, dword [sym.imp.ADVAPI32.dll_RegGetValueW]
lea eax, [ebp - 0xf3c]
add esp, 0xc
push eax
lea eax, [ebp - 0x714]
push eax
lea eax, [ebp - 0xf40]
push eax
push 2
push str.BlockListAll
push ebx
push dword [ebp - 0xf38]
call esi
xor edx, edx
movzx ecx, bl
inc edx
test eax, eax
push edi
lea eax, [ebp - 0x304]
cmove ecx, edx
push ebx
push eax
mov dword [ebp - 0xf48], ecx
call fcn.1027bff1
add esp, 0xc
lea eax, [ebp - 0x304]
mov edi, 0x104
push eax
push edi
call fcn.10030de0
test al, al
je 0x10031d02
lea eax, [ebp - 0x304]
push edi
push eax
call fcn.10299b3d
pop ecx
pop ecx
mov dword [ebp - 0xf3c], eax
lea eax, [ebp - 0xf3c]
push eax
lea eax, [ebp - 0x714]
push eax
lea eax, [ebp - 0xf40]
push eax
push 2
lea eax, [ebp - 0x304]
push eax
push ebx
push dword [ebp - 0xf38]
call esi
test eax, eax
movzx ecx, bl
push 1
pop eax
cmove ecx, eax
cmp byte [ebp - 0xf48], bl
jne 0x10031b40
test cl, cl
je 0x10031cbb
mov eax, dword [ebp - 0xf4c]
mov edi, str._08X__08X__08X__08X
push dword [eax + 0x10c]
push dword [eax + 0x108]
push dword [eax + 0x104]
push dword [eax + 0x100]
lea eax, [ebp - 0x94]
push edi
push eax
call fcn.100309fb
mov ecx, dword [ebp - 0xf44]
movzx eax, word [ecx]
push eax
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx + 4]
push eax
movzx eax, word [ecx + 6]
push eax
lea eax, [ebp - 0x4c]
push edi
push eax
call fcn.100309fb
mov edi, 0x208
lea eax, [ebp - 0x50c]
push edi
push ebx
push eax
call fcn.1027bff1
add esp, 0x3c
mov dword [ebp - 0xf50], edi
lea eax, [ebp - 0xf50]
push eax
lea eax, [ebp - 0x50c]
push eax
lea eax, [ebp - 0xf40]
push eax
push 2
lea eax, [ebp - 0x94]
push eax
push ebx
push dword [ebp - 0xf38]
call esi
test eax, eax
jne 0x10031d02
lea ecx, [ebp - 0x50c]
lea eax, [ebp - 0x4c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10031c0d
test dx, dx
je 0x10031c09
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10031c0d
add eax, 4
add ecx, 4
test dx, dx
jne 0x10031be7
mov eax, ebx
jmp 0x10031c12
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10031ccb
mov edi, 0x410
lea eax, [ebp - 0xb24]
push edi
push ebx
push eax
call fcn.1027bff1
add esp, 0xc
mov dword [ebp - 0xf44], edi
lea eax, [ebp - 0xf44]
push eax
lea eax, [ebp - 0xb24]
push eax
lea eax, [ebp - 0xf40]
push eax
push 2
push 0x103404f0
push ebx
push dword [ebp - 0xf38]
call esi
test eax, eax
jne 0x10031cb6
push edi
lea eax, [ebp - 0xf34]
push ebx
push eax
call fcn.1027bff1
push edi
lea eax, [ebp - 0xb24]
push eax
lea eax, [ebp - 0xf34]
push eax
call fcn.1027a3ab
add esp, 0x18
lea eax, [ebp - 0xf34]
push eax
call fcn.10030d6f
push ecx
push ecx
fstp qword [esp]
lea eax, [ebp - 0xb24]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x94]
push eax
mov eax, dword [ebp - 0xf48]
movzx eax, al
push eax
call fcn.10030c84
xor eax, eax
lea ebx, [eax + 1]
push dword [ebp - 0xf38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
jmp 0x10031d10
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50c]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.10030c20
push dword [ebp - 0xf38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0xfc]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x10031d0e
push dword [ebp - 0xf38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.102790a9
mov esp, ebp
pop ebp
ret 8