Function at 0x1cf2d50
Capabilities:
Check if file exists
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [0x1d8f008]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.01cf2ce0
mov esi, eax
movzx eax, byte [eax + 0xb]
test al, al
js 0x1cf2d79
mov ecx, eax
and ecx, 0x7f
jmp 0x1cf2d7c
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x1cf2e58
test al, al
js 0x1cf2e2f
mov word [esi], 0
mov byte [esi + 0xb], 0
mov dword [ebp - 0x14], 0
lea edi, [ebp - 0x20]
push edi
call fcn.01d1eb30
add esp, 4
mov ebx, str.ThirdParty
push ebx
call fcn.01cdd136
add esp, 4
mov ecx, edi
push eax
push ebx
call fcn.01cb8fd0
cmp byte [eax + 0xb], 0
jns 0x1cf2dc7
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
push 2
call fcn.01cb9960
add esp, 0x10
mov ebx, eax
cmp byte [ebp - 0x15], 0
jns 0x1cf2deb
push dword [ebp - 0x20]
call fcn.01cc3180
add esp, 4
test bl, bl
je 0x1cf2e11
push esi
push str.BlFilePath
push dword [ebp - 0x14]
call fcn.01d1d8c0
add esp, 0xc
mov ebx, eax
push dword [ebp - 0x14]
call fcn.01d1d5b0
add esp, 4
test bl, bl
jne 0x1cf2e42
xor edi, edi
inc edi
mov byte [0x1d94308], 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01cc3f9d
mov eax, edi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi]
mov word [eax], 0
mov dword [esi + 4], 0
jmp 0x1cf2d95
movzx eax, byte [esi + 0xb]
test al, al
js 0x1cf2e51
mov ecx, eax
and ecx, 0x7f
jmp 0x1cf2e54
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1cf2e11
test al, al
jns 0x1cf2e5e
mov esi, dword [esi]
sub esp, 0x1c
movaps xmm0, xmmword [0x1d7aeb0]
movups xmmword [esp + 4], xmm0
mov dword [esp], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x1cf3040
mov edi, 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 2]
cmp ecx, 2
jb 0x1cf2e14
mov edi, eax
cmp eax, 5
je 0x1cf2e1b
mov edi, 6
jmp 0x1cf2e1b
mov edi, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1cf2e14
mov edi, 3
jmp 0x1cf2ec0
mov edi, 7
test ecx, ecx
jne 0x1cf30ea
jmp 0x1cf2ecc
cmp dword [ebp - 0x14], edi
jne 0x1cf30c5
mov edx, dword [0x1d94300]
xor edi, edi
cmp edx, 2
jb 0x1cf2ec0
mov al, byte [ecx]
imul edx, edx, 0x2c
mov dword [ebp - 0x24], edx
mov edx, 0x2c
mov bh, al
mov al, byte [ecx + edx]
mov bl, al
cmp al, bh
je 0x1cf2f23
cmp bl, bh
jae 0x1cf302f
cmp dword [ebp - 0x24], edx
jne 0x1cf30cc
jmp 0x1cf2ec0
mov bh, byte [ecx + edx - 0x2b]
mov bl, byte [ecx + edx + 1]
cmp bl, bh
jne 0x1cf2f10
mov bh, byte [ecx + edx - 0x2a]
mov bl, byte [ecx + edx + 2]
cmp bl, bh
jne 0x1cf2f10
mov bh, byte [ecx + edx - 0x29]
mov bl, byte [ecx + edx + 3]
cmp bl, bh
jne 0x1cf2f10
mov bh, byte [ecx + edx - 0x28]
mov bl, byte [ecx + edx + 4]
cmp bl, bh
jne 0x1cf2f10
mov bh, byte [ecx + edx - 0x27]
mov bl, byte [ecx + edx + 5]
cmp bl, bh
jne 0x1cf2f10
mov bh, byte [ecx + edx - 0x26]
mov bl, byte [ecx + edx + 6]
cmp bl, bh
jne 0x1cf2f10
mov bh, byte [ecx + edx - 0x25]
mov bl, byte [ecx + edx + 7]
cmp bl, bh
jne 0x1cf2f10
mov bh, byte [ecx + edx - 0x24]
mov bl, byte [ecx + edx + 8]
cmp bl, bh
jne 0x1cf2f10
mov bh, byte [ecx + edx - 0x23]
mov bl, byte [ecx + edx + 9]
cmp bl, bh
jne 0x1cf2f10
mov bh, byte [ecx + edx - 0x22]
mov bl, byte [ecx + edx + 0xa]
cmp bl, bh
jne 0x1cf2f10
mov bh, byte [ecx + edx - 0x21]
mov bl, byte [ecx + edx + 0xb]
cmp bl, bh
jne 0x1cf2f10
mov bh, byte [ecx + edx - 0x20]
mov bl, byte [ecx + edx + 0xc]
cmp bl, bh
jne 0x1cf2f10
mov bh, byte [ecx + edx - 0x1f]
mov bl, byte [ecx + edx + 0xd]
cmp bl, bh
jne 0x1cf2f10
mov bh, byte [ecx + edx - 0x1e]
mov bl, byte [ecx + edx + 0xe]
cmp bl, bh
jne 0x1cf2f10
mov bh, byte [ecx + edx - 0x1d]
mov bl, byte [ecx + edx + 0xf]
cmp bl, bh
jne 0x1cf2f10
mov bh, byte [ecx + edx - 0x1c]
mov bl, byte [ecx + edx + 0x10]
cmp bl, bh
jne 0x1cf2f10
mov bh, byte [ecx + edx - 0x1b]
mov bl, byte [ecx + edx + 0x11]
cmp bl, bh
jne 0x1cf2f10
mov bh, byte [ecx + edx - 0x1a]
mov bl, byte [ecx + edx + 0x12]
cmp bl, bh
jne 0x1cf2f10
mov bh, byte [ecx + edx - 0x19]
mov bl, byte [ecx + edx + 0x13]
cmp bl, bh
jne 0x1cf2f10
add edx, 0x2c
cmp dword [ebp - 0x24], edx
jne 0x1cf2f05
jmp 0x1cf2ec0
mov esi, eax
xor eax, eax
dec eax
lea ecx, [ebp - 0x20]
mov dword [ecx], eax
mov dword [ecx + 4], eax
xor eax, eax
lea ebx, [ebp - 0x14]
mov dword [ebx], eax
push eax
push ebx
push 8
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebx]
test eax, eax
je 0x1cf2ed3
cmp ecx, 8
jne 0x1cf2ed3
mov edi, 8
cmp dword [ebp - 0x20], 1
jne 0x1cf30ea
mov eax, dword [ebp - 0x1c]
mov dword [0x1d94300], eax
test eax, eax
je 0x1cf2ebb
mov edi, 9
cmp eax, 0x5d1745d
ja 0x1cf30ea
imul edi, eax, 0x2c
push edi
call fcn.01cc31b3
add esp, 4
mov dword [0x1d94304], eax
push 0
push ebx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [0x1d94304]
test eax, eax
jne 0x1cf2ee2
mov edi, 0xa
jmp 0x1cf30d1
mov edi, 0xb
test ecx, ecx
je 0x1cf30de
push ecx
call fcn.01cc31bc
add esp, 4
xor eax, eax
mov dword [0x1d94304], eax
mov dword [0x1d94300], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1cf2e1b