Function at 0x4434a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
push ebx
sub esp, 0x3c
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov eax, dword [ecx]
mov dword [esp], eax
call sub.msvcrt.dll_fseek
mov eax, dword [edi]
mov dword [esp], eax
call sub.msvcrt.dll_ftell
mov dword [ebp - 0x2c], eax
mov ebx, eax
mov dword [ebp - 0x38], eax
mov eax, dword [edi]
sar ebx, 0x1f
mov esi, ebx
mov dword [ebp - 0x34], esi
mov dword [esp], eax
call sub.msvcrt.dll_rewind
cmp esi, 0
jle 0x4438d0
mov dword [esp], 0x10015
call fcn.0053e9a0
test eax, eax
mov ebx, eax
je 0x443a11
cmp dword [ebp - 0x34], 0
jl 0x443850
jle 0x443843
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x2c], 0x10015
sub esi, 0x10015
mov eax, dword [edi]
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.msvcrt.dll_fseek
test eax, eax
jne 0x4439b6
mov esi, dword [ebp - 0x2c]
mov eax, dword [edi]
mov dword [esp + 4], 1
mov dword [esp], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fread
cmp esi, eax
mov eax, dword [ebp - 0x2c]
jne 0x44398a
sub eax, 4
jns 0x443586
jmp 0x443857
sub eax, 1
cmp eax, 0xffffffff
nop
je 0x443857
cmp byte [ebx + eax], 0x50
lea esi, [ebx + eax]
jne 0x443578
movzx edx, byte [ebx + eax + 1]
movzx ecx, byte [ebx + eax + 2]
shl edx, 8
shl ecx, 0x10
or edx, ecx
movzx ecx, byte [ebx + eax + 3]
or edx, 0x50
shl ecx, 0x18
or edx, ecx
cmp edx, 0x6054b50
jne 0x443578
mov edx, dword [ebp - 0x2c]
lea ecx, [edi + 4]
mov dword [esp], esi
sub edx, eax
mov dword [esp + 4], edx
mov dword [ebp - 0x2c], edx
call fcn.00443300
mov edx, dword [ebp - 0x2c]
sub esp, 8
test eax, eax
mov dword [ebp - 0x38], eax
jne 0x44380e
mov esi, dword [edi + 8]
test esi, esi
jne 0x443962
movzx eax, word [edi + 0xe]
cmp word [edi + 0xc], ax
jne 0x443962
mov eax, dword [edi + 0x14]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [edi]
mov dword [esp], eax
call sub.msvcrt.dll_fseek
test eax, eax
jne 0x4439e2
xor esi, esi
cmp word [edi + 0xe], 0
lea eax, [edi + 0x24]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x1c]
mov edx, eax
je 0x443885
mov dword [ebp - 0x30], ebx
jmp 0x443655
mov ecx, dword [ebp - 0x2c]
lea ebx, [ebp - 0x1c]
add esi, 1
mov dword [esp], ebx
call fcn.004813a0
movzx eax, word [edi + 0xe]
sub esp, 4
cmp eax, esi
jle 0x443880
mov dword [esp], 0x68
xor ebx, ebx
call fcn.0053ea30
xor edx, edx
xor ecx, ecx
mov word [eax + 8], dx
xor edx, edx
mov word [eax + 0xa], cx
xor ecx, ecx
mov word [eax + 0xc], bx
xor ebx, ebx
mov word [eax + 0xe], dx
xor edx, edx
mov word [eax + 0x10], cx
xor ecx, ecx
mov word [eax + 0x20], bx
xor ebx, ebx
mov word [eax + 0x22], dx
xor edx, edx
mov word [eax + 0x30], cx
xor ecx, ecx
mov word [eax + 0x32], bx
xor ebx, ebx
mov word [eax + 0x34], dx
xor edx, edx
mov word [eax + 0x36], cx
xor ecx, ecx
mov word [eax + 0x38], bx
xor ebx, ebx
mov word [eax + 0x3a], dx
xor edx, edx
mov word [eax + 0x48], cx
xor ecx, ecx
mov word [eax + 0x4a], bx
xor ebx, ebx
mov word [eax + 0x4c], dx
mov word [eax + 0x4e], cx
mov ecx, eax
mov byte [eax], 0
mov byte [eax + 1], 0
mov dword [eax + 4], vtable.d9WorkQueue10WorkThreadE.0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], vtable.d8ZipEntry15LocalFileHeaderE.0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov word [eax + 0x50], bx
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x5c], 0
mov dword [eax + 0x60], 0
mov dword [eax + 0x64], 0
mov edx, dword [edi]
mov dword [ebp - 0x1c], eax
mov dword [esp], edx
call fcn.004415f0
sub esp, 4
test eax, eax
je 0x443635
mov dword [esp + 8], str.initFromCDE_failed_n
mov ebx, dword [ebp - 0x30]
mov dword [esp + 4], 0x5606fc
mov dword [esp], 3
mov dword [ebp - 0x2c], eax
call fcn.00482510
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
test esi, esi
je 0x443809
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x2c], vtable.d8ZipEntry15LocalFileHeaderE.0
test eax, eax
je 0x4437a0
mov dword [esp], eax
call fcn.0053e970
mov edx, dword [ebp - 0x2c]
mov eax, dword [esi + 0x60]
test eax, eax
je 0x4437b5
mov dword [esp], eax
mov dword [ebp - 0x2c], edx
call fcn.0053e970
mov edx, dword [ebp - 0x2c]
mov eax, dword [esi + 0x64]
test eax, eax
je 0x4437ca
mov dword [esp], eax
mov dword [ebp - 0x2c], edx
call fcn.0053e970
mov edx, dword [ebp - 0x2c]
mov eax, dword [esi + 0x24]
mov dword [esi + 4], vtable.d9WorkQueue10WorkThreadE.0
test eax, eax
je 0x4437e6
mov dword [esp], eax
mov dword [ebp - 0x2c], edx
call fcn.0053e970
mov edx, dword [ebp - 0x2c]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4437fb
mov dword [esp], eax
mov dword [ebp - 0x2c], edx
call fcn.0053e970
mov edx, dword [ebp - 0x2c]
mov dword [esp], esi
mov dword [ebp - 0x2c], edx
call fcn.0053e980
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x38], edx
jmp 0x443830
mov dword [esp + 0xc], edx
mov dword [esp + 8], str.Failure_reading__ld_bytes_of_EOCD_values
mov dword [esp + 4], 0x5606fc
mov dword [esp], 3
call fcn.00482510
nop
mov dword [esp], ebx
call fcn.0053e970
mov eax, dword [ebp - 0x38]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [ebp - 0x38], 0x10015
ja 0x443518
xor esi, esi
jmp 0x443528
mov dword [esp + 8], str.EOCD_not_found__not_Zip_n
mov dword [esp + 4], 0x5606fc
mov dword [esp], 3
call fcn.00482510
mov dword [ebp - 0x38], 0xffffffd8
jmp 0x443830
mov edx, ebx
mov ebx, dword [ebp - 0x30]
mov eax, dword [edi]
mov dword [esp + 8], 4
mov dword [esp + 4], 1
mov dword [esp], edx
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fread
cmp eax, 4
je 0x443910
mov dword [esp + 8], str.EOCD_check_read_failed_n
mov dword [esp + 4], 0x5606fc
mov dword [esp], 3
call fcn.00482510
mov dword [ebp - 0x38], 0xffffffd8
jmp 0x443830
jl 0x4438dc
cmp dword [ebp - 0x38], 0x15
ja 0x4434f2
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], str.Length_is__ld____too_small_n
mov dword [esp + 4], 0x5606fc
mov dword [esp], 3
mov dword [esp + 0xc], eax
call fcn.00482510
mov dword [ebp - 0x38], 0xffffffd8
jmp 0x443838
movzx eax, byte [ebp - 0x1b]
movzx edx, byte [ebp - 0x1a]
shl eax, 8
shl edx, 0x10
or eax, edx
movzx edx, byte [ebp - 0x1c]
or eax, edx
movzx edx, byte [ebp - 0x19]
shl edx, 0x18
or eax, edx
cmp eax, 0x6054b50
je 0x443830
mov dword [esp + 8], str.EOCD_read_check_failed_n
mov dword [esp + 4], 0x5606fc
mov dword [esp], 3
call fcn.00482510
mov dword [ebp - 0x38], 0x80000000
jmp 0x443830
mov dword [esp + 8], str.Archive_spanning_not_supported_n
mov dword [esp + 4], 0x5606fc
mov dword [esp], 3
call fcn.00482510
mov dword [ebp - 0x38], 0xffffffd8
jmp 0x443830
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.short_file__wanted__ld_n
mov dword [esp + 4], 0x5606fc
mov dword [esp], 3
call fcn.00482510
mov dword [ebp - 0x38], 0x80000000
jmp 0x443830
mov dword [esp + 0xc], esi
mov dword [esp + 8], str.Failure_seeking_to_end_of_zip_at__ld
mov dword [esp + 4], 0x5606fc
mov dword [esp], 3
call fcn.00482510
mov dword [ebp - 0x38], 0x80000000
jmp 0x443830
mov eax, dword [edi + 0x14]
mov dword [esp + 8], str.Failure_seeking_to_central_dir_offset__ld_n
mov dword [esp + 4], 0x5606fc
mov dword [esp], 3
mov dword [esp + 0xc], eax
call fcn.00482510
mov dword [ebp - 0x38], 0x80000000
jmp 0x443830
mov dword [esp + 0xc], 0x10015
mov dword [esp + 8], str.Failure_allocating__d_bytes_for_EOCD_search
mov dword [esp + 4], 0x5606fc
mov dword [esp], 3
call fcn.00482510
mov dword [ebp - 0x38], 0xfffffff4
jmp 0x443838