Function at 0x1c33940
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 [0x1d17014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x1d33da4]
mov ecx, dword [0x1d33130]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x1c339ac
push 0x1d33da4
call fcn.01c97191
add esp, 4
cmp dword [0x1d33da4], 0xffffffff
jne 0x1c339ac
push 0xc
call fcn.01c97121
add esp, 4
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [eax + 8], ecx
mov dword [0x1d33da0], eax
push 0x1d33da4
call fcn.01c9720b
add esp, 4
mov edi, dword [0x1d33da0]
movzx eax, byte [edi + 0xb]
mov ecx, eax
test al, al
jns 0x1c339bf
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x1c33a96
test al, al
js 0x1c33a72
mov word [edi], 0
mov byte [edi + 0xb], 0
mov dword [ebp - 0x14], 0
lea esi, [ebp - 0x20]
push esi
call fcn.01c400f0
add esp, 4
mov ebx, str.ThirdParty
push ebx
call fcn.01cb0da4
add esp, 4
mov ecx, esi
push eax
push ebx
call fcn.01c3dad0
cmp byte [eax + 0xb], 0
jns 0x1c33a0a
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
push 2
call fcn.01c3e5c0
add esp, 0x10
mov ebx, eax
cmp byte [ebp - 0x15], 0
jns 0x1c33a2e
push dword [ebp - 0x20]
call fcn.01c97151
add esp, 4
test bl, bl
je 0x1c33a54
push edi
push str.BlFilePath
push dword [ebp - 0x14]
call fcn.01c3fb60
add esp, 0xc
mov ebx, eax
push dword [ebp - 0x14]
call fcn.01c3f730
add esp, 4
test bl, bl
jne 0x1c33a85
xor edi, edi
inc edi
mov byte [0x1d33d9c], 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c97fe3
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 0x1c339d8
movzx eax, byte [edi + 0xb]
mov ecx, eax
test al, al
jns 0x1c33a92
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x1c33a54
test al, al
jns 0x1c33a9c
mov edi, dword [edi]
sub esp, 0x1c
movaps xmm0, xmmword [0x1d041c0]
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 0x1c33af5
mov edi, 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 2]
cmp ecx, 2
jb 0x1c33a57
mov edi, eax
cmp eax, 5
je 0x1c33a5e
mov edi, 6
jmp 0x1c33a5e
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 0x1c33bc2
cmp ecx, 8
jne 0x1c33bc2
mov edi, 8
cmp dword [ebp - 0x20], 1
jne 0x1c33bcb
mov eax, dword [ebp - 0x1c]
mov dword [0x1d33d94], eax
test eax, eax
je 0x1c33bde
mov edi, 9
cmp eax, 0x5d1745d
ja 0x1c33bcb
imul edi, eax, 0x2c
push edi
call fcn.01c97183
add esp, 4
mov dword [0x1d33d98], eax
push 0
push ebx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [0x1d33d98]
mov dword [ebp - 0x24], ecx
test eax, eax
je 0x1c33be5
cmp dword [ebp - 0x14], edi
jne 0x1c33be5
mov eax, dword [0x1d33d94]
xor edi, edi
cmp eax, 2
jb 0x1c33c14
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 0x1c33bec
ja 0x1c33bb9
lea ecx, [ebx + 1]
test ebx, ebx
mov ebx, ecx
jne 0x1c33ba2
add edx, 0x2c
cmp edx, eax
jne 0x1c33b9d
jmp 0x1c33c14
mov edi, 7
test ecx, ecx
je 0x1c33bd7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1c33a5e
mov edi, 3
jmp 0x1c33c14
mov edi, 4
jmp 0x1c33c14
mov edi, 0xa
jmp 0x1c33bf5
cmp edx, eax
je 0x1c33c14
mov edi, 0xb
cmp dword [ebp - 0x24], 0
je 0x1c33c06
push dword [ebp - 0x24]
call fcn.01c9718c
add esp, 4
xor eax, eax
mov dword [0x1d33d98], eax
mov dword [0x1d33d94], eax
jmp 0x1c33bcb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1c33a57