Function at 0x1000a2b6
Capabilities:
Get common file path

Disassembly:
push 0x388
mov eax, 0x100a4093
call fcn.1007aa55
mov esi, ecx
mov dword [ebp - 0x314], esi
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x254]
xor ebx, ebx
mov dword [ebp - 0x310], eax
push ebx
mov dword [ebp - 0x254], ebx
push 0x100a8690
mov dword [ebp - 0x318], eax
mov byte [esi + 4], bl
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x240], 0xf
mov byte [ebp - 0x254], bl
call fcn.1000ec5f
mov eax, dword [esi]
mov ecx, esi
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
call dword [eax + 8]
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [esi + 0x120]
mov ecx, 0x100cec50
mov eax, dword [eax]
add eax, 0x168
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.1000fed8
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.1000224f
add esp, 0xc
cmp dword [ebp - 0x228], 8
lea ecx, [ebp - 0x2fc]
push ebx
push ecx
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 3
push ecx
push ebx
push ebx
push ebx
push ebx
push 2
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x300], ebx
cmovae eax, dword [ebp - 0x23c]
push 0x400
push eax
push 1
mov dword [ebp - 0x2fc], ebx
call dword [sym.imp.CRYPT32.dll_CryptQueryObject]
mov esi, dword [sym.imp.CRYPT32.dll_CryptMsgGetParam]
lea eax, [ebp - 0x304]
push eax
push ebx
push ebx
push 6
push dword [ebp - 0x2fc]
call esi
push dword [ebp - 0x304]
mov ebx, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 0x40
call ebx
lea ecx, [ebp - 0x304]
mov dword [ebp - 0x2f8], eax
push ecx
push eax
xor edi, edi
push edi
push 6
push dword [ebp - 0x2fc]
call esi
mov edx, dword [ebp - 0x2f8]
push edi
mov eax, dword [edx + 4]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x2dc], eax
mov dword [ebp - 0x2d8], ecx
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x2f0], eax
lea eax, [ebp - 0x2f4]
push eax
push 0xb0000
push edi
push 0x10001
push dword [ebp - 0x300]
mov dword [ebp - 0x2ec], ecx
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
push edi
push edi
push edi
push edi
mov edi, dword [sym.imp.CRYPT32.dll_CertGetNameStringW]
push 4
push eax
mov dword [ebp - 0x224], eax
call edi
mov esi, eax
lea eax, [esi + esi]
push eax
push 0x40
call ebx
push esi
push eax
xor ebx, ebx
mov dword [ebp - 0x30c], eax
push ebx
push ebx
push 4
push dword [ebp - 0x224]
call edi
mov esi, dword [ebp - 0x314]
mov ecx, 0x100cec50
mov eax, dword [esi + 0x120]
mov eax, dword [eax]
add eax, 0x1e4
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.1000fed8
mov edi, dword [ebp - 0x30c]
lea ecx, [ebp - 0x26c]
push edi
mov byte [ebp - 4], 4
call fcn.1000ce7c
mov byte [ebp - 0x21d], al
test al, al
jne 0x1000a5a6
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x334]
push str.Fallback_verification_failed_..._expected:_
push eax
call fcn.1000224f
add esp, 0xc
push 0x100a8cc4
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.1000ebb9
push eax
lea ecx, [ebp - 0x37c]
call fcn.10007702
push edi
lea ecx, [ebp - 0x37c]
mov byte [ebp - 4], 6
call fcn.1000ebb9
push eax
lea ecx, [ebp - 0x364]
call fcn.10007702
push 0x100a8cc0
lea ecx, [ebp - 0x364]
mov byte [ebp - 4], 7
call fcn.1000ebb9
push eax
lea ecx, [ebp - 0x34c]
call fcn.10007702
lea eax, [ebp - 0x34c]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x394]
mov ecx, 0x100cec50
push eax
call fcn.10012490
lea ecx, [ebp - 0x254]
cmp ecx, eax
je 0x1000a56b
mov byte [ebp - 0x30c], bl
push dword [ebp - 0x30c]
push eax
call fcn.1000dbf6
lea ecx, [ebp - 0x394]
call fcn.1000e761
lea ecx, [ebp - 0x34c]
call fcn.1000e787
lea ecx, [ebp - 0x364]
call fcn.1000e787
lea ecx, [ebp - 0x37c]
call fcn.1000e787
lea ecx, [ebp - 0x334]
call fcn.1000e787
mov byte [esi + 4], 1
mov eax, dword [ebp - 0x2f8]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x1000a5c4
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
cmp dword [ebp - 0x300], 0
je 0x1000a5da
push ebx
push dword [ebp - 0x300]
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
cmp dword [ebp - 0x2fc], 0
je 0x1000a5ef
push dword [ebp - 0x2fc]
call dword [sym.imp.CRYPT32.dll_CryptMsgClose]
lea ecx, [ebp - 0x26c]
call fcn.1000e787
lea ecx, [ebp - 0x23c]
call fcn.1000e787
lea ecx, [ebp - 0x284]
call fcn.1000e787
mov esi, dword [ebp - 0x310]
jmp 0x1000a710
lea eax, [ebp - 0x254]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x21d]
mov ecx, esi
push eax
call fcn.10001a48
mov eax, dword [ebp - 0x240]
cmp eax, 0x10
jb 0x1000a777
mov ecx, dword [ebp - 0x254]
inc eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x2f8], ecx
cmp eax, 0x1000
jb 0x1000a76e
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x2f8]
push eax
call fcn.1000c2e0
mov eax, dword [ebp - 0x224]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2f8]
push eax
push ecx
call fcn.1007a464
pop ecx
pop ecx
mov eax, esi
call fcn.1007a9a7
ret 4