Function at 0x10099aa0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f0ad8
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x1011d1c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0xf4], edi
mov eax, dword [0x1011de3c]
test byte [eax + 0x1c], 4
je 0x1009a045
cmp byte [eax + 0x19], 4
jb 0x1009a045
xor ecx, ecx
mov dword [ebp - 0x108], ecx
mov esi, ecx
neg esi
sbb esi, esi
add esi, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x100], esi
test ecx, ecx
jne 0x10099b26
cmp eax, 0x1011de3c
je 0x10099b51
test byte [eax + 0x1c], 4
je 0x10099b51
cmp byte [eax + 0x19], 4
jb 0x10099b51
mov ecx, 0x1e1
jmp 0x10099b3e
cmp eax, 0x1011de3c
je 0x10099b51
test byte [eax + 0x1c], 4
je 0x10099b51
cmp byte [eax + 0x19], 4
jb 0x10099b51
mov ecx, 0x1e2
push dword [eax + 0x14]
mov edx, 0x101059c4
push dword [eax + 0x10]
call fcn.10022c70
add esp, 8
lea eax, [ebp - 0xf8]
mov dword [ebp - 0xf8], 0
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftOfficeOutlookAddins
push esi
call dword [0x1011d01c]
test eax, eax
je 0x10099bae
mov ecx, dword [0x1011de3c]
cmp ecx, 0x1011de3c
je 0x10099bf9
test byte [ecx + 0x1c], 4
je 0x10099bf9
cmp byte [ecx + 0x19], 5
jb 0x10099bf9
push eax
push dword [ecx + 0x14]
mov edx, 0x101059c4
push dword [ecx + 0x10]
mov ecx, 0x1e3
call fcn.10022cf0
add esp, 0xc
jmp 0x10099bf9
mov esi, dword [ebp - 0xf8]
mov dword [ebp - 4], 0
or edi, 1
mov dword [ebp - 0xf4], edi
push dword [ebp - 0xf8]
mov byte [ebp - 0x114], 0
mov dword [ebp - 0x110], esi
call fcn.1009a070
and edi, 0xfffffffe
mov dword [ebp - 0xf4], edi
mov dword [ebp - 4], 0xffffffff
push esi
call dword [0x1011d00c]
mov esi, dword [ebp - 0x100]
lea eax, [ebp - 0xfc]
mov dword [ebp - 0xfc], 0
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftOffice
push esi
call dword [0x1011d01c]
mov ecx, eax
test ecx, ecx
je 0x10099c65
mov eax, dword [0x1011de3c]
cmp eax, 0x1011de3c
je 0x1009a02f
test byte [eax + 0x1c], 4
je 0x1009a02f
cmp byte [eax + 0x19], 5
jb 0x1009a02f
push ecx
push dword [eax + 0x14]
mov edx, 0x101059c4
mov ecx, 0x1e4
push dword [eax + 0x10]
call fcn.10022cf0
add esp, 0xc
jmp 0x1009a02a
mov edi, dword [ebp - 0xfc]
mov dword [ebp - 4], 1
lea eax, [ebp - 0x104]
mov esi, dword [ebp - 0xf4]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
push 0
or esi, 2
mov byte [ebp - 0x11c], 0
mov dword [ebp - 0xf4], esi
push 0
push dword [ebp - 0xfc]
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x104], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x10099d07
mov ecx, dword [0x1011de3c]
cmp ecx, 0x1011de3c
je 0x1009a011
test byte [ecx + 0x1c], 4
je 0x1009a011
cmp byte [ecx + 0x19], 5
jb 0x1009a011
push eax
push dword [ecx + 0x14]
mov edx, 0x101059c4
push dword [ecx + 0x10]
mov ecx, 0x1e5
call fcn.10022cf0
add esp, 0xc
jmp 0x1009a011
xor eax, eax
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x104], eax
jbe 0x1009a011
nop dword [eax + eax]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x10c], 0xc8
push ecx
lea ecx, [ebp - 0xd8]
push ecx
push eax
push dword [ebp - 0xfc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x10099d95
mov ecx, dword [0x1011de3c]
cmp ecx, 0x1011de3c
je 0x10099ff2
test byte [ecx + 0x1c], 4
je 0x10099ff2
cmp byte [ecx + 0x19], 5
jb 0x10099ff2
push eax
push dword [ecx + 0x14]
mov edx, 0x101059c4
push dword [ecx + 0x10]
mov ecx, 0x1e6
call fcn.10022cf0
add esp, 0xc
jmp 0x10099ff2
xorps xmm0, xmm0
mov dword [ebp - 0xe0], 0
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xdc], 0
movups xmmword [ebp - 0xf0], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10099dc0
sub ecx, edx
lea eax, [ebp - 0xd8]
push ecx
push eax
lea ecx, [ebp - 0xf0]
call fcn.10022b30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf0]
push 0xf
push str.OutlookAddins
call fcn.10021a80
cmp dword [ebp - 0xdc], 0xf
lea ecx, [ebp - 0xf8]
push ecx
push 0x20019
lea eax, [ebp - 0xf0]
cmova eax, dword [ebp - 0xf0]
push 0
push eax
push dword [ebp - 0xfc]
call dword [0x1011d018]
test eax, eax
jne 0x10099eaa
mov esi, dword [ebp - 0xf8]
mov byte [ebp - 4], 3
or dword [ebp - 0xf4], 4
mov byte [ebp - 0x124], al
mov dword [ebp - 0x120], esi
mov ecx, dword [0x1011de3c]
cmp ecx, 0x1011de3c
je 0x10099e8d
test byte [ecx + 0x1c], 4
je 0x10099e8d
cmp byte [ecx + 0x19], 4
jb 0x10099e8d
cmp dword [ebp - 0xdc], 0xf
lea eax, [ebp - 0xf0]
mov edx, 0x101059c4
cmova eax, dword [ebp - 0xf0]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x1e7
call fcn.1002d7a0
add esp, 0xc
push dword [ebp - 0xf8]
call fcn.1009a070
and dword [ebp - 0xf4], 0xfffffffb
mov byte [ebp - 4], 2
push esi
call dword [0x1011d00c]
lea eax, [ebp - 0xd8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10099eb3
sub eax, edx
lea ecx, [ebp - 0xf0]
push eax
lea eax, [ebp - 0xd8]
push eax
call fcn.10021d40
push 0x21
push str.OutlookResiliencyDisabledItems
lea ecx, [ebp - 0xf0]
call fcn.10021a80
cmp dword [ebp - 0xdc], 0xf
lea ecx, [ebp - 0xf8]
push ecx
push 0x20019
lea eax, [ebp - 0xf0]
cmova eax, dword [ebp - 0xf0]
push 0
push eax
push dword [ebp - 0xfc]
call dword [0x1011d018]
test eax, eax
jne 0x10099f99
mov esi, dword [ebp - 0xf8]
mov byte [ebp - 4], 4
or dword [ebp - 0xf4], 8
mov byte [ebp - 0x12c], al
mov dword [ebp - 0x128], esi
mov ecx, dword [0x1011de3c]
cmp ecx, 0x1011de3c
je 0x10099f7c
test byte [ecx + 0x1c], 4
je 0x10099f7c
cmp byte [ecx + 0x19], 4
jb 0x10099f7c
cmp dword [ebp - 0xdc], 0xf
lea eax, [ebp - 0xf0]
mov edx, 0x101059c4
cmova eax, dword [ebp - 0xf0]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x1e8
call fcn.1002d7a0
add esp, 0xc
push dword [ebp - 0xf8]
call fcn.1009adc0
and dword [ebp - 0xf4], 0xfffffff7
mov byte [ebp - 4], 2
push esi
call dword [0x1011d00c]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xdc]
cmp ecx, 0xf
jbe 0x10099fd7
mov edx, dword [ebp - 0xf0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10099fcd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009a060
push ecx
push edx
call fcn.100be473
add esp, 8
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
mov eax, dword [ebp - 0x100]
inc eax
mov dword [ebp - 0x100], eax
cmp eax, dword [ebp - 0x104]
jb 0x10099d20
mov esi, dword [ebp - 0xf4]
and esi, 0xfffffffd
mov dword [ebp - 0xf4], esi
mov dword [ebp - 4], 0xffffffff
push edi
call dword [0x1011d00c]
mov edi, esi
mov eax, dword [0x1011de3c]
mov ecx, dword [ebp - 0x108]
inc ecx
mov dword [ebp - 0x108], ecx
cmp ecx, 2
jl 0x10099af6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100be435
mov esp, ebp
pop ebp
ret
call fcn.100c3f97
int3