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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.01c23049
mov esi, eax
cmp byte [eax + 0xb], 0
js 0x1c230de
jne 0x1c230ea
mov word [esi], 0
mov byte [esi + 0xb], 0
jmp 0x1c23261
cmp dword [esi + 4], 0
je 0x1c23253
mov esi, dword [esi]
sub esp, 0x1c
movaps xmm0, xmmword [0x1cb5680]
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 0x1c23204
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 0x1c23230
cmp ecx, 8
jne 0x1c23230
mov edi, 8
cmp dword [ebp - 0x20], 1
jne 0x1c2323e
mov eax, dword [ebp - 0x1c]
mov dword [0x1ceac80], eax
test eax, eax
je 0x1c2330e
mov edi, 9
cmp eax, 0x5d1745d
ja 0x1c2323e
imul edi, eax, 0x2c
push edi
call fcn.01ca8af3
add esp, 4
mov dword [0x1ceac84], eax
push 0
push ebx
push edi
push eax
push esi
call dword [sym.imp.kernel32.dll_ReadFile]
mov ebx, dword [0x1ceac84]
test eax, eax
je 0x1c23318
cmp dword [ebp - 0x14], edi
jne 0x1c23318
mov edx, dword [0x1ceac80]
imul eax, edx, 0x2c
add eax, ebx
xor edi, edi
mov ecx, ebx
test edx, edx
je 0x1c23341
cmp edx, 1
je 0x1c2323e
lea edx, [ebx + 0x2c]
mov dword [ebp - 0x28], ebx
mov ecx, ebx
mov dword [ebp - 0x24], eax
mov ebx, ecx
mov ecx, edx
add ebx, 0x14
mov al, byte [edx - 0x2c]
mov ah, byte [edx]
cmp ah, al
jb 0x1c2333b
cmp al, ah
jb 0x1c231f8
lea eax, [edx - 0x2b]
inc edx
cmp eax, ebx
jne 0x1c231df
lea edx, [ecx + 0x2c]
mov eax, dword [ebp - 0x24]
cmp edx, eax
jne 0x1c231d8
jmp 0x1c2323e
mov edi, 2
call dword [sym.imp.kernel32.dll_GetLastError]
lea ecx, [eax - 2]
cmp ecx, 2
jb 0x1c232f3
mov edi, eax
cmp eax, 5
je 0x1c232fa
mov edi, 6
jmp 0x1c232fa
xor eax, eax
test ecx, ecx
setne al
lea edi, [eax*4 + 3]
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp edi, 4
jbe 0x1c232f3
jmp 0x1c232fa
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.01c42a6d
add esp, 4
mov ecx, edi
push str.ThirdParty
call fcn.01c3ebd8
cmp byte [eax + 0xb], 0
jns 0x1c23288
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
push 2
call fcn.01c40724
add esp, 0x10
mov ebx, eax
cmp byte [ebp - 0x15], 0
jns 0x1c232ac
push dword [ebp - 0x20]
call fcn.01c8b528
add esp, 4
test bl, bl
je 0x1c232f0
push esi
push str.BlFilePath
push dword [ebp - 0x14]
call fcn.01c417b4
add esp, 0xc
mov ebx, eax
push dword [ebp - 0x14]
call fcn.01c414fc
add esp, 4
test bl, bl
je 0x1c232f0
movzx eax, byte [esi + 0xb]
mov ecx, eax
test al, al
jns 0x1c232df
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1c232f0
test al, al
jns 0x1c230ea
jmp 0x1c230e8
xor edi, edi
inc edi
mov byte [0x1ceac88], 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
mov eax, edi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, 4
jmp 0x1c2323e
test ebx, ebx
je 0x1c23325
push ebx
call fcn.01c8b789
add esp, 4
xor eax, eax
mov dword [0x1ceac84], eax
mov dword [0x1ceac80], eax
mov edi, 0xa
jmp 0x1c2323e
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
cmp ecx, eax
je 0x1c2323e
test ebx, ebx
je 0x1c23356
push ebx
call fcn.01c8b789
add esp, 4
xor eax, eax
mov dword [0x1ceac84], eax
mov dword [0x1ceac80], eax
mov edi, 0xb
jmp 0x1c2323e