Function at 0x1cd4459
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 [0x1f07010]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.01cd43f4
mov esi, eax
mov al, byte [eax + 0xb]
test al, al
js 0x1cd448a
jne 0x1cd449a
mov word [esi], 0
mov byte [esi + 0xb], 0
jmp 0x1cd4600
cmp dword [esi + 4], 0
je 0x1cd45f2
test al, al
jns 0x1cd449a
mov esi, dword [esi]
sub esp, 0x1c
movaps xmm0, xmmword [0x1eb0750]
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
je 0x1cd45ad
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 0x1cd45d9
cmp ecx, 8
jne 0x1cd45d9
mov edi, 8
cmp dword [ebp - 0x20], 1
jne 0x1cd45e6
mov eax, dword [ebp - 0x1c]
mov dword [0x1f0d3e8], eax
test eax, eax
je 0x1cd469d
mov edi, 9
cmp eax, 0x5d1745d
ja 0x1cd45e6
imul edi, eax, 0x2c
push edi
call fcn.01e5f3a3
add esp, 4
mov dword [0x1f0d3ec], eax
push 0
push ebx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [0x1f0d3ec]
test eax, eax
je 0x1cd46c4
cmp dword [ebp - 0x14], edi
jne 0x1cd46c4
mov ebx, dword [0x1f0d3e8]
imul eax, ebx, 0x2c
add eax, ecx
xor edi, edi
mov edx, ecx
test ebx, ebx
je 0x1cd46ce
cmp ebx, 1
je 0x1cd46a2
mov dword [ebp - 0x24], ecx
lea edx, [ecx + 0x2c]
mov ebx, 0xffffffec
mov cl, byte [edx + ebx - 0x18]
cmp byte [edx + ebx + 0x14], cl
jne 0x1cd459b
inc ebx
jne 0x1cd458c
jmp 0x1cd45a1
jb 0x1cd46cb
add edx, 0x2c
cmp edx, eax
jne 0x1cd4587
jmp 0x1cd46a2
mov edi, 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 2]
cmp ecx, 2
jb 0x1cd46a9
mov edi, eax
cmp eax, 5
je 0x1cd46b0
mov edi, 6
jmp 0x1cd46b0
mov edi, 7
test ecx, ecx
je 0x1cd4696
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1cd46b0
mov eax, dword [esi]
mov word [eax], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x14], 0
lea edi, [ebp - 0x20]
push edi
call fcn.01d789f6
add esp, 4
mov ebx, str.ThirdParty
push ebx
call fcn.01e79bc6
add esp, 4
mov ecx, edi
push eax
push ebx
call fcn.01d74480
cmp byte [eax + 0xb], 0
jns 0x1cd4632
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
push 2
call fcn.01d75fac
add esp, 0x10
mov ebx, eax
cmp byte [ebp - 0x15], 0
jns 0x1cd4656
push dword [ebp - 0x20]
call fcn.01e5f36c
add esp, 4
test bl, bl
je 0x1cd4691
push esi
push str.BlFilePath
push dword [ebp - 0x14]
call fcn.01d76d6b
add esp, 0xc
mov ebx, eax
push dword [ebp - 0x14]
call fcn.01d76b6f
add esp, 4
test bl, bl
je 0x1cd4691
movzx eax, byte [esi + 0xb]
mov ecx, eax
test al, al
jns 0x1cd4689
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x1cd4494
xor edi, edi
inc edi
jmp 0x1cd46a9
mov edi, 3
jmp 0x1cd46a2
mov edi, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x1f0d3f0], 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01e60425
mov eax, edi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, 0xa
jmp 0x1cd46d7
mov ecx, dword [ebp - 0x24]
cmp edx, eax
je 0x1cd46a2
mov edi, 0xb
test ecx, ecx
je 0x1cd46e4
push ecx
call fcn.01e5f3ac
add esp, 4
xor eax, eax
mov dword [0x1f0d3ec], eax
mov dword [0x1f0d3e8], eax
jmp 0x1cd45e6