Function at 0x1c33ef0
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 [0x1d15014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x1d31d84]
mov ecx, dword [0x1d31114]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x1c33f5c
push 0x1d31d84
call fcn.01c92cb7
add esp, 4
cmp dword [0x1d31d84], 0xffffffff
jne 0x1c33f5c
push 0xc
call fcn.01c92c17
add esp, 4
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [eax + 8], ecx
mov dword [0x1d31d80], eax
push 0x1d31d84
call fcn.01c92d2d
add esp, 4
mov edi, dword [0x1d31d80]
movzx eax, byte [edi + 0xb]
test al, al
jns 0x1c33f6f
mov ecx, dword [edi + 4]
jmp 0x1c33f74
mov ecx, eax
and ecx, 0x7f
test ecx, ecx
jne 0x1c34050
test al, al
js 0x1c34027
mov word [edi], 0
mov byte [edi + 0xb], 0
mov dword [ebp - 0x14], 0
lea esi, [ebp - 0x20]
push esi
call fcn.01c412e0
add esp, 4
mov ebx, str.ThirdParty
push ebx
call fcn.01cad054
add esp, 4
mov ecx, esi
push eax
push ebx
call fcn.01c3e6d0
cmp byte [eax + 0xb], 0
jns 0x1c33fbf
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
push 2
call fcn.01c3f4d0
add esp, 0x10
mov ebx, eax
cmp byte [ebp - 0x15], 0
jns 0x1c33fe3
push dword [ebp - 0x20]
call fcn.01c92c47
add esp, 4
test bl, bl
je 0x1c34009
push edi
push str.BlFilePath
push dword [ebp - 0x14]
call fcn.01c40dd0
add esp, 0xc
mov ebx, eax
push dword [ebp - 0x14]
call fcn.01c40960
add esp, 4
test bl, bl
jne 0x1c3403a
xor edi, edi
inc edi
mov byte [0x1d31d7c], 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c93c03
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 0x1c33f8d
movzx eax, byte [edi + 0xb]
test al, al
jns 0x1c34047
mov ecx, dword [edi + 4]
jmp 0x1c3404c
mov ecx, eax
and ecx, 0x7f
test ecx, ecx
je 0x1c34009
test al, al
jns 0x1c34056
mov edi, dword [edi]
sub esp, 0x1c
movaps xmm0, xmmword [0x1d03390]
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 0x1c340af
mov edi, 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 2]
cmp ecx, 2
jb 0x1c3400c
mov edi, eax
cmp eax, 5
je 0x1c34013
mov edi, 6
jmp 0x1c34013
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 0x1c3417c
cmp ecx, 8
jne 0x1c3417c
mov edi, 8
cmp dword [ebp - 0x20], 1
jne 0x1c34185
mov eax, dword [ebp - 0x1c]
mov dword [0x1d31d74], eax
test eax, eax
je 0x1c34198
mov edi, 9
cmp eax, 0x5d1745d
ja 0x1c34185
imul edi, eax, 0x2c
push edi
call fcn.01c92c73
add esp, 4
mov dword [0x1d31d78], eax
push 0
push ebx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [0x1d31d78]
mov dword [ebp - 0x24], ecx
test eax, eax
je 0x1c3419f
cmp dword [ebp - 0x14], edi
jne 0x1c3419f
mov eax, dword [0x1d31d74]
xor edi, edi
cmp eax, 2
jb 0x1c341ce
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 0x1c341a6
ja 0x1c34173
lea ecx, [ebx + 1]
test ebx, ebx
mov ebx, ecx
jne 0x1c3415c
add edx, 0x2c
cmp edx, eax
jne 0x1c34157
jmp 0x1c341ce
mov edi, 7
test ecx, ecx
je 0x1c34191
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1c34013
mov edi, 3
jmp 0x1c341ce
mov edi, 4
jmp 0x1c341ce
mov edi, 0xa
jmp 0x1c341af
cmp edx, eax
je 0x1c341ce
mov edi, 0xb
cmp dword [ebp - 0x24], 0
je 0x1c341c0
push dword [ebp - 0x24]
call fcn.01c92c7c
add esp, 4
xor eax, eax
mov dword [0x1d31d78], eax
mov dword [0x1d31d74], eax
jmp 0x1c34185
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1c3400c