Function at 0x2a8400fd
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x1dc
mov eax, 0x2a8511b1
call fcn.2a84a907
xor ebx, ebx
push ebx
call fcn.2a837262
pop ecx
cmp eax, 4
jne 0x2a84039d
cmp word [0x2a866404], bx
jne 0x2a8403b4
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.2a837262
add esp, 0x10
test ax, ax
je 0x2a840374
mov esi, fcn.2a803610
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.2a837262
push ebx
push 0x2a8533f4
lea eax, [ebp - 0x1bc]
push edi
push eax
call fcn.2a837262
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.2a837262
push ebx
push str.Outlook
lea eax, [ebp - 0x1bc]
push edi
push eax
call fcn.2a837262
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, 0x2a855ac8
test eax, eax
jne 0x2a8402c6
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 0x2a8402ba
lea eax, [ebp - 0x90]
push edi
push eax
call fcn.2a837262
pop ecx
pop ecx
test eax, eax
jne 0x2a8402b3
mov word [0x2a866400], si
mov word [0x2a866404], si
push dword [ebp - 0x1c4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [0x2a866404], 0
jne 0x2a840355
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 0x2a840349
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 0x2a840349
lea eax, [ebp - 0x90]
push edi
push eax
call fcn.2a837262
pop ecx
pop ecx
test eax, eax
jne 0x2a840342
mov word [0x2a866400], si
mov word [0x2a866404], si
push dword [ebp - 0x1c0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1e8], 0
mov dword [ebp - 4], 2
je 0x2a8403b4
push dword [ebp - 0x1e8]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x2a8403b4
movzx esi, word [0x2a866400]
cmp dword [ebp - 0x1e8], 0
mov dword [ebp - 4], 1
je 0x2a840398
push dword [ebp - 0x1e8]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
mov ax, si
jmp 0x2a8403ba
cmp word [0x2a866400], bx
je 0x2a8403b4
xor eax, eax
mov word [0x2a866400], ax
mov word [0x2a866404], ax
mov ax, word [0x2a866400]
call fcn.2a84a8e5
ret