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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
call 0x1005ad30
pop eax
mov dword [esp + 0x54], ecx
mov dword [esp + 8], edx
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 0x40]
cmp eax, 1
je 0x1005add7
cmp eax, 2
jne 0x1005af3e
lea eax, [edx + 0x98]
mov dword [esp + 0xc], eax
movzx eax, byte [edx + 0x48]
test eax, eax
je 0x1005ae2f
cmp eax, 2
jne 0x1005ae7a
cmp byte [edx + 0x49], 0
jne 0x1005ae5b
mov edx, dword [esp + 0xc]
lea ebx, [esp + 0x20]
mov ecx, ebx
push 0x2000
push dword [ebp + 8]
call sym.__ZN93__LT_hyper..proto..h1..io..Buffered_LT_T_C_B_GT__u20_as_u20_hyper..proto..h1..io..MemRead_GT_8read_mem17h7651a2679ea09e7
pop eax
pop ecx
cmp dword [ebx], 0
jne 0x1005ae53
cmp dword [esp + 0x24], 0
je 0x1005aefa
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 8]
test edx, edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], esi
sete byte [edi + 0x49]
jmp 0x1005af0f
mov eax, dword [edx + 0x58]
mov ecx, dword [edx + 0x5c]
add eax, 0xfffffffd
adc ecx, 0xffffffff
xor edx, edx
push 3
pop esi
cmp esi, eax
sbb edx, ecx
jb 0x1005ae0e
test eax, eax
jne 0x1005ae0e
mov eax, dword [esp + 8]
mov edx, 0x101bae16
lea ecx, [eax + 0x98]
lea eax, [0x101bae2f]
push eax
call fcn.100e5b8b
pop eax
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x54]
and dword [edx + 0x44], 0
mov dword [edx + 0x40], 2
push dword [ebp + 8]
call sym.hyper::proto::h1::conn::Conn_LT_I_C_B_C_T_GT_::poll_read_body::hb166a8f64c9aa4d6
pop eax
jmp 0x1005b0b0
mov eax, dword [edx + 0x50]
mov ecx, dword [edx + 0x54]
or ecx, eax
je 0x1005ae5b
mov edx, dword [esp + 0xc]
lea ebx, [esp + 0x20]
mov ecx, ebx
push eax
push dword [ebp + 8]
call sym.__ZN93__LT_hyper..proto..h1..io..Buffered_LT_T_C_B_GT__u20_as_u20_hyper..proto..h1..io..MemRead_GT_8read_mem17h7651a2679ea09e7
pop eax
pop ecx
cmp dword [ebx], 0
je 0x1005ae90
xor esi, esi
inc esi
jmp 0x1005af72
mov dword [esp + 0x44], sym.bytes::bytes::static_clone::h25e1e6fc6501a2c7
mov dword [esp + 0x48], str._rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrarycore_srccharmethods.rs_
and dword [esp + 0x4c], 0
and dword [esp + 0x50], 0
jmp 0x1005af89
movzx eax, byte [edx + 0x49]
and dword [esp + 0x60], 0
mov eax, dword [eax*4 + 0x1005b6ec]
add eax, dword [esp + 0x3c]
jmp eax
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
test edx, edx
je 0x1005aecd
mov dword [esp + 0x10], edx
mov edx, dword [esp + 8]
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
mov eax, dword [edx + 0x50]
mov edx, dword [edx + 0x54]
mov dword [esp + 0x1c], esi
cmp eax, ecx
mov esi, edx
sbb esi, 0
jae 0x1005aedc
xor eax, eax
xor edx, edx
jmp 0x1005af18
and dword [esp + 0x44], 0
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
jmp 0x1005af0f
test ecx, ecx
jne 0x1005af13
lea ebx, [esp + 0x48]
mov ecx, ebx
call sym.std::io::error::Error::new::h2a884143d68fde7a
and dword [ebx - 4], 0
lea ecx, [esp + 0x10]
call sym.core::ptr::drop_in_place_LT_bytes..bytes..Bytes_GT_::h2d5fc8249e42a3cf
jmp 0x1005af0f
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
and dword [esp + 0x44], 0
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], eax
xor esi, esi
jmp 0x1005af72
sub eax, ecx
sbb edx, 0
mov ecx, dword [esp + 8]
movsd xmm0, qword [esp + 0x10]
movsd xmm1, qword [esp + 0x18]
mov dword [ecx + 0x54], edx
mov dword [ecx + 0x50], eax
mov edx, ecx
movsd qword [esp + 0x4c], xmm1
movsd qword [esp + 0x44], xmm0
jmp 0x1005af89
add edx, 0x40
lea eax, [esp + 0x40]
lea ecx, [esp + 0x20]
mov dword [eax], edx
xor edx, edx
mov dword [ecx], 0x101bae78
mov dword [eax + 4], sym.__ZN68__LT_hyper..proto..h1..conn..Reading_u20_as_u20_core..fmt..Debug_GT_3fmt17h998065cd81406a68E.785
inc edx
mov dword [ecx + 4], edx
and dword [ecx + 0x10], 0
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov edx, 0x101bae80
call dbg.panic_fmt
mov edx, dword [esp + 8]
test esi, esi
je 0x1005af89
mov eax, dword [esp + 0x54]
mov dword [eax], 2
jmp 0x1005b0b0
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
lea esi, [edx + 0x48]
test ebx, ebx
je 0x1005afc8
mov eax, dword [esp + 0x50]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x2c], eax
movzx eax, byte [esi]
test eax, eax
je 0x1005afdd
cmp eax, 1
jne 0x1005b00e
cmp byte [edx + 0x49], 9
jne 0x1005afe5
jmp 0x1005b014
mov dword [esp + 0x3c], ecx
mov dword [esp + 0xc], ebx
xor ecx, ecx
xor ebx, ebx
inc ebx
push 4
pop eax
jmp 0x1005b06a
mov eax, dword [edx + 0x50]
or eax, dword [edx + 0x54]
je 0x1005b014
test ecx, ecx
je 0x1005b036
movsd xmm0, qword [esp + 0x20]
mov eax, dword [esp + 0x54]
movsd xmm1, qword [esp + 0x28]
movsd qword [eax + 0xc], xmm1
movsd qword [eax + 4], xmm0
mov dword [eax], 1
jmp 0x1005b0b0
cmp byte [edx + 0x49], 0
je 0x1005afe5
xor eax, eax
test ecx, ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x58], 0
mov dword [esp + 0x3c], ecx
setne al
mov dword [esp + 0x5c], eax
push 3
pop eax
jne 0x1005b062
jmp 0x1005b051
mov dword [esp + 0xc], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x5c], 0
push 4
pop eax
mov dword [esp + 0x58], 0
lea ecx, [esp + 0x20]
mov ebx, eax
call sym.core::ptr::drop_in_place_LT_bytes..bytes..Bytes_GT_::h2d5fc8249e42a3cf
mov edx, dword [esp + 8]
mov eax, ebx
mov ebx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
movsd xmm0, qword [esp + 0x78]
movsd xmm1, qword [esp + 0x80]
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm0
mov dword [edx + 0x44], ecx
mov dword [edx + 0x40], eax
mov ecx, edx
mov edx, dword [ebp + 8]
call sym.hyper::proto::h1::conn::Conn_LT_I_C_B_C_T_GT_::try_keep_alive::hc8c0d67e7881d64a
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x74]
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov dword [eax + 0xc], esi
mov dword [eax + 8], edi
mov dword [eax + 0x10], edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret