Function at 0x10002687
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
cmp byte [edx + 0x55], 0
mov edi, ecx
je 0x1000285a
mov eax, dword [edx + 0x28]
mov dword [esp + 4], edi
xor edi, edi
mov dword [esp + 0x34], edx
lea ecx, [eax - 1]
shl ecx, 7
add ecx, dword [edx + 0x24]
cmp eax, 1
mov edx, 0x101667c8
cmovae edi, ecx
mov ecx, edi
call sym.core::option::Option_LT_T_GT_::unwrap::hee714ec06e9182ab
mov esi, dword [edi + 0x58]
mov eax, dword [edi + 0x54]
cmp esi, 0xffff
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], esi
jbe 0x100026fa
lea ecx, [esp + 0x54]
push 0x15
pop edx
push 0x1e
push 0x101ea90c
call sym.std::io::error::Error::new::h0e7b50977095039f
pop eax
pop ecx
jmp 0x1000282c
mov edx, dword [esp + 0x34]
test esi, esi
je 0x10002847
cmp esi, 4
jb 0x10002afe
lea ecx, [esp + 0x10]
lea edx, [esp + 0x5c]
call sym.byteorder::io::ReadBytesExt::read_u16::h10611b05baa5d15d
cmp byte [esp + 0x10], 4
jne 0x1000272a
movzx ebx, word [esp + 0x12]
jmp 0x1000273a
mov ebx, dword [esp + 0x10]
cmp bl, 4
jne 0x10002bc0
shr ebx, 0x10
lea ecx, [esp + 0x10]
lea edx, [esp + 0x5c]
mov word [esp + 0x4e], bx
call sym.byteorder::io::ReadBytesExt::read_u16::h10611b05baa5d15d
cmp byte [esp + 0x10], 4
jne 0x1000275a
movzx eax, word [esp + 0x12]
jmp 0x10002769
mov eax, dword [esp + 0x10]
cmp al, 4
jne 0x10002bd1
shr eax, 0x10
cmp bx, 1
je 0x10002b11
cmp bx, 0x20
jb 0x100027b7
movzx ecx, ax
add esi, 0xfffffffc
push 0xffffffffffffff9e
pop eax
test eax, eax
je 0x10002794
cmp word [eax + str._home_lanbyshell_.cargo_registry_src_index.crates.io_6f17d22bba15001f_zip_0.6.6_src_write.rs], bx
lea eax, [eax + 2]
jne 0x10002782
jmp 0x100027b7
cmp esi, ecx
jb 0x10002be2
mov edx, dword [esp + 0x60]
mov esi, edx
sub esi, ecx
jb 0x10002e3b
add dword [esp + 0x5c], ecx
mov dword [esp + 0x60], esi
jmp 0x100026fa
lea ecx, [esp + 0x4e]
lea eax, [esp + 0x68]
mov dword [eax], ecx
mov dword [eax + 4], sym.core::fmt::num::imp::__LT_impl_u20_core..fmt..Display_u20_for_u20_u16_GT_::fmt::h5d23598120ac4641
push 2
pop ecx
lea edx, [esp + 0x7c]
mov dword [esp + 0x10], ecx
and dword [esp + 0x18], 0
mov dword [esp + 0x1c], 6
mov dword [esp + 0x20], 0x20
and dword [esp + 0x24], 0
lea esi, [esp + 0x70]
mov dword [esp + 0x28], 0xc
mov byte [esp + 0x2c], 3
mov dword [edx], 0x101ea8e0
mov dword [edx + 4], ecx
lea ecx, [esp + 0x10]
mov dword [edx + 0x10], ecx
xor ecx, ecx
inc ecx
mov dword [edx + 0x14], ecx
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, esi
call dbg.format_inner
lea ecx, [esp + 0x54]
mov edx, esi
call sym.std::io::error::Error::new::ha87d8db573bb8ef9
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
xor ebx, ebx
mov edx, dword [esp + 4]
mov dword [edx], ebx
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
jmp 0x10002af6
cmp byte [edx + 0x56], 0
je 0x10002bf5
and word [edx + 0x55], 0
mov edi, dword [esp + 4]
lea eax, [edx + 0x38]
sub esp, 4
mov ebx, edx
lea esi, [esp + 0x14]
mov dword [esp + 0x48], eax
mov edx, eax
mov ecx, esi
push 0
call sym.zip::write::GenericZipWriter_LT_W_GT_::switch_to::hd368cfc3016fac0b
pop eax
pop ecx
mov eax, dword [esi]
cmp eax, 4
jne 0x10002963
mov ecx, dword [ebx + 0x44]
mov eax, dword [ebx + 0x38]
mov dword [esp + 4], edi
mov edx, dword [ebx + 0x40]
mov esi, dword [ebx + 0x3c]
mov edi, dword [ebx + 0x50]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebx + 0x48]
cmp eax, 0x80000000
mov dword [esp + 0x3c], edx
mov dword [esp + 8], ecx
mov ecx, dword [ebx + 0x4c]
mov dword [ebx + 0x38], 0x80000001
mov dword [esp + 0xc], ecx
je 0x10002978
cmp eax, 0x80000001
je 0x10002e45
cmp edx, 0xb
mov dword [esp + 0x64], eax
jbe 0x10002e2e
mov al, byte [ebx + 7]
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x48], esi
mov byte [esi + 0xb], al
xor eax, eax
cmp edx, eax
je 0x100029b9
mov dword [esp + 8], eax
mov eax, edi
mov ebx, dword [esp + 8]
or eax, 3
mov edx, eax
and edx, 0xfffffffe
imul edx, eax
mov eax, ecx
shr ecx, 8
mov bl, byte [esi + ebx]
xor al, bl
mov byte [esp + 0x40], bl
movzx ebx, al
mov eax, 0xff
xor dh, byte [esp + 0x40]
xor ecx, dword [ebx*4 + 0x101ea92c]
mov ebx, ecx
and ebx, eax
add ebx, dword [esp + 0xc]
imul ebx, ebx, 0x8088405
inc ebx
mov esi, ebx
mov dword [esp + 0xc], ebx
mov ebx, edi
and edi, eax
mov eax, dword [esp + 8]
shr esi, 0x18
shr ebx, 8
xor edi, esi
mov esi, dword [esp + 0x48]
xor ebx, dword [edi*4 + 0x101ea92c]
mov byte [esi + eax], dh
mov edx, dword [esp + 0x3c]
inc eax
mov edi, ebx
jmp 0x100028e9
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [edi], eax
mov dword [edi + 8], edx
mov dword [edi + 4], ecx
jmp 0x10002af6
mov eax, esi
mov ecx, 0x80000001
mov esi, ebx
mov edx, eax
mov ebx, eax
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 + 0x3c]
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x38], 0x80000000
mov dword [esi + 0x3c], ebx
mov edx, dword [esp + 8]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x50], edi
mov edi, dword [esp + 4]
jmp 0x10002a27
mov edx, dword [esp + 0x38]
lea edi, [esp + 0x10]
mov ecx, edi
push dword [esp + 0x3c]
push esi
call sym.std::io::Write::write_all::h437b3aa55f7dd949
pop eax
pop ecx
cmp byte [edi], 4
jne 0x100029de
mov edi, dword [esp + 4]
mov ecx, dword [esp + 0x64]
jmp 0x100029ed
cmp byte [esp + 0x10], 4
mov edi, dword [esp + 4]
mov ecx, dword [esp + 0x64]
jne 0x100029f2
push 4
pop ebx
jmp 0x100029fe
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov edx, esi
call sym.__LT_alloc..raw_vec..RawVec_LT_T_C_A_GT__u20_as_u20_core..ops..drop..Drop_GT_::drop::h1e3cb15a61af7b6e
cmp bl, 4
jne 0x10002a62
mov esi, dword [esp + 0x34]
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 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 + 0x38]
mov dword [esi + 0x38], 0x80000000
mov dword [esi + 0x3c], eax
mov ecx, dword [esp + 0x44]
call sym.zip::write::GenericZipWriter_LT_W_GT_::get_plain::h84291ccb88f1bcd1
cmp byte [esi + 0x57], 0
mov edx, esi
je 0x10002a4b
xor eax, eax
mov dword [edi], 4
mov byte [edx + 0x54], al
mov byte [edx + 0x57], al
jmp 0x10002af6
mov edi, dword [edx + 0x28]
sub edi, 1
jae 0x10002a74
mov eax, dword [esp + 4]
mov dword [eax], 4
jmp 0x10002af6
mov eax, dword [esp + 0x38]
and dword [edi], 0
mov dword [edi + 4], ebx
mov dword [edi + 8], eax
jmp 0x10002af6
mov ebx, dword [edx + 0x24]
mov ecx, dword [edx + 4]
shl edi, 7
mov dword [esp + 8], eax
mov dword [esp + 0x34], edx
mov dword [ebx + edi + 0x6c], ecx
movsd xmm0, qword [edx + 0x18]
movsd qword [ebx + edi + 0x18], xmm0
mov ecx, dword [eax]
mov esi, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0xc], esi
sub esi, dword [edx + 0x10]
mov dword [esp + 0x40], ecx
sbb ecx, dword [edx + 0x14]
mov dword [ebx + edi + 0x10], esi
mov dword [ebx + edi + 0x14], ecx
mov ecx, dword [esp + 8]
mov eax, dword [ebx + edi + 0x20]
mov esi, dword [ebx + edi + 0x24]
mov edx, dword [ecx]
lea ecx, [esp + 0x10]
add eax, 0xe
adc esi, 0
push esi
push eax
push 0
push 0
call sym.std::io::impls::__LT_impl_u20_std..io..Seek_u20_for_u20__RF_mut_u20_S_GT_::seek::hb264bd1bb181b730
add esp, 0x10
xor eax, eax
lea ecx, [esp + 0x10]
cmp dword [ecx], eax
je 0x10002b24
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 4]
and dword [edi], 0
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x54]
push 0x27
pop edx
push 0x1c
push str.Incomplete_extra_data_headerExtra_data_exceeds_extra_field
jmp 0x100026ee
lea ecx, [esp + 0x54]
push 0x27
pop edx
push 0x22
push 0x101ea793
jmp 0x100026ee
mov ecx, dword [esp + 8]
lea eax, [ebx + edi + 0x6c]
lea esi, [esp + 0x10]
mov edx, dword [ecx]
mov ecx, esi
push dword [eax]
call sym.byteorder::io::WriteBytesExt::write_u32::h5b2ad3042a779712
pop eax
cmp byte [esi], 4
je 0x10002b4d
mov eax, dword [esp + 0x10]
cmp al, 4
jne 0x10002d50
lea esi, [ebx + edi + 0x18]
cmp byte [esi + 0x60], 0
je 0x10002d22
lea ecx, [ebx + edi + 0x20]
mov ebx, dword [esp + 8]
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
mov edx, dword [ebx]
add eax, dword [ecx + 0x20]
lea ecx, [esp + 0x10]
adc edi, 0
add eax, 0x22
adc edi, 0
push edi
push eax
push 0
push 0
call sym.std::io::impls::__LT_impl_u20_std..io..Seek_u20_for_u20__RF_mut_u20_S_GT_::seek::hb264bd1bb181b730
add esp, 0x10
xor eax, eax
lea ecx, [esp + 0x10]
cmp dword [ecx], eax
jne 0x10002ae1
mov edx, dword [ebx]
lea edi, [esp + 0x10]
mov ecx, edi
push dword [esi + 4]
push dword [esi]
call sym.byteorder::io::WriteBytesExt::write_u64::h3d09090dc6037f77
pop eax
pop ecx
cmp byte [edi], 4
mov edi, dword [esp + 4]
jne 0x10002d82
mov ebx, dword [esp + 0xc]
jmp 0x10002d92
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], eax
jmp 0x1000282c
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
jmp 0x1000282c
lea ecx, [esp + 0x54]
push 0x27
pop edx
push 0x23
push str.Extra_data_size_exceeds_extra_fieldExtra_data_header_ID__requires_crate_feature__unreserved_
jmp 0x100026ee
lea ebx, [edx + 0x38]
mov ecx, ebx
call sym.zip::write::GenericZipWriter_LT_W_GT_::get_plain::h84291ccb88f1bcd1
mov edx, dword [eax]
lea esi, [esp + 0x10]
mov dword [esp + 8], eax
mov ecx, esi
push dword [edi + 0x58]
push dword [edi + 0x54]
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 [esi], 4
je 0x10002c29
mov eax, dword [esp + 0x10]
cmp al, 4
jne 0x10002d59
mov ecx, dword [edi + 0x30]
mov esi, dword [edi + 0x34]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], ebx
add ecx, dword [edi + 0x58]
adc esi, 0
mov dword [eax + 0x10], ecx
mov dword [esp + 0x3c], ecx
mov dword [eax + 0x14], esi
mov dword [edi + 0x30], ecx
mov dword [edi + 0x34], esi
mov ecx, dword [edi + 0x58]
mov al, byte [edi + 0x78]
mov ebx, dword [edi + 0x24]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 8]
mov byte [esp + 0xc], al
mov eax, dword [edi + 0x20]
mov edx, dword [ecx]
add eax, 0x1c
lea ecx, [esp + 0x10]
adc ebx, 0
push ebx
push eax
push 0
push 0
call sym.std::io::impls::__LT_impl_u20_std..io..Seek_u20_for_u20__RF_mut_u20_S_GT_::seek::hb264bd1bb181b730
add esp, 0x10
xor ebx, ebx
lea eax, [esp + 0x10]
cmp dword [eax], ebx
jne 0x10002d15
mov ecx, dword [esp + 0x40]
cmp byte [esp + 0xc], 0
mov dword [esp + 0x44], esi
lea esi, [esp + 0x10]
lea eax, [ecx + 0x14]
cmove eax, ecx
mov ecx, dword [esp + 8]
mov edx, dword [ecx]
mov ecx, esi
push eax
call sym.byteorder::io::WriteBytesExt::write_u16::h0324f8e9a606154e
pop eax
cmp byte [esi], 4
je 0x10002cc4
mov eax, dword [esp + 0x10]
cmp al, 4
jne 0x10002e25
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
mov edx, dword [eax]
push dword [esp + 0x44]
push dword [esp + 0x40]
push 0
push 0
call sym.std::io::impls::__LT_impl_u20_std..io..Seek_u20_for_u20__RF_mut_u20_S_GT_::seek::hb264bd1bb181b730
add esp, 0x10
xor ebx, ebx
lea eax, [esp + 0x10]
cmp dword [eax], ebx
jne 0x10002d15
movzx eax, word [edi + 0x6a]
mov edx, dword [esp + 0x48]
lea esi, [esp + 0x10]
mov ecx, esi
push eax
push dword [edi + 0x68]
call sym.zip::write::GenericZipWriter_LT_W_GT_::switch_to::hd368cfc3016fac0b
pop eax
pop ecx
mov ebx, dword [esi]
cmp ebx, 4
jne 0x10002d15
mov edx, dword [esp + 0x34]
jmp 0x10002851
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
jmp 0x10002836
cmp dword [esi - 4], 0
mov edi, dword [esp + 4]
je 0x10002d62
lea esi, [esp + 0x80]
push 0x27
pop edx
mov ecx, esi
push 0x22
push 0x101666c3
call sym.std::io::error::Error::new::h4cb7af395f3022af
pop eax
pop ecx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
jmp 0x10002aed
mov ecx, dword [esp + 0x14]
jmp 0x10002ae9
mov ecx, dword [esp + 0x14]
jmp 0x10002834
mov eax, dword [esp + 8]
lea ebx, [esp + 0x10]
mov ecx, ebx
mov edx, dword [eax]
push dword [esi - 8]
call sym.byteorder::io::WriteBytesExt::write_u32::h5b2ad3042a779712
pop eax
cmp byte [ebx], 4
jne 0x10002dab
mov ebx, dword [esp + 0xc]
jmp 0x10002db7
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
cmp al, 4
jne 0x10002e13
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
mov edx, dword [eax]
push dword [esi - 4]
push dword [esi - 8]
call sym.byteorder::io::WriteBytesExt::write_u64::h3d09090dc6037f77
pop eax
pop ecx
jmp 0x10002dc9
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
cmp al, 4
jne 0x10002e13
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
mov edx, dword [eax]
push dword [esi]
call sym.byteorder::io::WriteBytesExt::write_u32::h5b2ad3042a779712
pop eax
lea eax, [esp + 0x10]
cmp byte [eax], 4
je 0x10002dda
mov eax, dword [esp + 0x10]
cmp al, 4
jne 0x10002e13
mov eax, dword [esp + 8]
lea esi, [esp + 0x10]
mov ecx, esi
mov edx, dword [eax]
push dword [esp + 0x40]
push ebx
push 0
push 0
call sym.std::io::impls::__LT_impl_u20_std..io..Seek_u20_for_u20__RF_mut_u20_S_GT_::seek::hb264bd1bb181b730
add esp, 0x10
xor eax, eax
cmp dword [esi], eax
je 0x10002e1c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
and dword [edi], 0
mov dword [edi + 8], ecx
mov dword [edi + 4], eax
jmp 0x10002af6
mov ecx, dword [esp + 0x14]
jmp 0x10002aed
mov edx, dword [esp + 0x34]
jmp 0x10002a38
mov ecx, dword [esp + 0x14]
jmp 0x10002836
push 0xb
pop ecx
push 0x101668a0
call dbg.panic_bounds_check
push 0x101ea874
call dbg.slice_start_index_len_fail
push 0x28
pop edx
mov ecx, 0x101c43f6
push 0x101667b8
call dbg.panic