Function at 0x1000bbe7
Capabilities:
Get common file path

Disassembly:
push 0x3d0
mov eax, 0x100ad3e3
call fcn.10081aad
mov edi, ecx
mov dword [ebp - 0x224], edi
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x254]
xor ebx, ebx
mov dword [ebp - 0x370], eax
push ebx
mov dword [ebp - 0x254], ebx
push 0x100b16c0
mov dword [ebp - 0x378], eax
mov dword [ebp - 0x374], ebx
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x240], 0xf
mov byte [ebp - 0x254], bl
call fcn.1000ec5f
mov eax, dword [edi]
mov ecx, edi
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 [edi + 0x120]
mov ecx, 0x100d9ed8
mov eax, dword [eax]
add eax, 0x168
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.1000fed8
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.1000224f
add esp, 0xc
push 0xb8
lea eax, [ebp - 0x368]
mov byte [ebp - 4], 3
push ebx
push eax
call fcn.100844b0
add esp, 0xc
lea eax, [ebp - 0x290]
lea ecx, [ebp - 0x368]
push 1
push 0x40
push 0x20
push eax
call fcn.10007220
mov byte [ebp - 4], 4
cmp dword [ebp - 0x30c], ebx
jne 0x1000bd35
push 0x10
pop edi
mov byte [ebp - 0x21d], bl
cmp dword [ebp - 0x240], edi
jb 0x1000bd13
push edi
push str.File_is_not_open
mov esi, dword [ebp - 0x254]
push esi
mov dword [ebp - 0x244], edi
call fcn.10083f30
add esp, 0xc
mov byte [esi + 0x10], bl
jmp 0x1000c0fb
push str.File_is_not_open
mov byte [ebp - 0x2ac], bl
lea ecx, [ebp - 0x254]
push dword [ebp - 0x2ac]
push edi
call fcn.1000364d
jmp 0x1000c0fb
mov eax, dword [ebp - 0x368]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + eax - 0x35c]
mov eax, ecx
shr eax, 2
test al, 1
je 0x1000bd6e
push 0xb
push str.File_is_bad
lea ecx, [ebp - 0x254]
mov byte [ebp - 0x21d], bl
call fcn.1000ec5f
push 0x10
pop edi
jmp 0x1000c0fb
test ecx, ecx
je 0x1000bd95
push 0x10
pop edi
mov byte [ebp - 0x21d], bl
cmp dword [ebp - 0x240], edi
jb 0x1000bd8e
push edi
push str.File_is_not_good
jmp 0x1000bcf6
push str.File_is_not_good
jmp 0x1000bd18
xor eax, eax
lea edi, [ebp - 0x278]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x278]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x369]
push eax
push 0x20
mov dword [ebp - 0x278], ebx
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x270], ebx
call fcn.10002489
push dword [ebp - 0x274]
mov esi, dword [ebp - 0x278]
lea eax, [ebp - 0x368]
push esi
push eax
mov byte [ebp - 4], 5
call fcn.10005750
add esp, 0xc
mov dword [ebp - 0x26c], ebx
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x25c], ebx
mov dword [ebp - 0x258], 0xf
mov byte [ebp - 0x26c], bl
push ebx
push 0x100b16c0
call fcn.1000ec5f
push 0x10
mov byte [ebp - 4], 6
mov eax, esi
pop edi
mov dword [ebp - 0x2b0], eax
cmp eax, dword [ebp - 0x274]
je 0x1000be86
mov al, byte [eax]
movzx eax, al
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.100034bb
or dword [ebp - 0x374], 2
pop ecx
pop ecx
cmp dword [ebp - 0x228], edi
lea eax, [ebp - 0x23c]
push dword [ebp - 0x22c]
cmovae eax, dword [ebp - 0x23c]
lea ecx, [ebp - 0x26c]
push eax
mov byte [ebp - 4], 7
call fcn.1000eb05
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 6
call fcn.1000e761
mov eax, dword [ebp - 0x2b0]
inc eax
jmp 0x1000be1c
mov eax, dword [ebp - 0x224]
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
mov eax, dword [eax + 0x120]
mov eax, dword [eax]
add eax, 0x1cc
push eax
call fcn.1000c826
cmp dword [ebp - 0x228], edi
lea eax, [ebp - 0x23c]
mov edx, dword [ebp - 0x25c]
lea ecx, [ebp - 0x26c]
cmovae eax, dword [ebp - 0x23c]
cmp dword [ebp - 0x258], edi
mov byte [ebp - 4], 8
cmovae ecx, dword [ebp - 0x26c]
cmp edx, dword [ebp - 0x22c]
jne 0x1000bf11
push edx
push eax
push ecx
call fcn.1008301c
add esp, 0xc
test eax, eax
jne 0x1000bf11
mov byte [ebp - 0x369], 1
mov byte [ebp - 0x21d], 1
jmp 0x1000bff7
lea eax, [ebp - 0x23c]
mov byte [ebp - 0x369], bl
push eax
lea eax, [ebp - 0x394]
mov byte [ebp - 0x21d], bl
push str.Verification_failed_..._expected:_
push eax
call fcn.100021b5
add esp, 0xc
push 0xc
push str.__actual:_
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.1000eb05
push eax
lea ecx, [ebp - 0x3dc]
call fcn.1000749d
cmp dword [ebp - 0x258], edi
lea eax, [ebp - 0x26c]
push dword [ebp - 0x25c]
cmovae eax, dword [ebp - 0x26c]
lea ecx, [ebp - 0x3dc]
push eax
mov byte [ebp - 4], 0xa
call fcn.1000eb05
push eax
lea ecx, [ebp - 0x3c4]
call fcn.1000749d
push 1
push 0x100b1ca4
lea ecx, [ebp - 0x3c4]
mov byte [ebp - 4], 0xb
call fcn.1000eb05
push eax
lea ecx, [ebp - 0x3ac]
call fcn.1000749d
mov byte [ebp - 0x2ac], bl
lea eax, [ebp - 0x3ac]
push dword [ebp - 0x2ac]
lea ecx, [ebp - 0x254]
push eax
call fcn.1000dbf6
lea ecx, [ebp - 0x3ac]
call fcn.1000e761
lea ecx, [ebp - 0x3c4]
call fcn.1000e761
lea ecx, [ebp - 0x3dc]
call fcn.1000e761
lea ecx, [ebp - 0x394]
call fcn.1000e761
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x23c]
cmp eax, edi
jb 0x1000c045
inc eax
mov dword [ebp - 0x2ac], ecx
mov dword [ebp - 0x2b0], eax
cmp eax, 0x1000
jb 0x1000c03c
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.1000c2e0
mov eax, dword [ebp - 0x2b0]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2ac]
push eax
push ecx
call fcn.100814bc
pop ecx
pop ecx
mov eax, dword [ebp - 0x258]
cmp eax, edi
jb 0x1000c093
mov ecx, dword [ebp - 0x26c]
inc eax
mov dword [ebp - 0x2ac], eax
mov dword [ebp - 0x2b0], ecx
cmp eax, 0x1000
jb 0x1000c08a
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x2b0]
push eax
call fcn.1000c2e0
mov eax, dword [ebp - 0x2ac]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2b0]
push eax
push ecx
call fcn.100814bc
pop ecx
pop ecx
mov dword [ebp - 0x25c], ebx
mov dword [ebp - 0x258], 0xf
mov byte [ebp - 0x26c], bl
test esi, esi
je 0x1000c0f2
mov eax, dword [ebp - 0x270]
sub eax, esi
mov dword [ebp - 0x2b0], esi
mov dword [ebp - 0x2ac], eax
cmp eax, 0x1000
jb 0x1000c0e9
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x2b0]
push eax
call fcn.1000c2e0
mov eax, dword [ebp - 0x2ac]
mov esi, dword [ebp - 0x2b0]
pop ecx
pop ecx
push eax
push esi
call fcn.100814bc
pop ecx
pop ecx
cmp byte [ebp - 0x369], 0
jne 0x1000c105
mov eax, dword [ebp - 0x224]
mov byte [eax + 4], 1
lea ecx, [ebp - 0x368]
call fcn.1000973b
lea ecx, [ebp - 0x290]
call fcn.1000e787
lea ecx, [ebp - 0x2a8]
call fcn.1000e787
mov esi, dword [ebp - 0x370]
jmp 0x1000c229
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, edi
jb 0x1000c28f
mov ecx, dword [ebp - 0x254]
inc eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x2ac], ecx
cmp eax, 0x1000
jb 0x1000c286
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.1000c2e0
mov eax, dword [ebp - 0x224]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2ac]
push eax
push ecx
call fcn.100814bc
pop ecx
pop ecx
mov eax, esi
call fcn.100819ff
ret 4