Function at 0x1c2336e
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 [0x1d01324]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.01c23309
mov esi, eax
cmp byte [eax + 0xb], 0
js 0x1c2339e
jne 0x1c233aa
mov word [esi], 0
mov byte [esi + 0xb], 0
jmp 0x1c23521
cmp dword [esi + 4], 0
je 0x1c23513
mov esi, dword [esi]
sub esp, 0x1c
movaps xmm0, xmmword [0x1ce03e0]
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 0x1c234c4
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 0x1c234f0
cmp ecx, 8
jne 0x1c234f0
mov edi, 8
cmp dword [ebp - 0x20], 1
jne 0x1c234fe
mov eax, dword [ebp - 0x1c]
mov dword [0x1d02e1c], eax
test eax, eax
je 0x1c235ce
mov edi, 9
cmp eax, 0x5d1745d
ja 0x1c234fe
imul edi, eax, 0x2c
push edi
call fcn.01cb3133
add esp, 4
mov dword [0x1d02e20], eax
push 0
push ebx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, dword [0x1d02e20]
test eax, eax
je 0x1c235d8
cmp dword [ebp - 0x14], edi
jne 0x1c235d8
mov edx, dword [0x1d02e1c]
imul eax, edx, 0x2c
add eax, ebx
xor edi, edi
mov ecx, ebx
test edx, edx
je 0x1c23601
cmp edx, 1
je 0x1c234fe
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 0x1c235fb
cmp al, ah
jb 0x1c234b8
lea eax, [edx - 0x2b]
inc edx
cmp eax, ebx
jne 0x1c2349f
lea edx, [ecx + 0x2c]
mov eax, dword [ebp - 0x24]
cmp edx, eax
jne 0x1c23498
jmp 0x1c234fe
mov edi, 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 2]
cmp ecx, 2
jb 0x1c235b3
mov edi, eax
cmp eax, 5
je 0x1c235ba
mov edi, 6
jmp 0x1c235ba
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 0x1c235b3
jmp 0x1c235ba
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.01c449f9
add esp, 4
mov ecx, edi
push str.ThirdParty
call fcn.01c414d0
cmp byte [eax + 0xb], 0
jns 0x1c23548
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
push 2
call fcn.01c43044
add esp, 0x10
mov ebx, eax
cmp byte [ebp - 0x15], 0
jns 0x1c2356c
push dword [ebp - 0x20]
call fcn.01cb3106
add esp, 4
test bl, bl
je 0x1c235b0
push esi
push str.BlFilePath
push dword [ebp - 0x14]
call fcn.01c440bb
add esp, 0xc
mov ebx, eax
push dword [ebp - 0x14]
call fcn.01c43e56
add esp, 4
test bl, bl
je 0x1c235b0
movzx eax, byte [esi + 0xb]
mov ecx, eax
test al, al
jns 0x1c2359f
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1c235b0
test al, al
jns 0x1c233aa
jmp 0x1c233a8
xor edi, edi
inc edi
mov byte [0x1d02e24], 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01cb3141
mov eax, edi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, 4
jmp 0x1c234fe
test ebx, ebx
je 0x1c235e5
push ebx
call fcn.01cb313c
add esp, 4
xor eax, eax
mov dword [0x1d02e20], eax
mov dword [0x1d02e1c], eax
mov edi, 0xa
jmp 0x1c234fe
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
cmp ecx, eax
je 0x1c234fe
test ebx, ebx
je 0x1c23616
push ebx
call fcn.01cb313c
add esp, 4
xor eax, eax
mov dword [0x1d02e20], eax
mov dword [0x1d02e1c], eax
mov edi, 0xb
jmp 0x1c234fe