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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [0x1cf3040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x1cf71f4]
mov ecx, dword [0x1cf656c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x1c41580
push 0x1cf71f4
call fcn.01c9518a
add esp, 4
cmp dword [0x1cf71f4], 0xffffffff
jne 0x1c41580
push 0xc
call fcn.01c9515a
add esp, 4
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [0x1cf71f0], eax
push 0x1cf71f4
call fcn.01c951d9
add esp, 4
mov edx, dword [0x1cf71f0]
movzx eax, byte [edx + 0xb]
mov ecx, eax
test al, al
jns 0x1c41593
mov ecx, dword [edx + 4]
test ecx, ecx
jne 0x1c417bc
test al, al
mov dword [ebp - 0x24], edx
js 0x1c41817
mov word [edx], 0
mov byte [edx + 0xb], 0
mov dword [ebp - 0x14], 0
push 0x18
call fcn.01c9515a
add esp, 4
lea esi, [ebp - 0x20]
mov dword [esi], eax
mov dword [esi + 8], 0x8000000c
mov dword [esi + 4], 9
movzx ecx, word [0x1cea8f6]
mov word [eax + 0x10], cx
movups xmm0, xmmword [str.Software_]
movups xmmword [eax], xmm0
mov word [eax + 0x12], 0
mov eax, dword [0x1cf8bf4]
mov eax, dword [eax + 4]
push esi
push 1
push dword [eax + 8]
call fcn.01c35230
add esp, 0xc
movzx eax, byte [esi + 0xb]
mov edi, 4
mov ebx, eax
test al, al
jns 0x1c4161f
mov edi, 0x7fffffff
and edi, dword [ebp - 0x18]
dec edi
mov ebx, dword [ebp - 0x1c]
mov ecx, edi
sub ecx, ebx
cmp ecx, 0xb
jae 0x1c416e9
lea esi, [ebx + 0xb]
mov ecx, esi
sub ecx, edi
mov edx, 0x7ffffff6
sub edx, edi
cmp edx, ecx
jb 0x1c4182a
test al, al
js 0x1c4164b
lea eax, [ebp - 0x20]
jmp 0x1c4164e
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov ecx, 0x7ffffff7
cmp edi, 0x3ffffff2
ja 0x1c4167c
lea eax, [edi + edi]
cmp esi, eax
cmova eax, esi
mov ecx, 5
cmp eax, 5
jb 0x1c4167c
or eax, 3
inc eax
mov ecx, eax
js 0x1c4182d
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ecx
lea eax, [ecx + ecx]
push eax
call fcn.01c9515a
add esp, 4
mov esi, eax
test ebx, ebx
je 0x1c416a4
lea eax, [ebx + ebx]
push eax
push dword [ebp - 0x28]
push esi
call fcn.01c994a0
add esp, 0xc
movsd xmm0, qword [0x1cdf19e]
movsd qword [esi + ebx*2 + 0xe], xmm0
movups xmm0, xmmword [str.ThirdParty]
movups xmmword [esi + ebx*2], xmm0
cmp edi, 4
je 0x1c416cd
push dword [ebp - 0x28]
call fcn.01c95155
add esp, 4
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x2c]
or eax, 0x80000000
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
lea eax, [esi + eax*2]
mov edi, dword [ebp - 0x24]
jmp 0x1c4171b
lea ecx, [ebx + 0xb]
test al, al
jns 0x1c416f3
mov esi, dword [ebp - 0x20]
movsd xmm0, qword [0x1cdf19e]
movsd qword [esi + ebx*2 + 0xe], xmm0
movups xmm0, xmmword [str.ThirdParty]
movups xmmword [esi + ebx*2], xmm0
mov edi, dword [ebp - 0x24]
js 0x1c4172b
mov eax, ecx
and al, 0x7f
mov byte [ebp - 0x15], al
lea eax, [esi + ecx*2]
mov word [eax], 0
cmp byte [ebp - 0x15], 0
js 0x1c41730
lea eax, [ebp - 0x20]
jmp 0x1c41733
mov dword [ebp - 0x1c], ecx
jmp 0x1c41718
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
push 2
call fcn.01c3fd00
add esp, 0x10
mov ebx, eax
cmp byte [ebp - 0x15], 0
jns 0x1c41757
push dword [ebp - 0x20]
call fcn.01c95155
add esp, 4
test bl, bl
je 0x1c41784
push edi
push str.BlFilePath
push dword [ebp - 0x14]
call fcn.01c41a70
add esp, 0xc
mov ebx, eax
mov esi, dword [ebp - 0x14]
cmp byte [0x1cf7de4], 0
je 0x1c417a2
push esi
call sub.ntdll.dll_NtClose
test bl, bl
jne 0x1c417a9
xor edi, edi
inc edi
mov byte [0x1cf71ec], 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c98173
mov eax, edi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.01c34370
jmp 0x1c4177a
mov edx, edi
movzx eax, byte [edi + 0xb]
mov ecx, eax
test al, al
jns 0x1c417b8
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x1c41784
test al, al
jns 0x1c417c2
mov edx, dword [edx]
sub esp, 0x1c
movaps xmm0, xmmword [0x1cdf0e0]
movups xmmword [esp + 4], xmm0
mov dword [esp], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x1c419b3
mov edi, 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 2]
cmp ecx, 2
jb 0x1c41787
mov edi, eax
cmp eax, 5
je 0x1c4178e
mov edi, 6
jmp 0x1c4178e
mov eax, dword [edx]
mov word [eax], 0
mov dword [edx + 4], 0
jmp 0x1c415af
int3
int3
mov edi, 7
test ecx, ecx
jne 0x1c41a5d
mov edi, 3
jmp 0x1c41849
mov edi, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1c41787
cmp dword [ebp - 0x14], edi
jne 0x1c41a38
mov edx, dword [0x1cf71e4]
xor edi, edi
cmp edx, 2
jb 0x1c41849
mov al, byte [ecx]
imul edx, edx, 0x2c
mov dword [ebp - 0x24], edx
mov edx, 0x2c
mov bh, al
mov al, byte [ecx + edx]
mov bl, al
cmp al, bh
je 0x1c41896
cmp bl, bh
jae 0x1c419a2
cmp dword [ebp - 0x24], edx
jne 0x1c41a3f
jmp 0x1c41849
mov bh, byte [ecx + edx - 0x2b]
mov bl, byte [ecx + edx + 1]
cmp bl, bh
jne 0x1c41883
mov bh, byte [ecx + edx - 0x2a]
mov bl, byte [ecx + edx + 2]
cmp bl, bh
jne 0x1c41883
mov bh, byte [ecx + edx - 0x29]
mov bl, byte [ecx + edx + 3]
cmp bl, bh
jne 0x1c41883
mov bh, byte [ecx + edx - 0x28]
mov bl, byte [ecx + edx + 4]
cmp bl, bh
jne 0x1c41883
mov bh, byte [ecx + edx - 0x27]
mov bl, byte [ecx + edx + 5]
cmp bl, bh
jne 0x1c41883
mov bh, byte [ecx + edx - 0x26]
mov bl, byte [ecx + edx + 6]
cmp bl, bh
jne 0x1c41883
mov bh, byte [ecx + edx - 0x25]
mov bl, byte [ecx + edx + 7]
cmp bl, bh
jne 0x1c41883
mov bh, byte [ecx + edx - 0x24]
mov bl, byte [ecx + edx + 8]
cmp bl, bh
jne 0x1c41883
mov bh, byte [ecx + edx - 0x23]
mov bl, byte [ecx + edx + 9]
cmp bl, bh
jne 0x1c41883
mov bh, byte [ecx + edx - 0x22]
mov bl, byte [ecx + edx + 0xa]
cmp bl, bh
jne 0x1c41883
mov bh, byte [ecx + edx - 0x21]
mov bl, byte [ecx + edx + 0xb]
cmp bl, bh
jne 0x1c41883
mov bh, byte [ecx + edx - 0x20]
mov bl, byte [ecx + edx + 0xc]
cmp bl, bh
jne 0x1c41883
mov bh, byte [ecx + edx - 0x1f]
mov bl, byte [ecx + edx + 0xd]
cmp bl, bh
jne 0x1c41883
mov bh, byte [ecx + edx - 0x1e]
mov bl, byte [ecx + edx + 0xe]
cmp bl, bh
jne 0x1c41883
mov bh, byte [ecx + edx - 0x1d]
mov bl, byte [ecx + edx + 0xf]
cmp bl, bh
jne 0x1c41883
mov bh, byte [ecx + edx - 0x1c]
mov bl, byte [ecx + edx + 0x10]
cmp bl, bh
jne 0x1c41883
mov bh, byte [ecx + edx - 0x1b]
mov bl, byte [ecx + edx + 0x11]
cmp bl, bh
jne 0x1c41883
mov bh, byte [ecx + edx - 0x1a]
mov bl, byte [ecx + edx + 0x12]
cmp bl, bh
jne 0x1c41883
mov bh, byte [ecx + edx - 0x19]
mov bl, byte [ecx + edx + 0x13]
cmp bl, bh
jne 0x1c41883
add edx, 0x2c
cmp dword [ebp - 0x24], edx
jne 0x1c41878
jmp 0x1c41849
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 0x1c41830
cmp ecx, 8
jne 0x1c41830
mov edi, 8
cmp dword [ebp - 0x20], 1
jne 0x1c41a5d
mov eax, dword [ebp - 0x1c]
mov dword [0x1cf71e4], eax
test eax, eax
je 0x1c41844
mov edi, 9
cmp eax, 0x5d1745d
ja 0x1c41a5d
imul edi, eax, 0x2c
push edi
call fcn.01c96a5d
add esp, 4
mov dword [0x1cf71e8], eax
push 0
push ebx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [0x1cf71e8]
test eax, eax
jne 0x1c41855
mov edi, 0xa
jmp 0x1c41a44
mov edi, 0xb
test ecx, ecx
je 0x1c41a51
push ecx
call fcn.01c968a6
add esp, 4
xor eax, eax
mov dword [0x1cf71e8], eax
mov dword [0x1cf71e4], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1c4178e