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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
call 0x10001bde
pop eax
mov ebx, edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x30], eax
lea eax, [edx + 0x38]
mov dword [ebp - 0x2c], eax
test edi, edi
je 0x10001da5
cmp byte [ebx + 0x54], 0
je 0x10001c16
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
cmp eax, 0x80000001
jne 0x10001c61
lea ecx, [ebp - 0x14]
push 0xb
pop edx
push 0x1c
push str.ZipWriter_was_already_closedAES_compression_is_not_supported_for_writingUnsupported_compression
jmp 0x10001c23
lea ecx, [ebp - 0x14]
push 0x27
pop edx
push 0x18
push str.No_file_has_been_started
call sym.std::io::error::Error::new::h4cb7af395f3022af
pop eax
pop ecx
movzx eax, byte [ebp - 0x14]
cmp eax, 4
jne 0x10001c47
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10001dbb
cmp ecx, edi
jbe 0x10001cad
jmp 0x10001dd0
mov eax, dword [eax*4 + 0x10001ddc]
add eax, dword [ebp - 0x30]
jmp eax
cmp byte [ebx + 0x55], 0
je 0x10001ccf
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x18], edi
mov edi, ebx
mov ebx, esi
mov edx, 0x10166810
lea esi, [eax - 1]
shl esi, 7
add esi, dword [edi + 0x24]
cmp eax, 1
mov eax, 0
cmovb esi, eax
mov ecx, esi
call sym.core::option::Option_LT_T_GT_::unwrap::hee714ec06e9182ab
mov eax, dword [ebp - 0x18]
add esi, 0x50
mov ecx, esi
mov esi, ebx
mov edx, esi
add eax, ebx
mov ebx, edi
mov edi, dword [ebp - 0x18]
push eax
call fcn.100e5b8b
pop eax
mov ecx, edi
sub edi, ecx
add esi, ecx
jmp 0x10001bed
cmp eax, 0x80000000
mov dword [ebp - 0x20], esi
jne 0x10001cf6
mov edx, dword [ebx + 0x3c]
lea ecx, [ebp - 0x28]
push edi
push esi
call sym.__LT_std..io..cursor..Cursor_LT_alloc..vec..Vec_LT_u8_C_A_GT__GT__u20_as_u20_std..io..Write_GT_::write::hcb09f6403826464d
pop eax
pop ecx
cmp byte [ebp - 0x28], 4
jne 0x10001d61
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
jmp 0x10001d0e
mov ecx, dword [ebp - 0x2c]
lea eax, [esi + edi]
mov edx, esi
push eax
call fcn.100e5b8b
pop eax
mov dword [ebp - 0x24], edi
mov byte [ebp - 0x28], 4
mov ecx, edi
mov edx, esi
push 0x101667f0
push edi
call sym.__ZN106__LT_core..ops..range..Range_LT_usize_GT__u20_as_u20_core..slice..index..SliceIndex_LT__u5b_T_u5d__GT__GT_5index17h1543
pop ecx
pop ecx
mov esi, edx
mov ecx, ebx
mov edx, eax
push esi
call sym.crc32fast::Hasher::update::hf6c0b6e83777d726
pop eax
mov eax, dword [ebx + 0x1c]
add dword [ebx + 0x18], esi
adc eax, 0
mov dword [ebx + 0x1c], eax
je 0x10001d61
mov eax, dword [ebx + 0x28]
mov edx, 0x10166800
lea esi, [eax - 1]
shl esi, 7
add esi, dword [ebx + 0x24]
cmp eax, 1
mov eax, 0
cmovb esi, eax
mov ecx, esi
call sym.core::option::Option_LT_T_GT_::unwrap::hee714ec06e9182ab
cmp byte [esi + 0x78], 0
je 0x10001d75
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 0x20]
jmp 0x10001c2a
mov eax, dword [ebx + 0x3c]
mov esi, dword [ebx + 0x38]
mov dword [ebx + 0x38], 0x80000001
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], eax
push 0x27
pop edx
push 0x22
push 0x101666c3
call sym.std::io::error::Error::new::h4cb7af395f3022af
pop eax
pop ecx
mov edx, dword [ebp - 0x18]
mov ecx, esi
call sym.__ZN4core3ptr125drop_in_place_LT_zip..write..GenericZipWriter_LT__RF_mut_u20_std..io..cursor..Cursor_LT_alloc..vec..Vec_LT_u8_
jmp 0x10001d6d
mov eax, dword [ebp - 0x1c]
mov byte [eax], 4
jmp 0x10001dc8
mov eax, dword [ebp - 0x1c]
mov byte [eax], 2
mov dword [eax + 4], 0x101c1b20
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, edi
push 0x101bebdc
call dbg.slice_start_index_len_fail
iretd