Function at 0x1c33460
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 [0x1d08010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x1d0ced0]
mov ecx, dword [0x1d0c258]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x1c334cc
push 0x1d0ced0
call fcn.01c92957
add esp, 4
cmp dword [0x1d0ced0], 0xffffffff
jne 0x1c334cc
push 0xc
call fcn.01c928b1
add esp, 4
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [eax + 8], ecx
mov dword [0x1d0cecc], eax
push 0x1d0ced0
call fcn.01c929cd
add esp, 4
mov edi, dword [0x1d0cecc]
movzx eax, byte [edi + 0xb]
mov ecx, eax
test al, al
jns 0x1c334df
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x1c335b6
test al, al
js 0x1c33592
mov word [edi], 0
mov byte [edi + 0xb], 0
mov dword [ebp - 0x14], 0
lea esi, [ebp - 0x20]
push esi
call fcn.01c40cd0
add esp, 4
mov ebx, str.ThirdParty
push ebx
call fcn.01cab194
add esp, 4
mov ecx, esi
push eax
push ebx
call fcn.01c3d800
cmp byte [eax + 0xb], 0
jns 0x1c3352a
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
push 2
call fcn.01c3e2e0
add esp, 0x10
mov ebx, eax
cmp byte [ebp - 0x15], 0
jns 0x1c3354e
push dword [ebp - 0x20]
call fcn.01c928e1
add esp, 4
test bl, bl
je 0x1c33574
push edi
push str.BlFilePath
push dword [ebp - 0x14]
call fcn.01c3f950
add esp, 0xc
mov ebx, eax
push dword [ebp - 0x14]
call fcn.01c3f450
add esp, 4
test bl, bl
jne 0x1c335a5
xor edi, edi
inc edi
mov byte [0x1d0cec8], 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c938a3
mov eax, edi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [edi]
mov word [eax], 0
mov dword [edi + 4], 0
jmp 0x1c334f8
movzx eax, byte [edi + 0xb]
mov ecx, eax
test al, al
jns 0x1c335b2
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x1c33574
test al, al
jns 0x1c335bc
mov edi, dword [edi]
sub esp, 0x1c
movaps xmm0, xmmword [0x1cf5210]
movups xmmword [esp + 4], xmm0
mov dword [esp], edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x1c33615
mov edi, 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 2]
cmp ecx, 2
jb 0x1c33577
mov edi, eax
cmp eax, 5
je 0x1c3357e
mov edi, 6
jmp 0x1c3357e
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 0x1c336e2
cmp ecx, 8
jne 0x1c336e2
mov edi, 8
cmp dword [ebp - 0x20], 1
jne 0x1c336eb
mov eax, dword [ebp - 0x1c]
mov dword [0x1d0cec0], eax
test eax, eax
je 0x1c336fe
mov edi, 9
cmp eax, 0x5d1745d
ja 0x1c336eb
imul edi, eax, 0x2c
push edi
call fcn.01c92913
add esp, 4
mov dword [0x1d0cec4], eax
push 0
push ebx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [0x1d0cec4]
mov dword [ebp - 0x24], ecx
test eax, eax
je 0x1c33705
cmp dword [ebp - 0x14], edi
jne 0x1c33705
mov eax, dword [0x1d0cec0]
xor edi, edi
cmp eax, 2
jb 0x1c33734
imul eax, eax, 0x2c
mov ecx, dword [ebp - 0x24]
add eax, ecx
lea edx, [ecx + 0x2c]
mov ebx, 0xffffffed
mov cl, byte [edx + ebx - 0x19]
mov ch, byte [edx + ebx + 0x13]
cmp ch, cl
jb 0x1c3370c
ja 0x1c336d9
lea ecx, [ebx + 1]
test ebx, ebx
mov ebx, ecx
jne 0x1c336c2
add edx, 0x2c
cmp edx, eax
jne 0x1c336bd
jmp 0x1c33734
mov edi, 7
test ecx, ecx
je 0x1c336f7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1c3357e
mov edi, 3
jmp 0x1c33734
mov edi, 4
jmp 0x1c33734
mov edi, 0xa
jmp 0x1c33715
cmp edx, eax
je 0x1c33734
mov edi, 0xb
cmp dword [ebp - 0x24], 0
je 0x1c33726
push dword [ebp - 0x24]
call fcn.01c9291c
add esp, 4
xor eax, eax
mov dword [0x1d0cec4], eax
mov dword [0x1d0cec0], eax
jmp 0x1c336eb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1c33577