Function at 0x6e0365b6
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x84c
mov eax, 0x6e04da1c
call fcn.6e04936c
mov edi, dword [ebp + 8]
xor edx, edx
mov bl, dl
mov eax, edi
mov byte [ebp - 0x841], bl
mov dword [edi + 0x10], edx
cmp dword [edi + 0x14], 8
jb 0x6e0365df
mov eax, dword [edi]
xor ecx, ecx
mov word [eax], cx
xor eax, eax
push 7
pop esi
mov dword [ebp - 0x818], edx
mov dword [ebp - 0x814], esi
mov word [ebp - 0x828], ax
lea eax, [ebp - 0x828]
mov dword [ebp - 4], edx
push eax
call fcn.6e0369bb
pop ecx
test al, al
je 0x6e03694a
and dword [ebp - 0x800], 0
lea ecx, [ebp - 0x810]
xor eax, eax
mov dword [ebp - 0x7fc], esi
push 0x6e05a6e0
mov word [ebp - 0x810], ax
call fcn.6e010ad8
and dword [ebp - 0x7e8], 0
lea ecx, [ebp - 0x7f8]
xor eax, eax
mov byte [ebp - 4], 1
push str.SoftwareMicrosoftOffice_sOutlookSecurity
mov dword [ebp - 0x7e4], esi
mov word [ebp - 0x7f8], ax
call fcn.6e010ad8
cmp dword [ebp - 0x7fc], 8
lea edx, [ebp - 0x810]
mov eax, dword [ebp - 0x800]
lea ebx, [ebp - 0x7f8]
cmovae edx, dword [ebp - 0x810]
cmp dword [ebp - 0x7e4], 8
mov ecx, dword [ebp - 0x7e8]
cmovae ebx, dword [ebp - 0x7f8]
mov byte [ebp - 4], 2
mov dword [ebp - 0x848], edx
mov dword [ebp - 0x850], eax
cmp eax, ecx
ja 0x6e036715
lfence
test eax, eax
jne 0x6e0366b7
xor esi, esi
jmp 0x6e036718
sub ecx, eax
inc ecx
lea eax, [ebx + ecx*2]
movzx ecx, word [edx]
mov dword [ebp - 0x84c], eax
sub eax, ebx
sar eax, 1
push eax
push ecx
mov dword [ebp - 0x858], ecx
push ebx
jmp 0x6e036707
push dword [ebp - 0x850]
push dword [ebp - 0x848]
push esi
call fcn.6e03b104
add esp, 0xc
test eax, eax
je 0x6e0369b2
mov eax, dword [ebp - 0x84c]
add esi, 2
sub eax, esi
sar eax, 1
push eax
push dword [ebp - 0x858]
push esi
call fcn.6e03b104
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x6e0366d5
or esi, 0xffffffff
push 8
pop ebx
cmp dword [ebp - 0x814], ebx
lea eax, [ebp - 0x828]
push dword [ebp - 0x818]
cmovae eax, dword [ebp - 0x828]
lea ecx, [ebp - 0x7f8]
push eax
push dword [ebp - 0x850]
push esi
call fcn.6e0334c1
cmp dword [ebp - 0x7e4], ebx
lea ecx, [ebp - 0x854]
push ecx
lea eax, [ebp - 0x7f8]
cmovae eax, dword [ebp - 0x7f8]
xor esi, esi
push 0x20019
push esi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x6e03687b
lea eax, [ebp - 0x858]
mov dword [ebp - 0x850], esi
push eax
lea eax, [ebp - 0x7e0]
mov dword [ebp - 0x858], 0x7d0
push eax
lea eax, [ebp - 0x850]
push eax
push esi
push str.OutlookSecureTempFolder
push dword [ebp - 0x854]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x6e03686f
cmp dword [ebp - 0x850], 1
jne 0x6e03686f
cmp dword [ebp - 0x858], esi
je 0x6e03686f
mov word [ebp - 0x840], ax
lea ecx, [ebp - 0x840]
lea eax, [ebp - 0x7e0]
mov dword [ebp - 0x830], esi
push eax
mov dword [ebp - 0x82c], 7
call fcn.6e010ad8
lea eax, [ebp - 0x840]
mov ecx, edi
push eax
call fcn.6e03b104
mov eax, dword [ebp - 0x82c]
cmp eax, ebx
jb 0x6e036868
mov ecx, dword [ebp - 0x840]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x84c], eax
mov dword [ebp - 0x848], ecx
mov byte [ebp - 4], 3
cmp eax, 0x1000
jb 0x6e03685b
lea eax, [ebp - 0x84c]
push eax
lea eax, [ebp - 0x848]
push eax
call fcn.6e03b104
mov eax, dword [ebp - 0x84c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x848]
push eax
push ecx
call fcn.6e03b104
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov byte [ebp - 0x841], 1
push dword [ebp - 0x854]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x7e4]
cmp eax, ebx
jb 0x6e0368d3
mov ecx, dword [ebp - 0x7f8]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x84c], ecx
mov byte [ebp - 4], 4
cmp eax, 0x1000
jb 0x6e0368ca
lea eax, [ebp - 0x848]
push eax
lea eax, [ebp - 0x84c]
push eax
call fcn.6e03b104
mov eax, dword [ebp - 0x848]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x84c]
push eax
push ecx
call fcn.6e03b104
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x7e8], esi
mov word [ebp - 0x7f8], ax
mov eax, dword [ebp - 0x7fc]
mov dword [ebp - 0x7e4], 7
cmp eax, ebx
jb 0x6e036944
mov ecx, dword [ebp - 0x810]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x84c], ecx
mov byte [ebp - 4], 5
cmp eax, 0x1000
jb 0x6e03693b
lea eax, [ebp - 0x848]
push eax
lea eax, [ebp - 0x84c]
push eax
call fcn.6e03b104
mov eax, dword [ebp - 0x848]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x84c]
push eax
push ecx
call fcn.6e03b104
pop ecx
pop ecx
mov bl, byte [ebp - 0x841]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x814]
cmp eax, 8
jb 0x6e0369aa
mov ecx, dword [ebp - 0x828]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x854], eax
mov dword [ebp - 0x848], ecx
mov dword [ebp - 4], 6
cmp eax, 0x1000
jb 0x6e0369a1
lea eax, [ebp - 0x854]
push eax
lea eax, [ebp - 0x848]
push eax
call fcn.6e03b104
mov eax, dword [ebp - 0x854]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x848]
push eax
push ecx
call fcn.6e03b104
pop ecx
pop ecx
mov al, bl
call fcn.6e049316
ret
sub esi, ebx
sar esi, 1
jmp 0x6e036718