Function at 0x41cd80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
push 0
push esi
mov eax, dword [esi + 0x440]
mov ebx, dword [eax]
call fcn.00435cd0
xor edi, edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], edi
add esp, 8
mov edi, dword [esp + 0x3c]
mov ebp, eax
mov dword [esp + 0x2c], ebp
mov cl, byte [edi + 0x68]
test cl, cl
je 0x41cde5
cmp cl, 8
je 0x41cdfd
movzx eax, cl
push eax
call fcn.00418d60
push eax
push str.Unsupported_ZIP_compression_method___s_
push 0x2a
push esi
call fcn.00435d10
add esp, 0x14
mov eax, 0xffffffec
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov eax, dword [edi + 0x20]
cmp eax, dword [edi + 0x18]
jne 0x41d0e1
mov eax, dword [edi + 0x24]
cmp eax, dword [edi + 0x1c]
jne 0x41d0e1
mov ecx, dword [edi + 0x24]
mov eax, dword [edi + 0x20]
test ecx, ecx
jl 0x41ce19
jg 0x41ce10
cmp eax, 0x400000
jbe 0x41ce19
push ecx
push eax
push str.Mac_metadata_is_too_large:__jd___4M_bytes
jmp 0x41cdcd
mov edx, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
test edx, edx
jl 0x41ce36
jg 0x41ce2d
cmp ecx, 0x400000
jbe 0x41ce36
push edx
push ecx
push str.Mac_metadata_is_too_large:__jd___4M_bytes
jmp 0x41cdcd
push eax
call fcn.0042d9fe
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x41ce53
push str.Cant_allocate_memory_for_Mac_metadata
push 0xc
jmp 0x41d0e8
mov ecx, dword [edi + 0x14]
mov edx, dword [esp + 0x24]
mov eax, dword [edi + 0x10]
cmp edx, ecx
jg 0x41ce78
jl 0x41ce67
cmp ebp, eax
jae 0x41ce7a
sub eax, ebp
sbb ecx, edx
push ecx
push eax
push esi
call fcn.0043ebd0
add esp, 0xc
jmp 0x41ce8d
cmp ebp, eax
jne 0x41ce80
cmp edx, ecx
je 0x41ce8d
push 0
push ecx
push eax
push esi
call fcn.0043e6c0
add esp, 0x10
push 0
push 0x1e
push esi
call fcn.0043e430
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x41ceb5
push str.Truncated_ZIP_file_header
push 0x2a
push esi
call fcn.00435d10
add esp, 0xc
lea eax, [ebp - 0x14]
jmp 0x41cef4
cmp dword [ebp], 0x4034b50
je 0x41ced5
push str.Damaged_Zip_archive
push 0xffffffffffffffff
push esi
call fcn.00435d10
add esp, 0xc
mov eax, 0xffffffec
jmp 0x41cef4
movzx edx, byte [ebp + 0x1b]
movzx eax, byte [ebp + 0x1a]
movzx ecx, byte [ebp + 0x1d]
shl edx, 8
or edx, eax
shl ecx, 8
movzx eax, byte [ebp + 0x1c]
add edx, 0x1e
or eax, ecx
add eax, edx
cdq
push edx
push eax
push esi
call fcn.0043ebd0
mov ebp, dword [edi + 0x18]
add esp, 0xc
mov edi, dword [edi + 0x20]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 0
nop word [eax + eax]
test ebp, ebp
je 0x41d03a
lea eax, [esp + 0x14]
push eax
push 1
push esi
call fcn.0043e430
mov edx, eax
add esp, 0xc
mov dword [esp + 0x28], edx
test edx, edx
je 0x41d0c7
mov ecx, dword [esp + 0x14]
cmp ecx, ebp
mov eax, dword [esp + 0x3c]
cmova ecx, ebp
mov dword [esp + 0x14], ecx
mov al, byte [eax + 0x68]
test al, al
je 0x41cfec
cmp al, 8
je 0x41cf6d
xor edi, edi
jmp 0x41d01d
push ebx
push esi
call fcn.0041ae90
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x41d054
mov eax, dword [esp + 0x28]
lea edx, [ebx + 0x74]
mov ecx, dword [esp + 0x14]
mov dword [edx], eax
mov eax, dword [esp + 0x10]
push 0
push edx
mov dword [ebx + 0x78], ecx
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x84], edi
mov dword [ebx + 0x88], 0
call fcn.00430d50
add esp, 8
cmp eax, 0xfffffffc
je 0x41d09b
test eax, eax
je 0x41cfd9
cmp eax, 1
jne 0x41d083
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x88]
sub dword [esp + 0x34], eax
mov edi, dword [ebx + 0x7c]
add dword [esp + 0x10], eax
jmp 0x41d01d
mov eax, dword [esp + 0x10]
cmp ecx, edi
cmova ecx, edi
push ecx
push edx
push eax
mov dword [esp + 0x20], ecx
call fcn.004095d0
mov edi, dword [esp + 0x20]
add esp, 0xc
sub dword [esp + 0x34], edi
mov eax, dword [esp + 0x10]
lea eax, [edi + eax]
mov dword [esp + 0x10], eax
je 0x41d0b2
push 0
push edi
push esi
call fcn.0043ebd0
sub ebp, edi
add esp, 0xc
cmp dword [esp + 0x20], 0
mov edi, dword [esp + 0x34]
je 0x41cf20
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x20]
sub eax, edi
push eax
push dword [esp + 0x20]
push dword [esp + 0x40]
call fcn.004371d0
add esp, 0xc
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
push 0
push edx
push dword [esp + 0x34]
push esi
call fcn.0043e6c0
push dword [esp + 0x2c]
mov byte [ebx + 0x69], 0
call fcn.00421011
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
push eax
push str.ZIP_decompression_failed___d_
push 0xffffffffffffffff
push esi
call fcn.00435d10
add esp, 0x10
mov edi, 0xffffffe2
jmp 0x41d058
push str.Out_of_memory_for_ZIP_decompression
push 0xc
push esi
call fcn.00435d10
add esp, 0xc
mov edi, 0xffffffe2
jmp 0x41d058
push 0
push edi
push esi
call fcn.0043ebd0
mov edi, dword [esp + 0x40]
add esp, 0xc
jmp 0x41d03a
push str.Truncated_ZIP_file_header
push 0x2a
push esi
call fcn.00435d10
add esp, 0xc
mov edi, 0xffffffec
jmp 0x41d058
push str.Malformed_OS_X_metadata_entry:_inconsistent_size
push 0x2a
push esi
call fcn.00435d10
add esp, 0xc
mov eax, 0xffffffe2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret