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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x15c
mov dword [ebp - 0x2c], 0
mov word [ebp - 0xa2], 0
mov word [ebp - 0xa4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0x18
cmp dword [ebp + 8], 0
jne 0x867147
mov dword [ebp - 0x1c], 0xffffffff
jmp 0x8677b5
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x14]
cmp eax, 1
je 0x8677b4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x50]
and eax, 0xf
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x8671ed
mov eax, dword [ebp + 8]
add eax, 0xc8
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], 0x888166
mov dword [esp], eax
call sym._tdefl_compress_buffer
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 1
je 0x8671b1
cmp dword [ebp - 0x40], 0
je 0x8671b1
mov dword [ebp - 0x1c], 0xfffffff4
jmp 0x8677b5
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xc4]
mov eax, dword [eax + 0xc0]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x68], eax
mov dword [ecx + 0x6c], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xbc]
mov eax, dword [eax + 0xb8]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x78], eax
mov dword [ecx + 0x7c], edx
mov eax, dword [ebp + 8]
mov word [eax + 0xa8], 8
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x5c]
mov dword [esp], eax
call sym._strlen
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov word [ebp - 0x46], ax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x4e00c]
lea edx, [ebp - 0xa4]
mov dword [esp + 8], edx
lea edx, [ebp - 0xa2]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._mz_zip_time_t_to_dos_time
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa0], 0x8074b50
mov eax, dword [ebp - 0xa0]
mov edx, eax
mov eax, dword [ebp - 0x9c]
mov byte [eax], dl
mov eax, dword [ebp - 0xa0]
shr eax, 8
mov edx, eax
mov eax, dword [ebp - 0x9c]
add eax, 1
mov byte [eax], dl
mov eax, dword [ebp - 0xa0]
shr eax, 0x10
mov edx, eax
mov eax, dword [ebp - 0x9c]
add eax, 2
mov byte [eax], dl
mov eax, dword [ebp - 0xa0]
shr eax, 0x18
mov edx, eax
mov eax, dword [ebp - 0x9c]
add eax, 3
mov byte [eax], dl
nop
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x70]
lea eax, [ebp - 0xd8]
add eax, 4
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x98]
mov edx, eax
mov eax, dword [ebp - 0x94]
mov byte [eax], dl
mov eax, dword [ebp - 0x98]
shr eax, 8
mov edx, eax
mov eax, dword [ebp - 0x94]
add eax, 1
mov byte [eax], dl
mov eax, dword [ebp - 0x98]
shr eax, 0x10
mov edx, eax
mov eax, dword [ebp - 0x94]
add eax, 2
mov byte [eax], dl
mov eax, dword [ebp - 0x98]
shr eax, 0x18
mov edx, eax
mov eax, dword [ebp - 0x94]
add eax, 3
mov byte [eax], dl
nop
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x6c]
mov eax, dword [eax + 0x68]
lea ecx, [ebp - 0xd8]
add ecx, 8
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x80]
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov edx, eax
mov eax, dword [ebp - 0x84]
mov byte [eax], dl
mov eax, dword [ebp - 0x88]
shr eax, 8
mov edx, eax
mov eax, dword [ebp - 0x84]
add eax, 1
mov byte [eax], dl
mov eax, dword [ebp - 0x88]
shr eax, 0x10
mov edx, eax
mov eax, dword [ebp - 0x84]
add eax, 2
mov byte [eax], dl
mov eax, dword [ebp - 0x88]
shr eax, 0x18
mov edx, eax
mov eax, dword [ebp - 0x84]
add eax, 3
mov byte [eax], dl
nop
mov eax, dword [ebp - 0x80]
mov edx, dword [ebp - 0x7c]
mov eax, edx
xor edx, edx
mov edx, eax
mov eax, dword [ebp - 0x74]
add eax, 4
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x90]
mov edx, eax
mov eax, dword [ebp - 0x8c]
mov byte [eax], dl
mov eax, dword [ebp - 0x90]
shr eax, 8
mov edx, eax
mov eax, dword [ebp - 0x8c]
add eax, 1
mov byte [eax], dl
mov eax, dword [ebp - 0x90]
shr eax, 0x10
mov edx, eax
mov eax, dword [ebp - 0x8c]
add eax, 2
mov byte [eax], dl
mov eax, dword [ebp - 0x90]
shr eax, 0x18
mov edx, eax
mov eax, dword [ebp - 0x8c]
add eax, 3
mov byte [eax], dl
nop
nop
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x64]
mov eax, dword [eax + 0x60]
lea ecx, [ebp - 0xd8]
add ecx, 0x10
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov edx, eax
mov eax, dword [ebp - 0x64]
mov byte [eax], dl
mov eax, dword [ebp - 0x68]
shr eax, 8
mov edx, eax
mov eax, dword [ebp - 0x64]
add eax, 1
mov byte [eax], dl
mov eax, dword [ebp - 0x68]
shr eax, 0x10
mov edx, eax
mov eax, dword [ebp - 0x64]
add eax, 2
mov byte [eax], dl
mov eax, dword [ebp - 0x68]
shr eax, 0x18
mov edx, eax
mov eax, dword [ebp - 0x64]
add eax, 3
mov byte [eax], dl
nop
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
mov eax, edx
xor edx, edx
mov edx, eax
mov eax, dword [ebp - 0x54]
add eax, 4
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x70]
mov edx, eax
mov eax, dword [ebp - 0x6c]
mov byte [eax], dl
mov eax, dword [ebp - 0x70]
shr eax, 8
mov edx, eax
mov eax, dword [ebp - 0x6c]
add eax, 1
mov byte [eax], dl
mov eax, dword [ebp - 0x70]
shr eax, 0x10
mov edx, eax
mov eax, dword [ebp - 0x6c]
add eax, 2
mov byte [eax], dl
mov eax, dword [ebp - 0x70]
shr eax, 0x18
mov edx, eax
mov eax, dword [ebp - 0x6c]
add eax, 3
mov byte [eax], dl
nop
nop
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax + 0x3c]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x7c]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx + 0x44]
mov dword [ebp - 0xdc], ecx
mov ecx, dword [ebp - 0x38]
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0xd8]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov ecx, dword [ebp - 0xdc]
mov dword [esp], ecx
call ebx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x38]
je 0x8674ff
mov dword [ebp - 0x1c], 0xfffffff2
jmp 0x8677b5
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x7c]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x38]
mov ebx, 0
add eax, ecx
adc edx, ebx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x78], eax
mov dword [ecx + 0x7c], edx
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xa4]
mov eax, dword [eax + 0xa0]
mov ebx, 0xfffffffe
mov ecx, 0
cmp ebx, eax
sbb ecx, edx
jae 0x867552
mov eax, dword [ebp + 8]
add eax, 0xa0
mov dword [ebp - 0x20], eax
jmp 0x867559
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x6c]
mov eax, dword [eax + 0x68]
mov ebx, 0xfffffffe
mov ecx, 0
cmp ebx, eax
sbb ecx, edx
jae 0x86757d
mov eax, dword [ebp + 8]
add eax, 0x68
mov dword [ebp - 0x24], eax
jmp 0x867584
mov dword [ebp - 0x24], 0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x64]
mov eax, dword [eax + 0x60]
mov ebx, 0xfffffffe
mov ecx, 0
cmp ebx, eax
sbb ecx, edx
jae 0x8675a8
mov eax, dword [ebp + 8]
add eax, 0x60
mov dword [ebp - 0x28], eax
jmp 0x8675af
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
lea eax, [ebp - 0xc0]
mov dword [esp], eax
call sym._mz_zip_writer_create_zip64_extra_data
mov dword [ebp - 0x34], eax
cmp word [ebp - 0x46], 0
je 0x867641
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x5c]
movzx eax, word [ebp - 0x46]
sub eax, 1
add eax, edx
movzx eax, byte [eax]
cmp al, 0x2f
je 0x86760a
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x5c]
movzx eax, word [ebp - 0x46]
sub eax, 1
add eax, edx
movzx eax, byte [eax]
cmp al, 0x5c
jne 0x867641
jmp 0x86760b
nop
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x64]
mov eax, dword [eax + 0x60]
mov ebx, eax
xor bh, 0
mov esi, ebx
mov eax, edx
xor ah, 0
mov edi, eax
mov eax, edi
or eax, esi
test eax, eax
jne 0x867641
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x4e008]
or eax, 0x10
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x4e008], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x4e008]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa0]
mov ebx, dword [eax + 0xa4]
movzx eax, word [ebp - 0xa4]
movzx edi, ax
mov dword [ebp - 0xe0], edi
movzx eax, word [ebp - 0xa2]
movzx esi, ax
mov dword [ebp - 0xe4], esi
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0xa8]
movzx edx, ax
mov dword [ebp - 0xe8], edx
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
mov dword [ebp - 0xec], edi
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x6c]
mov eax, dword [eax + 0x68]
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], edx
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x60]
mov edi, dword [eax + 0x64]
mov eax, dword [ebp - 0x34]
movzx edx, ax
mov dword [ebp - 0xf0], edx
movzx edx, word [ebp - 0x46]
mov dword [ebp - 0xfc], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x5c]
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov eax, dword [ebp - 0xdc]
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ebx
mov ebx, dword [ebp - 0xe0]
mov dword [esp + 0x3c], ebx
mov ebx, dword [ebp - 0xe4]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], 0x808
mov ebx, dword [ebp - 0xe8]
mov dword [esp + 0x30], ebx
mov ebx, dword [ebp - 0xec]
mov dword [esp + 0x2c], ebx
mov ecx, dword [ebp - 0xf8]
mov ebx, dword [ebp - 0xf4]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x888166
mov eax, dword [ebp - 0xf0]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xfc]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._mz_zip_writer_add_to_central_dir
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x867792
mov dword [ebp - 0x1c], 0xfffffff1
jmp 0x8677b5
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x10]
lea edx, [eax + 1]
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x10], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x7c]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x8677b5
nop
cmp dword [ebp + 8], 0
je 0x8677f5
mov eax, dword [ebp + 8]
mov dword [eax + 0x4e00c], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x58], 0xffffffff
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x5c]
test eax, eax
je 0x8677f4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x5c]
mov dword [esp], eax
call sym._free
mov eax, dword [ebp + 8]
mov dword [eax + 0x5c], 0
nop
mov eax, dword [ebp - 0x1c]
add esp, 0x15c
pop ebx
pop esi
pop edi
pop ebp
ret