Function at 0x1c34370
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 [0x1d18014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x1d34d34]
mov ecx, dword [0x1d340c4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x1c343dc
push 0x1d34d34
call fcn.01c9baa7
add esp, 4
cmp dword [0x1d34d34], 0xffffffff
jne 0x1c343dc
push 0xc
call fcn.01c9ba07
add esp, 4
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [eax + 8], ecx
mov dword [0x1d34d30], eax
push 0x1d34d34
call fcn.01c9bb1d
add esp, 4
mov edi, dword [0x1d34d30]
movzx eax, byte [edi + 0xb]
test al, al
jns 0x1c343ef
mov ecx, dword [edi + 4]
jmp 0x1c343f4
mov ecx, eax
and ecx, 0x7f
test ecx, ecx
jne 0x1c344c5
test al, al
js 0x1c3449c
mov word [edi], 0
mov byte [edi + 0xb], 0
mov dword [ebp - 0x14], 0
lea esi, [ebp - 0x20]
push esi
call fcn.01c4d200
add esp, 4
mov ecx, esi
push str.ThirdParty
call fcn.01c4af90
cmp byte [eax + 0xb], 0
jns 0x1c34434
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
push 2
call fcn.01c4b8c0
add esp, 0x10
mov ebx, eax
cmp byte [ebp - 0x15], 0
jns 0x1c34458
push dword [ebp - 0x20]
call fcn.01c9ba37
add esp, 4
test bl, bl
je 0x1c3447e
push edi
push str.BlFilePath
push dword [ebp - 0x14]
call fcn.01c4cc10
add esp, 0xc
mov ebx, eax
push dword [ebp - 0x14]
call fcn.01c4c980
add esp, 4
test bl, bl
jne 0x1c344af
xor edi, edi
inc edi
mov byte [0x1d34d2c], 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c9ca53
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 0x1c3440d
movzx eax, byte [edi + 0xb]
test al, al
jns 0x1c344bc
mov ecx, dword [edi + 4]
jmp 0x1c344c1
mov ecx, eax
and ecx, 0x7f
test ecx, ecx
je 0x1c3447e
test al, al
jns 0x1c344cb
mov edi, dword [edi]
sub esp, 0x1c
movaps xmm0, xmmword [0x1d05270]
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 0x1c34524
mov edi, 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 2]
cmp ecx, 2
jb 0x1c34481
mov edi, eax
cmp eax, 5
je 0x1c34488
mov edi, 6
jmp 0x1c34488
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 0x1c345f1
cmp ecx, 8
jne 0x1c345f1
mov edi, 8
cmp dword [ebp - 0x20], 1
jne 0x1c345fa
mov eax, dword [ebp - 0x1c]
mov dword [0x1d34d24], eax
test eax, eax
je 0x1c3460d
mov edi, 9
cmp eax, 0x5d1745d
ja 0x1c345fa
imul edi, eax, 0x2c
push edi
call fcn.01c9ba63
add esp, 4
mov dword [0x1d34d28], eax
push 0
push ebx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [0x1d34d28]
mov dword [ebp - 0x24], ecx
test eax, eax
je 0x1c34614
cmp dword [ebp - 0x14], edi
jne 0x1c34614
mov eax, dword [0x1d34d24]
xor edi, edi
cmp eax, 2
jb 0x1c34643
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 0x1c3461b
ja 0x1c345e8
lea ecx, [ebx + 1]
test ebx, ebx
mov ebx, ecx
jne 0x1c345d1
add edx, 0x2c
cmp edx, eax
jne 0x1c345cc
jmp 0x1c34643
mov edi, 7
test ecx, ecx
je 0x1c34606
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1c34488
mov edi, 3
jmp 0x1c34643
mov edi, 4
jmp 0x1c34643
mov edi, 0xa
jmp 0x1c34624
cmp edx, eax
je 0x1c34643
mov edi, 0xb
cmp dword [ebp - 0x24], 0
je 0x1c34635
push dword [ebp - 0x24]
call fcn.01c9ba6c
add esp, 4
xor eax, eax
mov dword [0x1d34d28], eax
mov dword [0x1d34d24], eax
jmp 0x1c345fa
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1c34481