Function at 0x2a88826d
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x1dc
mov eax, 0x2a985cda
call fcn.2a8c96b3
xor ebx, ebx
push ebx
call fcn.2a886a5c
pop ecx
cmp eax, 4
jne 0x2a88850d
cmp word [0x2a9fef44], bx
jne 0x2a888524
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.VCRUNTIME140.dll_memset
mov dword [ebp - 0x1c8], 0x80
mov dword [ebp - 0x1cc], 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.2a886a5c
add esp, 0x10
test ax, ax
je 0x2a8884e4
mov esi, fcn.2a84c830
mov byte [ebp - 0x1c0], bl
push esi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler]
push 0xa
push 3
lea eax, [ebp - 0x1c0]
push eax
push dword [ebp - 0x1dc]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa_s]
push ebx
lea eax, [ebp - 0x1c0]
mov edi, 0x12c
push eax
lea eax, [ebp - 0x1bc]
push edi
push eax
call fcn.2a886a5c
push ebx
push 0x2a98a044
lea eax, [ebp - 0x1bc]
push edi
push eax
call fcn.2a886a5c
push esi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler]
push 0xa
push 3
lea eax, [ebp - 0x1c0]
push eax
push dword [ebp - 0x1d8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa_s]
add esp, 0x48
lea eax, [ebp - 0x1c0]
push ebx
push eax
lea eax, [ebp - 0x1bc]
push edi
push eax
call fcn.2a886a5c
push ebx
push str.Outlook
lea eax, [ebp - 0x1bc]
push edi
push eax
call fcn.2a886a5c
add esp, 0x20
lea eax, [ebp - 0x1c4]
xor esi, esi
inc esi
push eax
push esi
push ebx
lea eax, [ebp - 0x1bc]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, 0x2a98c4a0
test eax, eax
jne 0x2a888436
lea eax, [ebp - 0x1c8]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x1cc]
push eax
push ebx
push str.Bitness
push dword [ebp - 0x1c4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2a88842a
lea eax, [ebp - 0x90]
push edi
push eax
call fcn.2a886a5c
pop ecx
pop ecx
test eax, eax
jne 0x2a888423
mov word [0x2a9fef40], si
mov word [0x2a9fef44], si
push dword [ebp - 0x1c4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [0x2a9fef44], 0
jne 0x2a8884c5
lea eax, [ebp - 0x1c0]
mov dword [ebp - 0x1c0], ebx
push eax
push 0x101
push ebx
lea eax, [ebp - 0x1bc]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x2a8884b9
lea eax, [ebp - 0x1c8]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x1cc]
push eax
push ebx
push str.Bitness
push dword [ebp - 0x1c0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2a8884b9
lea eax, [ebp - 0x90]
push edi
push eax
call fcn.2a886a5c
pop ecx
pop ecx
test eax, eax
jne 0x2a8884b2
mov word [0x2a9fef40], si
mov word [0x2a9fef44], si
push dword [ebp - 0x1c0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1e8], 0
mov dword [ebp - 4], 2
je 0x2a888524
push dword [ebp - 0x1e8]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x2a888524
movzx esi, word [0x2a9fef40]
cmp dword [ebp - 0x1e8], 0
mov dword [ebp - 4], 1
je 0x2a888508
push dword [ebp - 0x1e8]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
mov ax, si
jmp 0x2a88852a
cmp word [0x2a9fef40], bx
je 0x2a888524
xor eax, eax
mov word [0x2a9fef40], ax
mov word [0x2a9fef44], ax
mov ax, word [0x2a9fef40]
call fcn.2a8c9691
ret