Function at 0x42e750
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x174], 0
je 0x42e8c3
cmp dword [edi + 0x168], 1
jne 0x42e8c3
mov edx, dword [edi + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], ecx
test edx, edx
je 0x42e7aa
lea esi, [ebp - 0x20]
push esi
push ecx
push eax
push dword [ebp + 8]
push edx
call fcn.0042c010
add esp, 0x14
test al, al
je 0x42e8c3
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
jmp 0x42e806
mov ebx, dword [ebp + 8]
lea eax, [ebp + 0xc]
shl ebx, 5
add ebx, edi
push eax
lea ecx, [ebx + 0x28]
call fcn.00404540
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebx + 0x28]
call fcn.004049a0
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x42e7d9
mov ecx, dword [ebx + 0x2c]
cmp ecx, dword [ebx + 0x2c]
je 0x42e8c3
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x42e8c3
mov ebx, dword [ebp + 0x1c]
mov esi, ebx
and esi, 1
mov dword [ebp + 8], esi
lea esi, [edx + 0x10]
jne 0x42e823
mov esi, eax
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x42e832
cmp dword [ecx], esi
jb 0x42e8c3
mov dword [ecx], esi
test eax, eax
je 0x42e9ed
shr ebx, 1
and ebx, 0xffffff01
cmp dword [ebp + 8], 0
je 0x42e8ce
push ebx
lea eax, [edi + 0x178]
push eax
lea ecx, [ebp + 0xc]
call fcn.0042a8c0
mov eax, dword [ebp - 0x20]
push 0
add eax, 0xfffffff0
push eax
push dword [edi + 0xc]
call fcn.004f0f0c
add esp, 0xc
test eax, eax
js 0x42e8b2
push dword [edi + 0xc]
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp + 0x18]
add esi, 0x10
push esi
push 1
push eax
call fcn.004f0b7b
add esp, 0x10
cmp eax, esi
jne 0x42e8b2
cmp byte [ebp + 0x10], 0
je 0x42e9ed
push dword [ebp + 0xc]
call fcn.004e38a2
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp byte [ebp + 0x10], 0
je 0x42e8c3
push dword [ebp + 0xc]
call fcn.004e38a2
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp - 0x14]
mov byte [ebp + 8], bl
cmp ecx, 1
jne 0x42e9cc
cmp dword [ebp - 0xc], esi
jne 0x42e929
cmp edx, esi
jne 0x42e929
lea eax, [edi + 0x178]
mov dword [ebp + 8], eax
test bl, bl
je 0x42e904
push eax
call fcn.004e387d
add esp, 4
test eax, eax
jne 0x42e9f8
mov eax, dword [ebp - 0x20]
push 0
push eax
push dword [edi + 0xc]
call fcn.004f0f0c
add esp, 0xc
test eax, eax
jns 0x42e930
test bl, bl
je 0x42e929
mov eax, dword [ebp + 8]
push eax
call fcn.004e38a2
add esp, 4
xor al, al
jmp 0x42e9e5
push dword [edi + 0xc]
mov eax, dword [ebp + 0x18]
push dword [ebp - 0x18]
push 1
push eax
call fcn.004f0b7b
add esp, 0x10
cmp eax, dword [ebp - 0x18]
je 0x42e963
test bl, bl
je 0x42e929
lea eax, [edi + 0x178]
push eax
call fcn.004e38a2
add esp, 4
xor al, al
jmp 0x42e9e5
test bl, bl
je 0x42e976
lea eax, [edi + 0x178]
push eax
call fcn.004e38a2
add esp, 4
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x42e9c8
push esi
push dword [ebp + 0x18]
push 0
call fcn.00436c40
add esp, 0xc
cmp eax, edi
je 0x42e9c8
call fcn.00417940
cmp eax, 2
jg 0x42e9c4
push str.CRC_mismatch__n
push 2
call fcn.00417f70
add esp, 8
test al, al
jne 0x42e9c4
push str.Fossilize_ERROR:_CRC_mismatch__n
push 2
call fcn.004ee3fb
add esp, 4
push eax
call fcn.00401df0
add esp, 8
xor al, al
jmp 0x42e9e5
mov al, 1
jmp 0x42e9e5
cmp ecx, 2
jne 0x42e8c3
push dword [ebp + 8]
lea ecx, [ebp - 0x20]
push ecx
push esi
push eax
mov ecx, edi
call fcn.0042bd40
test al, al
je 0x42e8c3
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push eax
call fcn.004e395b
int3