Function at 0x4019c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x4353f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
push edi
push 0x1c
lea eax, [ebp - 0x2c]
push 1
push eax
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x30], 0
call fcn.00419559
add esp, 0x10
cmp eax, 0x1c
je 0x401a1c
push str.Didnt_properly_read_the_sparse_header__n
push 0x78a
push str.sparse_open
push 1
call fcn.00401210
add esp, 0x10
push 1
call fcn.004017c0
mov eax, dword [ebp - 0x2c]
cmp eax, 0xed26ff3a
je 0x401a47
push eax
push str.Bad_magic:__x_probably_not_processing_a_sparse_image_n
push 0x791
push str.sparse_open
push 1
call fcn.00401210
add esp, 0x14
push 1
call fcn.004017c0
mov ax, word [ebp - 0x28]
cmp ax, 1
je 0x401a61
movzx ecx, ax
push ecx
push str.Unknown_major_version_number_n
push 0x797
jmp 0x401a31
push 0x1c
call fcn.00418846
mov esi, eax
add esp, 4
mov dword [ebp - 0x54], esi
test esi, esi
jne 0x401a80
push str.Malloc_for_return_sparse_handle_failed
push 0x7a0
jmp 0x401a06
mov ebx, dword [ebp - 0x18]
add ebx, ebx
add ebx, ebx
add ebx, ebx
push ebx
call fcn.00418846
add esp, 4
push ebx
mov dword [ebp - 0x50], eax
mov dword [esi + 0xc], eax
call fcn.00418846
mov edx, dword [ebp - 0x18]
mov ebx, eax
lea eax, [edx*4]
add esp, 4
push eax
mov dword [ebp - 0x4c], ebx
mov dword [esi + 0x10], ebx
call fcn.00418846
xor edx, edx
add esp, 4
mov dword [ebp - 0x64], eax
mov dword [esi + 0x14], eax
cmp dword [ebp - 0x50], edx
je 0x401dd5
cmp ebx, edx
je 0x401dd5
cmp eax, edx
je 0x401dd5
movzx eax, word [ebp - 0x24]
mov dword [esi], edi
mov dword [esi + 4], edx
mov dword [esi + 0x18], edx
cmp eax, 0x1c
jbe 0x401b00
push 1
push edx
add eax, 0xffffffe4
push eax
push edi
call fcn.00418c8a
add esp, 0x10
xor edx, edx
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x18], edx
jbe 0x401cc0
mov esi, 0xfffffff8
mov dword [ebp - 0x58], edx
push edi
call fcn.004179ce
add esp, 4
push edi
push 0xc
lea ecx, [ebp - 0x10]
push 1
push ecx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
call fcn.00419559
add esp, 0x10
cmp eax, 0xc
jne 0x401cee
mov cx, word [ebp - 0x22]
movzx eax, cx
cmp eax, 0xc
jbe 0x401b5e
push 1
add eax, 0xfffffff4
push 0
push eax
push edi
call fcn.00418c8a
mov cx, word [ebp - 0x22]
add esp, 0x10
mov ax, word [ebp - 0x10]
mov edx, 0xcac1
cmp ax, dx
jne 0x401c55
mov edi, dword [ebp - 0x20]
imul edi, dword [ebp - 0xc]
movzx eax, cx
add eax, edi
cmp dword [ebp - 8], eax
jne 0x401cfd
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push ecx
push edx
xor eax, eax
push eax
push edi
call fcn.004249b0
or ecx, ebx
jne 0x401d2e
xor edi, edi
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
cmp dword [ebp - 0x38], edi
je 0x401be8
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x60]
inc eax
add esi, 8
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x64]
mov dword [esi + eax], edx
mov edx, dword [ebp + 8]
mov dword [esi + eax + 4], ecx
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp + 0xc]
mov dword [esi + eax], edx
mov dword [esi + eax + 4], ecx
mov eax, dword [ebp - 0x4c]
mov dword [esi + eax], edi
mov dword [ebp - 0x38], edi
mov dword [esi + eax + 4], edi
mov ebx, dword [ebp - 0x20]
imul ebx, dword [ebp - 0xc]
mov edx, ebx
or edx, edi
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], edi
je 0x401c4a
jmp 0x401c06
mov ebx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x44]
test edi, edi
jne 0x401c0f
cmp ebx, 0xffffffff
jbe 0x401c14
or ebx, 0xffffffff
xor edi, edi
mov eax, dword [ebp - 0x3c]
push 1
push edi
push ebx
push eax
call fcn.00418c8a
add esp, 0x10
test eax, eax
jne 0x401d1f
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x4c]
sub ecx, ebx
sbb edx, edi
add dword [esi + eax], ebx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], edx
adc dword [esi + eax + 4], edi
or ecx, edx
jne 0x401c00
mov ecx, dword [ebp - 0x70]
add dword [ebp + 8], ecx
mov edx, dword [ebp - 0x6c]
jmp 0x401c9f
mov edx, 0xcac3
cmp ax, dx
jne 0x401d94
movzx eax, cx
cmp dword [ebp - 8], eax
jne 0x401d50
cmp dword [ebp - 0x38], 0
jne 0x401c7c
mov dword [ebp - 0x38], 1
mov edi, dword [ebp - 0x20]
imul edi, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push ecx
push edx
xor eax, eax
push eax
push edi
call fcn.004249b0
or ecx, ebx
jne 0x401d72
add dword [ebp + 8], eax
adc dword [ebp + 0xc], edx
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x34], eax
cmp eax, dword [ebp - 0x18]
jb 0x401b14
mov esi, dword [ebp - 0x54]
xor edx, edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
cmp eax, ecx
je 0x401db6
push eax
push ecx
push str.Wrote__d_blocks__expected_to_write__d_blocks_n
push 0x829
push str.sparse_open
push 1
call fcn.00401210
add esp, 0x18
jmp 0x401a15
push str.Didnt_get_proper_amount_of_bytes_for_chunk_header_n
push 0x7c1
jmp 0x401a06
mov ecx, dword [ebp - 0x34]
push ecx
push str.Bogus_chunk_size_for_chunk__d__type_Raw_n
push 0x7d1
push str.sparse_open
push 1
call fcn.00401210
add esp, 0x14
jmp 0x401a15
push str.Error_when_trying_to_read_RAW_data_from_file_n
push 0x7f6
jmp 0x401a06
xor eax, eax
push eax
push edi
push str.File_chunk_size__d_is_not_a_sector_multiple
push 0x7dd
push str.sparse_open
push 1
call fcn.00401210
add esp, 0x18
jmp 0x401a15
mov edx, dword [ebp - 0x34]
push edx
push str.Bogus_chunk_size_for_chunk__d__type_Dont_Care_n
push 0x808
push str.sparse_open
push 1
call fcn.00401210
add esp, 0x14
jmp 0x401a15
xor eax, eax
push eax
push edi
push str.Number_of_bytes_skipped__d_is_not_a_sector_multiple_n
push 0x819
push str.sparse_open
push 1
call fcn.00401210
add esp, 0x18
jmp 0x401a15
movzx eax, ax
push eax
push str.Unknown_chunk_type__x_n
push 0x821
push str.sparse_open
push 1
call fcn.00401210
add esp, 0x14
jmp 0x401a15
push edx
push edx
push edx
push edi
call fcn.00418c8a
mov ecx, dword [ebp - 4]
add esp, 0x10
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00417675
mov esp, ebp
pop ebp
ret
push str.Malloc_in_sparse_open_failed
push 0x7aa
jmp 0x401a06