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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe0
mov ebx, edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x28], ecx
cmp dword [edx + 8], 0
je 0x10001ff7
mov edi, dword [edx + 0xc]
jmp 0x10002003
mov edi, 0x1a4
mov dword [edx + 8], 1
or edi, 0x8000
mov dword [edx + 0xc], edi
mov eax, dword [edx]
mov esi, dword [edx + 0x28]
mov ecx, dword [edx + 0x24]
movsd xmm0, qword [edx + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x24], esi
lea esi, [esp + 0x50]
mov dword [esp + 0x30], ecx
movsd qword [esp + 0xd0], xmm0
mov ecx, esi
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0x1c]
mov dword [esp + 0xd8], eax
movzx eax, word [edx + 0x20]
mov word [esp + 0x1a], ax
movzx eax, word [edx + 0x22]
mov dword [esp + 0x38], eax
mov al, byte [edx + 0x2c]
mov edx, ebx
mov byte [esp + 7], al
call sym.zip::write::__LT_impl_u20_zip..write..zip_writer..ZipWriter_LT_W_GT__GT_::finish_file::hef112217c8cd2e8d
mov eax, dword [esi]
cmp eax, 4
jne 0x10002294
mov esi, dword [ebp + 0xc]
lea ecx, [ebx + 0x38]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ecx
call sym.zip::write::GenericZipWriter_LT_W_GT_::get_plain::h84291ccb88f1bcd1
mov ecx, dword [eax]
mov dword [esp + 0x48], eax
shl edi, 0x10
mov ebx, esi
mov eax, dword [ecx]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 4]
mov ecx, esi
mov dword [esp + 0x40], eax
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::allocate_in::h24ca61b25c7d0029
mov esi, edx
mov dword [esp + 0x3c], eax
push ebx
push dword [ebp + 8]
push edx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x20]
mov word [esp + 0xc9], 0x2e03
mov edx, dword [esp + 0x44]
mov cl, byte [esp + 7]
mov byte [esp + 0xc6], al
movzx eax, word [esp + 0x1a]
mov byte [esp + 0xc7], 0
mov word [esp + 0xb8], ax
mov eax, dword [esp + 0x38]
mov word [esp + 0xba], ax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x3c]
and dword [esp + 0xbc], 0
and dword [esp + 0x64], 0
and dword [esp + 0x60], 0
and dword [esp + 0x6c], 0
and dword [esp + 0x68], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x90], ebx
and dword [esp + 0x94], 0
xor eax, eax
lea ebx, [esp + 8]
inc eax
mov dword [esp + 0x98], eax
and dword [esp + 0x9c], 0
and dword [esp + 0xa0], 0
mov dword [esp + 0xa4], eax
and dword [esp + 0xa8], 0
and dword [esp + 0xac], 0
mov dword [esp + 0xb0], eax
and dword [esp + 0xb4], 0
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], esi
and dword [esp + 0x80], 0
and dword [esp + 0x84], 0
and dword [esp + 0x78], 0
and dword [esp + 0x7c], 0
mov dword [esp + 0xc0], edi
mov edi, dword [esp + 0x48]
mov byte [esp + 0xc8], cl
mov byte [esp + 0xc5], 2
mov ecx, ebx
mov edx, dword [edi]
push 0x4034b50
call sym.byteorder::io::WriteBytesExt::write_u32::h5b2ad3042a779712
pop eax
cmp byte [ebx], 4
je 0x100021ff
mov ebx, dword [esp + 8]
cmp bl, 4
jne 0x100025da
mov edx, dword [edi]
test esi, esi
push 0x2d
pop eax
push 0x14
pop ecx
cmove eax, ecx
lea ebx, [esp + 8]
mov ecx, ebx
push eax
call sym.byteorder::io::WriteBytesExt::write_u16::h0324f8e9a606154e
pop eax
cmp byte [ebx], 4
je 0x1000222b
mov ebx, dword [esp + 8]
cmp bl, 4
jne 0x100025da
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 0xc]
call sym.core::str::__LT_impl_u20_str_GT_::is_ascii::h10f9b07ac278f27a
movzx esi, byte [esp + 0x20]
xor al, 1
mov edx, dword [edi]
lea ebx, [esp + 8]
movzx eax, al
mov ecx, ebx
shl eax, 0xb
or esi, eax
push esi
call sym.byteorder::io::WriteBytesExt::write_u16::h0324f8e9a606154e
pop eax
cmp byte [ebx], 4
je 0x10002267
mov ebx, dword [esp + 8]
cmp bl, 4
jne 0x100025da
xor eax, eax
cmp word [esp + 0x1a], 0
mov esi, dword [esp + 0x38]
mov edx, dword [edi]
lea ebx, [esp + 8]
mov ecx, ebx
cmove esi, eax
push esi
call sym.byteorder::io::WriteBytesExt::write_u16::h0324f8e9a606154e
pop eax
cmp byte [ebx], 4
jne 0x100022a1
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
jmp 0x100022b6
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
jmp 0x100025e9
mov ebx, dword [esp + 8]
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
cmp bl, 4
jne 0x100025da
mov eax, edx
mov ecx, edx
lea ebx, [esp + 8]
shr eax, 0x11
shr ecx, 3
and eax, 0x7f
and ecx, 0x1fe0
or ecx, eax
mov eax, edx
mov edx, dword [edi]
shl eax, 0xb
or eax, ecx
mov ecx, ebx
push eax
call sym.byteorder::io::WriteBytesExt::write_u16::h0324f8e9a606154e
pop eax
cmp byte [ebx], 4
je 0x100022f3
mov ebx, dword [esp + 8]
cmp bl, 4
jne 0x100025da
mov eax, dword [esp + 0x24]
mov ecx, esi
mov edx, dword [edi]
lea ebx, [esp + 8]
shr ecx, 0xb
and ecx, 0x1fe0
shld eax, esi, 8
shl esi, 9
movzx eax, al
add esi, 0xffff8800
or ecx, eax
or esi, ecx
mov ecx, ebx
push esi
call sym.byteorder::io::WriteBytesExt::write_u16::h0324f8e9a606154e
pop eax
cmp byte [ebx], 4
je 0x10002337
mov ebx, dword [esp + 8]
cmp bl, 4
jne 0x100025da
mov edx, dword [edi]
lea ebx, [esp + 8]
mov ecx, ebx
push 0
call sym.byteorder::io::WriteBytesExt::write_u32::h5b2ad3042a779712
pop eax
cmp byte [ebx], 4
je 0x10002359
mov ebx, dword [esp + 8]
cmp bl, 4
jne 0x100025da
cmp byte [esp + 7], 0
je 0x1000238e
mov edx, dword [edi]
lea ebx, [esp + 8]
mov ecx, ebx
push 0xffffffffffffffff
call sym.byteorder::io::WriteBytesExt::write_u32::h5b2ad3042a779712
pop eax
cmp byte [ebx], 4
je 0x10002382
mov ebx, dword [esp + 8]
cmp bl, 4
jne 0x100025da
mov edx, dword [edi]
lea ebx, [esp + 8]
mov ecx, ebx
push 0xffffffffffffffff
jmp 0x100023ba
mov edx, dword [edi]
lea ebx, [esp + 8]
mov ecx, ebx
push 0
call sym.byteorder::io::WriteBytesExt::write_u32::h5b2ad3042a779712
pop eax
cmp byte [ebx], 4
je 0x100023b0
mov ebx, dword [esp + 8]
cmp bl, 4
jne 0x100025da
mov edx, dword [edi]
lea ebx, [esp + 8]
mov ecx, ebx
push 0
call sym.byteorder::io::WriteBytesExt::write_u32::h5b2ad3042a779712
pop eax
cmp byte [ebx], 4
je 0x100023d2
mov ebx, dword [esp + 8]
cmp bl, 4
jne 0x100025da
mov edx, dword [edi]
lea ebx, [esp + 8]
mov ecx, ebx
push dword [ebp + 0xc]
call sym.byteorder::io::WriteBytesExt::write_u16::h0324f8e9a606154e
pop eax
cmp byte [ebx], 4
je 0x100023f5
mov ebx, dword [esp + 8]
cmp bl, 4
jne 0x100025da
xor eax, eax
cmp byte [esp + 7], 0
mov edx, dword [edi]
push 0x14
pop esi
cmove esi, eax
lea ebx, [esp + 8]
mov ecx, ebx
push esi
call sym.byteorder::io::WriteBytesExt::write_u16::h0324f8e9a606154e
pop eax
cmp byte [ebx], 4
je 0x10002423
mov ebx, dword [esp + 8]
cmp bl, 4
jne 0x100025da
mov edx, dword [edi]
lea ebx, [esp + 8]
mov ecx, ebx
push dword [ebp + 0xc]
push dword [esp + 0x20]
call sym.std::io::impls::__LT_impl_u20_std..io..Write_u20_for_u20__RF_mut_u20_W_GT_::write_all::he40ba47dcebb9cac
pop eax
pop ecx
cmp byte [ebx], 4
je 0x1000244b
mov ebx, dword [esp + 8]
cmp bl, 4
jne 0x100025da
cmp byte [esp + 7], 0
je 0x100024ec
mov edx, dword [edi]
mov esi, edi
lea edi, [esp + 8]
mov ecx, edi
push 1
call sym.byteorder::io::WriteBytesExt::write_u16::h0324f8e9a606154e
pop eax
cmp byte [edi], 4
je 0x1000247a
mov ebx, dword [esp + 8]
cmp bl, 4
jne 0x100025da
mov edx, dword [esi]
lea edi, [esp + 8]
mov ecx, edi
push 0x10
call sym.byteorder::io::WriteBytesExt::write_u16::h0324f8e9a606154e
pop eax
cmp byte [edi], 4
je 0x1000249c
mov ebx, dword [esp + 8]
cmp bl, 4
jne 0x100025da
mov edx, dword [esi]
lea edi, [esp + 8]
mov ecx, edi
push 0
push 0
call sym.byteorder::io::WriteBytesExt::write_u64::h3d09090dc6037f77
pop eax
pop ecx
cmp byte [edi], 4
je 0x100024c1
mov ebx, dword [esp + 8]
cmp bl, 4
jne 0x100025da
mov edx, dword [esi]
lea edi, [esp + 8]
mov ecx, edi
push 0
push 0
call sym.byteorder::io::WriteBytesExt::write_u64::h3d09090dc6037f77
pop eax
pop ecx
cmp byte [edi], 4
jne 0x100024dd
mov edi, esi
jmp 0x100024ec
mov ebx, dword [esp + 8]
mov edi, esi
cmp bl, 4
jne 0x100025da
mov eax, dword [edi]
mov esi, dword [esp + 0x2c]
lea ebx, [esp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
and dword [esi + 0x18], 0
and dword [esi + 0x1c], 0
mov dword [esp + 0x80], ecx
mov ecx, ebx
mov dword [esp + 0x84], eax
call sym.crc32fast::Hasher::new::h1d3ef3ea4079dc24
movsd xmm0, qword [ebx]
movsd xmm1, qword [ebx + 8]
mov edx, esi
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm0
mov edi, dword [esi + 0x28]
cmp edi, dword [esi + 0x20]
jne 0x1000254b
lea ecx, [edx + 0x20]
mov esi, edx
mov edx, edi
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::reserve_for_push::ha24f9a51e522ba48
mov edi, dword [esi + 0x28]
mov edx, esi
shl edi, 7
mov eax, dword [esp + 0x20]
add edi, dword [edx + 0x24]
push 0x20
pop ecx
lea esi, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
inc dword [edx + 0x28]
test eax, eax
je 0x10002637
mov edi, dword [edx + 0x3c]
mov ecx, dword [edx + 0x38]
mov dword [edx + 0x38], 0x80000001
mov edx, edi
call sym.zip::write::GenericZipWriter_LT_W_GT_::unwrap::h88fe0bd012e86ac4
lea esi, [esp + 0x50]
movsd xmm0, qword [esp + 0xd0]
mov eax, dword [esp + 0xd8]
and dword [esp + 0xc], 0
and dword [esp + 8], 0
and dword [esp + 0x10], 0
mov dword [esi + 0xc], edi
and dword [esi], 0
mov dword [esi + 4], 1
and dword [esi + 8], 0
movsd qword [esi + 0x10], xmm0
mov dword [esi + 0x18], eax
push 0xc
pop eax
xor ecx, ecx
test cl, 1
jne 0x100025fd
mov edi, eax
mov ecx, esi
mov edx, ebx
add edi, ebx
push edi
call fcn.100e5b8b
pop eax
xor eax, eax
mov cl, 1
mov ebx, edi
jmp 0x100025be
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x50]
call sym.core::ptr::drop_in_place_LT_zip..types..ZipFileData_GT_::hb9406753246d3fbd
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
mov dword [ecx + 4], ebx
mov dword [ecx + 8], esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x38]
mov edx, dword [eax + 0x3c]
call sym.__ZN4core3ptr125drop_in_place_LT_zip..write..GenericZipWriter_LT__RF_mut_u20_std..io..cursor..Cursor_LT_alloc..vec..Vec_LT_u8_
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x34]
movsd xmm0, qword [esp + 0x60]
movsd xmm2, qword [esp + 0x50]
movsd xmm1, qword [esp + 0x58]
mov dword [ecx + 0x18], eax
movsd qword [ecx + 0x10], xmm0
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm2
mov edi, dword [ebp + 0x10]
mov edx, dword [esp + 0x34]
lea esi, [esp + 0x50]
mov ecx, esi
movzx eax, word [edi + 0x22]
push eax
push dword [edi + 0x20]
call sym.zip::write::GenericZipWriter_LT_W_GT_::switch_to::hd368cfc3016fac0b
pop eax
pop ecx
mov eax, dword [esi]
cmp eax, 4
jne 0x1000266e
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov byte [eax + 0x54], 1
mov dword [ecx], 4
jmp 0x100025f5
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [esi], eax
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
jmp 0x100025f5