Function at 0x532ad0
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.00534dc0
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 0x532b35
cmp cl, 8
je 0x532b4d
movzx eax, cl
push eax
call fcn.0052f300
push eax
push str.Unsupported_ZIP_compression_method___s_
push 0x2a
push esi
call fcn.00538f10
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 0x532e31
mov eax, dword [edi + 0x24]
cmp eax, dword [edi + 0x1c]
jne 0x532e31
mov ecx, dword [edi + 0x24]
mov eax, dword [edi + 0x20]
test ecx, ecx
jl 0x532b69
jg 0x532b60
cmp eax, 0x400000
jbe 0x532b69
push ecx
push eax
push str.Mac_metadata_is_too_large:__jd___4M_bytes
jmp 0x532b1d
mov edx, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
test edx, edx
jl 0x532b86
jg 0x532b7d
cmp ecx, 0x400000
jbe 0x532b86
push edx
push ecx
push str.Mac_metadata_is_too_large:__jd___4M_bytes
jmp 0x532b1d
push eax
call fcn.005de594
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x532ba3
push str.Cant_allocate_memory_for_Mac_metadata
push 0xc
jmp 0x532e38
mov ecx, dword [edi + 0x14]
mov edx, dword [esp + 0x24]
mov eax, dword [edi + 0x10]
cmp edx, ecx
jg 0x532bc8
jl 0x532bb7
cmp ebp, eax
jae 0x532bca
sub eax, ebp
sbb ecx, edx
push ecx
push eax
push esi
call fcn.00536640
add esp, 0xc
jmp 0x532bdd
cmp ebp, eax
jne 0x532bd0
cmp edx, ecx
je 0x532bdd
push 0
push ecx
push eax
push esi
call fcn.00536f20
add esp, 0x10
push 0
push 0x1e
push esi
call fcn.00536620
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x532c05
push str.Truncated_ZIP_file_header
push 0x2a
push esi
call fcn.00538f10
add esp, 0xc
lea eax, [ebp - 0x14]
jmp 0x532c44
cmp dword [ebp], 0x4034b50
je 0x532c25
push str.Damaged_Zip_archive
push 0xffffffffffffffff
push esi
call fcn.00538f10
add esp, 0xc
mov eax, 0xffffffec
jmp 0x532c44
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.00536640
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 0x532d8a
lea eax, [esp + 0x14]
push eax
push 1
push esi
call fcn.00536620
mov edx, eax
add esp, 0xc
mov dword [esp + 0x28], edx
test edx, edx
je 0x532e17
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 0x532d3c
cmp al, 8
je 0x532cbd
xor edi, edi
jmp 0x532d6d
push ebx
push esi
call fcn.00531210
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x532da4
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.00526390
add esp, 8
cmp eax, 0xfffffffc
je 0x532deb
test eax, eax
je 0x532d29
cmp eax, 1
jne 0x532dd3
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 0x532d6d
mov eax, dword [esp + 0x10]
cmp ecx, edi
cmova ecx, edi
push ecx
push edx
push eax
mov dword [esp + 0x20], ecx
call fcn.004da640
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 0x532e02
push 0
push edi
push esi
call fcn.00536640
sub ebp, edi
add esp, 0xc
cmp dword [esp + 0x20], 0
mov edi, dword [esp + 0x34]
je 0x532c70
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.00533eb0
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.00536f20
push dword [esp + 0x2c]
mov byte [ebx + 0x69], 0
call fcn.005de59f
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.00538f10
add esp, 0x10
mov edi, 0xffffffe2
jmp 0x532da8
push str.Out_of_memory_for_ZIP_decompression
push 0xc
push esi
call fcn.00538f10
add esp, 0xc
mov edi, 0xffffffe2
jmp 0x532da8
push 0
push edi
push esi
call fcn.00536640
mov edi, dword [esp + 0x40]
add esp, 0xc
jmp 0x532d8a
push str.Truncated_ZIP_file_header
push 0x2a
push esi
call fcn.00538f10
add esp, 0xc
mov edi, 0xffffffec
jmp 0x532da8
push str.Malformed_OS_X_metadata_entry:_inconsistent_size
push 0x2a
push esi
call fcn.00538f10
add esp, 0xc
mov eax, 0xffffffe2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret