Function at 0x1000bea0
Capabilities:
Get common file path

Disassembly:
push 0x3d0
mov eax, 0x100b7203
call fcn.1008b8c9
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 0x100bd710
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.1000ef18
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, 0x100e9600
mov eax, dword [eax]
add eax, 0x168
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.10010191
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.100024ef
add esp, 0xc
push 0xb8
lea eax, [ebp - 0x368]
mov byte [ebp - 4], 3
push ebx
push eax
call fcn.1008e2d0
add esp, 0xc
lea eax, [ebp - 0x290]
lea ecx, [ebp - 0x368]
push 1
push 0x40
push 0x20
push eax
call fcn.100074c0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x30c], ebx
jne 0x1000bfee
push 0x10
pop edi
mov byte [ebp - 0x21d], bl
cmp dword [ebp - 0x240], edi
jb 0x1000bfcc
push edi
push str.File_is_not_open
mov esi, dword [ebp - 0x254]
push esi
mov dword [ebp - 0x244], edi
call fcn.1008dd50
add esp, 0xc
mov byte [esi + 0x10], bl
jmp 0x1000c3b4
push str.File_is_not_open
mov byte [ebp - 0x2ac], bl
lea ecx, [ebp - 0x254]
push dword [ebp - 0x2ac]
push edi
call fcn.100038ed
jmp 0x1000c3b4
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 0x1000c027
push 0xb
push str.File_is_bad
lea ecx, [ebp - 0x254]
mov byte [ebp - 0x21d], bl
call fcn.1000ef18
push 0x10
pop edi
jmp 0x1000c3b4
test ecx, ecx
je 0x1000c04e
push 0x10
pop edi
mov byte [ebp - 0x21d], bl
cmp dword [ebp - 0x240], edi
jb 0x1000c047
push edi
push str.File_is_not_good
jmp 0x1000bfaf
push str.File_is_not_good
jmp 0x1000bfd1
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.10002729
push dword [ebp - 0x274]
mov esi, dword [ebp - 0x278]
lea eax, [ebp - 0x368]
push esi
push eax
mov byte [ebp - 4], 5
call fcn.100059f0
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 0x100bd710
call fcn.1000ef18
push 0x10
mov byte [ebp - 4], 6
mov eax, esi
pop edi
mov dword [ebp - 0x2b0], eax
cmp eax, dword [ebp - 0x274]
je 0x1000c13f
mov al, byte [eax]
movzx eax, al
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.1000375b
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.1000edbe
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 6
call fcn.1000ea1a
mov eax, dword [ebp - 0x2b0]
inc eax
jmp 0x1000c0d5
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.1000cadf
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 0x1000c1ca
push edx
push eax
push ecx
call fcn.1008ce3c
add esp, 0xc
test eax, eax
jne 0x1000c1ca
mov byte [ebp - 0x369], 1
mov byte [ebp - 0x21d], 1
jmp 0x1000c2b0
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.10002455
add esp, 0xc
push 0xc
push str.__actual:_
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.1000edbe
push eax
lea ecx, [ebp - 0x3dc]
call fcn.1000773d
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.1000edbe
push eax
lea ecx, [ebp - 0x3c4]
call fcn.1000773d
push 1
push 0x100bdd58
lea ecx, [ebp - 0x3c4]
mov byte [ebp - 4], 0xb
call fcn.1000edbe
push eax
lea ecx, [ebp - 0x3ac]
call fcn.1000773d
mov byte [ebp - 0x2ac], bl
lea eax, [ebp - 0x3ac]
push dword [ebp - 0x2ac]
lea ecx, [ebp - 0x254]
push eax
call fcn.1000deaf
lea ecx, [ebp - 0x3ac]
call fcn.1000ea1a
lea ecx, [ebp - 0x3c4]
call fcn.1000ea1a
lea ecx, [ebp - 0x3dc]
call fcn.1000ea1a
lea ecx, [ebp - 0x394]
call fcn.1000ea1a
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x23c]
cmp eax, edi
jb 0x1000c2fe
inc eax
mov dword [ebp - 0x2ac], ecx
mov dword [ebp - 0x2b0], eax
cmp eax, 0x1000
jb 0x1000c2f5
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.1000c599
mov eax, dword [ebp - 0x2b0]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2ac]
push eax
push ecx
call fcn.1008b2d8
pop ecx
pop ecx
mov eax, dword [ebp - 0x258]
cmp eax, edi
jb 0x1000c34c
mov ecx, dword [ebp - 0x26c]
inc eax
mov dword [ebp - 0x2ac], eax
mov dword [ebp - 0x2b0], ecx
cmp eax, 0x1000
jb 0x1000c343
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x2b0]
push eax
call fcn.1000c599
mov eax, dword [ebp - 0x2ac]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2b0]
push eax
push ecx
call fcn.1008b2d8
pop ecx
pop ecx
mov dword [ebp - 0x25c], ebx
mov dword [ebp - 0x258], 0xf
mov byte [ebp - 0x26c], bl
test esi, esi
je 0x1000c3ab
mov eax, dword [ebp - 0x270]
sub eax, esi
mov dword [ebp - 0x2b0], esi
mov dword [ebp - 0x2ac], eax
cmp eax, 0x1000
jb 0x1000c3a2
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x2b0]
push eax
call fcn.1000c599
mov eax, dword [ebp - 0x2ac]
mov esi, dword [ebp - 0x2b0]
pop ecx
pop ecx
push eax
push esi
call fcn.1008b2d8
pop ecx
pop ecx
cmp byte [ebp - 0x369], 0
jne 0x1000c3be
mov eax, dword [ebp - 0x224]
mov byte [eax + 4], 1
lea ecx, [ebp - 0x368]
call fcn.100099db
lea ecx, [ebp - 0x290]
call fcn.1000ea40
lea ecx, [ebp - 0x2a8]
call fcn.1000ea40
mov esi, dword [ebp - 0x370]
jmp 0x1000c4e2
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, edi
jb 0x1000c548
mov ecx, dword [ebp - 0x254]
inc eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x2ac], ecx
cmp eax, 0x1000
jb 0x1000c53f
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.1000c599
mov eax, dword [ebp - 0x224]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2ac]
push eax
push ecx
call fcn.1008b2d8
pop ecx
pop ecx
mov eax, esi
call fcn.1008b81b
ret 4