Function at 0x2a88812f
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x1dc
mov eax, 0x2a951c9d
call fcn.2a8b882c
xor ebx, ebx
push ebx
call fcn.2a885f04
pop ecx
cmp eax, 4
jne 0x2a8883b4
cmp word [0x2a9b6234], bx
jne 0x2a8883cb
push 6
pop ecx
mov esi, str.SoftwareMicrosoftOffice_
mov dword [ebp - 0x1c4], ebx
lea edi, [ebp - 0x1bc]
mov byte [ebp - 0x90], bl
rep movsd dword es:[edi], dword [esi]
push 0x111
lea eax, [ebp - 0x1a1]
push ebx
movsw word es:[edi], word [esi]
push eax
movsb byte es:[edi], byte [esi]
call sub.MSVCR120.dll_memset
mov dword [ebp - 0x1cc], 0x80
mov dword [ebp - 0x1c8], ebx
mov dword [ebp - 0x1d0], ebx
mov dword [ebp - 0x1d4], ebx
mov dword [ebp - 0x1d8], ebx
mov dword [ebp - 0x1dc], ebx
mov dword [ebp - 0x1e8], ebx
lea eax, [ebp - 0x1e8]
mov dword [ebp - 4], ebx
push eax
call fcn.2a885f04
add esp, 0x10
test ax, ax
je 0x2a888398
mov edi, dword [sym.imp.MSVCR120.dll__set_invalid_parameter_handler]
mov byte [ebp - 0x1c0], bl
mov ebx, fcn.2a84d410
push ebx
call edi
mov esi, dword [sym.imp.MSVCR120.dll__itoa_s]
lea eax, [ebp - 0x1c0]
push 0xa
push 3
push eax
push dword [ebp - 0x1dc]
call esi
push 0
lea eax, [ebp - 0x1c0]
push eax
lea eax, [ebp - 0x1bc]
push 0x12c
push eax
call fcn.2a885f04
push 0
push 0x2a953de8
lea eax, [ebp - 0x1bc]
push 0x12c
push eax
call fcn.2a885f04
push ebx
call edi
push 0xa
push 3
lea eax, [ebp - 0x1c0]
push eax
push dword [ebp - 0x1d8]
call esi
add esp, 0x48
lea eax, [ebp - 0x1c0]
xor esi, esi
mov ebx, 0x12c
push esi
push eax
lea eax, [ebp - 0x1bc]
push ebx
push eax
call fcn.2a885f04
push esi
push str.Outlook
lea eax, [ebp - 0x1bc]
push ebx
push eax
call fcn.2a885f04
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x1c4]
add esp, 0x20
push eax
xor eax, eax
inc eax
push eax
push esi
lea eax, [ebp - 0x1bc]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x2a88830a
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x1c8]
push eax
push 0
push str.Bitness
push dword [ebp - 0x1c4]
call edi
test eax, eax
jne 0x2a888302
lea eax, [ebp - 0x90]
push 0x2a956a00
push eax
call fcn.2a885f04
pop ecx
pop ecx
test eax, eax
jne 0x2a8882f9
inc eax
mov word [0x2a9b6230], ax
jmp 0x2a8882fc
xor eax, eax
inc eax
mov word [0x2a9b6234], ax
push dword [ebp - 0x1c4]
call esi
cmp word [0x2a9b6234], 0
jne 0x2a888398
and dword [ebp - 0x1c0], 0
lea eax, [ebp - 0x1c0]
push eax
push 0x101
push 0
lea eax, [ebp - 0x1bc]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x2a888390
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x1c8]
push eax
push 0
push str.Bitness
push dword [ebp - 0x1c0]
call edi
test eax, eax
jne 0x2a888390
lea eax, [ebp - 0x90]
push 0x2a956a00
push eax
call fcn.2a885f04
pop ecx
pop ecx
test eax, eax
jne 0x2a888387
inc eax
mov word [0x2a9b6230], ax
jmp 0x2a88838a
xor eax, eax
inc eax
mov word [0x2a9b6234], ax
push dword [ebp - 0x1c0]
call esi
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1e8], 0
je 0x2a8883cb
push dword [ebp - 0x1e8]
call dword [sym.imp.MSVCR120.dll_free]
pop ecx
jmp 0x2a8883cb
cmp word [0x2a9b6230], bx
je 0x2a8883cb
xor eax, eax
mov word [0x2a9b6230], ax
mov word [0x2a9b6234], ax
mov ax, word [0x2a9b6230]
call fcn.2a8b880e
ret