Function at 0x1000a56c
Capabilities:
Get common file path

Disassembly:
push 0x388
mov eax, 0x100b6d43
call fcn.1008b8c9
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 0x100bd710
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.1000ef18
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, 0x100e9600
mov eax, dword [eax]
add eax, 0x168
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.10010191
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.100024ef
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, 0x100e9600
mov eax, dword [esi + 0x120]
mov eax, dword [eax]
add eax, 0x1e4
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.10010191
mov edi, dword [ebp - 0x30c]
lea ecx, [ebp - 0x26c]
push edi
mov byte [ebp - 4], 4
call fcn.1000d135
mov byte [ebp - 0x21d], al
test al, al
jne 0x1000a85c
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x334]
push str.Fallback_verification_failed_..._expected:_
push eax
call fcn.100024ef
add esp, 0xc
push 0x100bdda8
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.1000ee72
push eax
lea ecx, [ebp - 0x37c]
call fcn.100079a2
push edi
lea ecx, [ebp - 0x37c]
mov byte [ebp - 4], 6
call fcn.1000ee72
push eax
lea ecx, [ebp - 0x364]
call fcn.100079a2
push 0x100bdda4
lea ecx, [ebp - 0x364]
mov byte [ebp - 4], 7
call fcn.1000ee72
push eax
lea ecx, [ebp - 0x34c]
call fcn.100079a2
lea eax, [ebp - 0x34c]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x394]
mov ecx, 0x100e9600
push eax
call fcn.10012749
lea ecx, [ebp - 0x254]
cmp ecx, eax
je 0x1000a821
mov byte [ebp - 0x30c], bl
push dword [ebp - 0x30c]
push eax
call fcn.1000deaf
lea ecx, [ebp - 0x394]
call fcn.1000ea1a
lea ecx, [ebp - 0x34c]
call fcn.1000ea40
lea ecx, [ebp - 0x364]
call fcn.1000ea40
lea ecx, [ebp - 0x37c]
call fcn.1000ea40
lea ecx, [ebp - 0x334]
call fcn.1000ea40
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 0x1000a87a
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
cmp dword [ebp - 0x300], 0
je 0x1000a890
push ebx
push dword [ebp - 0x300]
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
cmp dword [ebp - 0x2fc], 0
je 0x1000a8a5
push dword [ebp - 0x2fc]
call dword [sym.imp.CRYPT32.dll_CryptMsgClose]
lea ecx, [ebp - 0x26c]
call fcn.1000ea40
lea ecx, [ebp - 0x23c]
call fcn.1000ea40
lea ecx, [ebp - 0x284]
call fcn.1000ea40
mov esi, dword [ebp - 0x310]
jmp 0x1000a9c6
lea eax, [ebp - 0x254]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x21d]
mov ecx, esi
push eax
call fcn.10001ce8
mov eax, dword [ebp - 0x240]
cmp eax, 0x10
jb 0x1000aa2d
mov ecx, dword [ebp - 0x254]
inc eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x2f8], ecx
cmp eax, 0x1000
jb 0x1000aa24
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x2f8]
push eax
call fcn.1000c599
mov eax, dword [ebp - 0x224]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2f8]
push eax
push ecx
call fcn.1008b2d8
pop ecx
pop ecx
mov eax, esi
call fcn.1008b81b
ret 4