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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x308
lea eax, [ecx + 0x10]
mov esi, ecx
mov bl, 1
mov dword [esp + 0x1c], edx
mov dword [esp + 4], ecx
mov dword [esp + 0x10], eax
mov ecx, esi
mov edx, 1
call sym.h2::proto::streams::streams::StreamRef_LT_B_GT_::reserve_capacity::hcf09ecf9111f277f
mov edi, dword [esi]
lea eax, [edi + 8]
mov dword [esp + 8], eax
xor eax, eax
lock cmpxchg byte [edi + 8], bl
jne 0x4c11ef
mov eax, dword [0x5e1180]
test eax, 0x7fffffff
jne 0x4c1208
xor ecx, ecx
movzx eax, byte [edi + 9]
test al, al
jne 0x4c198e
mov eax, dword [esp + 4]
mov dword [esp + 0xc], ecx
mov edx, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x168], edx
mov dword [esp + 0x16c], ecx
cmp dword [edi + 0x198], edx
jbe 0x4c1925
mov eax, dword [edi + 0x194]
imul edx, edx, 0xf8
mov esi, dword [eax + edx]
xor esi, 3
or esi, dword [eax + edx + 4]
je 0x4c1925
add eax, edx
cmp dword [eax + 0xd4], ecx
jne 0x4c1925
mov ebx, dword [eax + 0x3c]
mov ecx, dword [edi + 0x14c]
mov edx, 0
mov esi, dword [eax + 0xe0]
test ebx, ebx
cmovle ebx, edx
cmp ebx, ecx
cmovae ebx, ecx
cmp byte [esp + 0xc], 0
jne 0x4c0ff9
mov eax, dword [0x5e1180]
test eax, 0x7fffffff
jne 0x4c1223
mov ecx, dword [esp + 8]
xor eax, eax
xchg byte [ecx], al
cmp al, 2
jne 0x4c100c
push ecx
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle]
cmp ebx, esi
mov edi, dword [esp + 4]
mov ebx, dword [esp + 0x1c]
lea esi, [esp + 0x88]
jbe 0x4c1050
lea ecx, [esp + 0x1b8]
mov edx, edi
push ebx
call sym.h2::proto::streams::streams::StreamRef_LT_B_GT_::poll_reset::h6275e82a48d181b9
add esp, 4
movzx eax, byte [esp + 0x1b8]
cmp eax, 6
je 0x4c1082
jmp 0x4c12de
mov ecx, esi
mov edx, edi
push ebx
call sym.h2::share::SendStream_LT_B_GT_::poll_capacity::h4b0969f565ed9372
add esp, 4
movzx ecx, byte [esp + 0x88]
cmp ecx, 7
je 0x4c127b
mov eax, dword [esp + 0x8c]
cmp ecx, 5
jne 0x4c1239
test eax, eax
je 0x4c1050
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x2c0]
push ebx
call sym.__LT_reqwest..async_impl..body..Body_u20_as_u20_http_body..Body_GT_::poll_frame::h512c4e252d4044b7
add esp, 4
mov ebx, dword [esp + 0x2c0]
mov edi, dword [esp + 0x2c4]
mov eax, ebx
xor eax, 6
or eax, edi
je 0x4c127b
mov ecx, dword [esp + 0x2c8]
mov eax, ebx
and al, 7
cmp al, 4
je 0x4c1384
mov eax, ebx
and eax, 7
cmp eax, 5
je 0x4c12fb
lea edx, [esp + 0x2cc]
mov dword [esp + 0x280], ebx
mov dword [esp + 0x284], edi
mov dword [esp + 0x288], ecx
lea ecx, [esp + 0x288]
movsd xmm1, qword [edx + 0x20]
movsd xmm2, qword [edx + 0x18]
mov eax, dword [edx + 0x30]
movsd xmm0, qword [edx + 0x28]
movsd qword [ecx + 0x24], xmm1
movsd xmm1, qword [edx + 0x10]
movsd qword [ecx + 0x1c], xmm2
movsd xmm2, qword [edx]
mov dword [ecx + 0x34], eax
mov eax, ebx
movsd qword [ecx + 0x2c], xmm0
xor eax, 3
or eax, edi
movsd qword [ecx + 0x14], xmm1
movsd xmm1, qword [edx + 8]
movsd qword [ecx + 4], xmm2
movsd qword [ecx + 0xc], xmm1
jne 0x4c141b
mov eax, dword [esp + 0x10]
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
cmp dword [eax], 0
movsd qword [esp + 0x170], xmm1
movsd qword [esp + 0x168], xmm0
je 0x4c1174
mov esi, dword [esp + 4]
cmp dword [esi + 0x18], 0
sete bl
jmp 0x4c1188
mov esi, dword [esp + 4]
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 0x10]
push dword [esi + 0x14]
call eax
add esp, 4
mov ebx, eax
movsd xmm0, qword [esp + 0x168]
movsd xmm1, qword [esp + 0x170]
lea eax, [esp + 0x26c]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov dword [esp + 0x268], 0
movzx eax, bl
lea ecx, [esp + 0x1b8]
mov edx, esi
push eax
lea eax, [esp + 0x26c]
push eax
call sym.h2::share::SendStream_LT_B_GT_::send_data::h03020d382baab9ae
add esp, 8
cmp byte [esp + 0x1b8], 5
jne 0x4c1334
test bl, bl
jne 0x4c14af
mov bl, 1
jmp 0x4c0f32
mov ecx, dword [esp + 8]
call sym.std::sys::sync::mutex::futex::Mutex::lock_contended::h7bd09c01afe60157
mov eax, dword [0x5e1180]
test eax, 0x7fffffff
je 0x4c0f64
call sym.std::panicking::panic_count::is_zero_slow_path::h8d6729d981530f26
mov ecx, eax
xor cl, 1
movzx eax, byte [edi + 9]
test al, al
je 0x4c0f72
jmp 0x4c198e
call sym.std::panicking::panic_count::is_zero_slow_path::h8d6729d981530f26
test al, al
jne 0x4c0ff9
mov byte [edi + 9], 1
jmp 0x4c0ff9
cmp ecx, 6
jne 0x4c1285
movzx eax, byte [0x5e1184]
xor ecx, ecx
mov edx, 0xc
call sym.std::sys::alloc::windows::process_heap_alloc::hc2bfe060f1f208f4
test eax, eax
je 0x4c19c9
mov esi, eax
mov dword [eax], 0
mov byte [eax + 8], 8
mov ecx, eax
mov edx, 0x5aa5d4
push 0x28
call sym.hyper::error::Error::with::h63b3c00d591f9ad0
add esp, 4
jmp 0x4c1378
mov eax, 1
jmp 0x4c137a
lea edx, [esp + 0x89]
mov byte [esp + 0x150], cl
movzx ecx, word [edx]
mov word [esp + 0x151], cx
movzx ecx, byte [edx + 2]
lea edx, [esp + 0x90]
movsd xmm0, qword [edx]
movsd xmm1, qword [edx + 8]
mov byte [esp + 0x153], cl
mov dword [esp + 0x154], eax
movsd qword [esp + 0x158], xmm0
movsd qword [esp + 0x160], xmm1
lea ecx, [esp + 0x150]
jmp 0x4c1371
cmp eax, 5
jne 0x4c1334
mov eax, dword [esp + 0x1bc]
mov byte [esp + 0x88], 2
mov dword [esp + 0x8c], eax
jmp 0x4c136a
mov dword [esp + 0x88], 2
mov edx, dword [esp + 4]
lea ecx, [esp + 0x1b8]
push 1
lea eax, [esp + 0x8c]
push eax
call sym.h2::share::SendStream_LT_B_GT_::send_data::h03020d382baab9ae
add esp, 8
xor eax, eax
cmp byte [esp + 0x1b8], 5
mov esi, 0
je 0x4c137a
movsd xmm0, qword [esp + 0x1c8]
movsd xmm2, qword [esp + 0x1b8]
movsd xmm1, qword [esp + 0x1c0]
movsd qword [esp + 0x98], xmm0
movsd qword [esp + 0x90], xmm1
movsd qword [esp + 0x88], xmm2
lea ecx, [esp + 0x88]
call sym.hyper::error::Error::new_body_write::hd5d3f023ea46beec
mov esi, eax
xor eax, eax
mov edx, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call sym.hyper::error::Error::new_user_body::hcf8c05d8d4957535
mov dword [esp + 0x88], eax
mov edx, 2
mov ebx, dword [eax]
test ebx, ebx
je 0x4c14cd
mov edi, dword [eax + 4]
nop word cs:[eax + eax]
nop dword [eax]
mov eax, dword [edi + 0x1c]
push ebx
lea ecx, [esp + 0x144]
push ecx
call eax
add esp, 8
mov eax, dword [esp + 0x14c]
mov ecx, dword [esp + 0x148]
mov edx, dword [esp + 0x140]
mov esi, dword [esp + 0x144]
xor esi, 0x628bb98b
xor eax, 0x7d8313fe
xor edx, 0xf955d29e
xor ecx, 0x62c17b92
or eax, esi
or ecx, edx
or ecx, eax
je 0x4c14b6
mov eax, dword [edi + 0x18]
push ebx
call eax
add esp, 4
mov ebx, eax
mov edi, edx
test eax, eax
jne 0x4c13b0
mov edx, 2
jmp 0x4c14cd
mov esi, dword [esp + 4]
xor edx, edx
mov ecx, esi
call sym.h2::proto::streams::streams::StreamRef_LT_B_GT_::reserve_capacity::hcf09ecf9111f277f
lea eax, [esp + 0x288]
mov edx, dword [esi]
mov cl, 1
movsd xmm2, qword [eax + 0x28]
movsd xmm1, qword [eax + 0x20]
movsd xmm0, qword [eax + 0x30]
mov dword [esp + 8], edx
movsd qword [esp + 0x70], xmm2
movsd qword [esp + 0x68], xmm1
movsd xmm2, qword [eax + 0x18]
movsd xmm1, qword [eax + 0x10]
movsd qword [esp + 0x78], xmm0
movsd qword [esp + 0x60], xmm2
movsd qword [esp + 0x58], xmm1
movsd xmm2, qword [eax]
movsd xmm1, qword [eax + 8]
xor eax, eax
movsd qword [esp + 0x50], xmm1
movsd qword [esp + 0x48], xmm2
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
lea edi, [edx + 8]
lock cmpxchg byte [edx + 8], cl
jne 0x4c14e2
mov eax, dword [0x5e1180]
test eax, 0x7fffffff
je 0x4c14f5
call sym.std::panicking::panic_count::is_zero_slow_path::h8d6729d981530f26
mov ebx, eax
xor bl, 1
jmp 0x4c14f7
xor esi, esi
jmp 0x4c1378
movzx eax, byte [ebx]
mov edx, 2
cmp eax, 2
ja 0x4c14cd
mov eax, dword [eax*4 + 0x5b939c]
mov edx, dword [ebx + eax]
mov ecx, dword [esp + 4]
call sym.h2::proto::streams::streams::StreamRef_LT_B_GT_::send_reset::h6cb11a9afc5e9a0a
mov esi, dword [esp + 0x88]
jmp 0x4c1378
mov ecx, edi
call sym.std::sys::sync::mutex::futex::Mutex::lock_contended::h7bd09c01afe60157
mov eax, dword [0x5e1180]
test eax, 0x7fffffff
jne 0x4c14a3
xor ebx, ebx
mov ecx, dword [esp + 8]
movzx eax, byte [ecx + 9]
test al, al
jne 0x4c1a9b
movsd xmm0, qword [esi + 4]
mov esi, dword [esi + 0xc]
lea eax, [ecx + 0x160]
mov cl, 1
movsd qword [esp + 0x2c], xmm0
mov dword [esp + 0x28], eax
lea eax, [esi + 8]
mov dword [esp + 4], eax
xor eax, eax
lock cmpxchg byte [esi + 8], cl
jne 0x4c1908
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], edi
mov eax, dword [0x5e1180]
test eax, 0x7fffffff
je 0x4c1558
mov bl, 1
call sym.std::panicking::panic_count::is_zero_slow_path::h8d6729d981530f26
mov ecx, dword [esp + 8]
xor al, 1
jmp 0x4c155e
mov ecx, dword [esp + 8]
xor eax, eax
mov dword [esp + 0xc], eax
movzx eax, byte [esi + 9]
test al, al
jne 0x4c1acf
movsd xmm1, qword [esp + 0x70]
movsd xmm2, qword [esp + 0x68]
movsd xmm0, qword [esp + 0x78]
lea edx, [esi + 0xc]
mov dword [esp + 0x34], esi
lea eax, [ecx + 0xf0]
add ecx, 0xe8
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x14], edx
mov dword [esp + 0x38], ecx
movsd qword [esp + 0x198], xmm1
movsd xmm1, qword [esp + 0x60]
movsd qword [esp + 0x190], xmm2
movsd xmm2, qword [esp + 0x58]
movsd qword [esp + 0x1a0], xmm0
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], esi
movsd qword [esp + 0x188], xmm1
movsd xmm1, qword [esp + 0x50]
movsd qword [esp + 0x180], xmm2
movsd xmm2, qword [esp + 0x40]
movsd qword [esp + 0x178], xmm1
movsd xmm1, qword [esp + 0x48]
movsd qword [esp + 0x168], xmm2
movsd qword [esp + 0x170], xmm1
mov dword [esp + 0x1a8], eax
mov dword [esp + 0x1ac], ecx
mov dword [esp + 0x1b0], edx
mov edx, dword [esp + 0x28]
cmp dword [edx + 0x38], edi
jbe 0x4c19d8
mov eax, dword [edx + 0x34]
imul ebx, edi, 0xf8
mov ecx, dword [eax + ebx]
xor ecx, 3
or ecx, dword [eax + ebx + 4]
je 0x4c19d8
add eax, ebx
cmp dword [eax + 0xd4], esi
jne 0x4c19d8
mov eax, dword [eax + 0x18]
mov dword [esp + 0x18], edx
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x40]
call sym.h2::frame::headers::calculate_headermap_size::hda9a913a8991be78
movsd xmm1, qword [esp + 0x48]
mov dword [esp + 0x260], esi
mov byte [esp + 0x25d], 2
movsd xmm2, qword [esp + 0x50]
movsd xmm0, qword [esp + 0x40]
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], esi
movsd qword [esp + 0x1c0], xmm1
movsd xmm1, qword [esp + 0x58]
movsd qword [esp + 0x1c8], xmm2
movsd xmm2, qword [esp + 0x60]
movsd qword [esp + 0x1b8], xmm0
movsd qword [esp + 0x1d0], xmm1
movsd xmm1, qword [esp + 0x68]
movsd qword [esp + 0x1d8], xmm2
movsd xmm2, qword [esp + 0x70]
movsd qword [esp + 0x1e0], xmm1
movsd xmm1, qword [esp + 0x78]
movsd qword [esp + 0x1e8], xmm2
movsd qword [esp + 0x1f0], xmm1
mov byte [esp + 0x1f8], 0xb
mov dword [esp + 0x20c], 0
mov dword [esp + 0x21c], 0
mov dword [esp + 0x22c], 0
mov dword [esp + 0x23c], 0
mov word [esp + 0x24c], 0
mov dword [esp + 0x250], eax
mov eax, dword [esp + 0x18]
mov byte [esp + 0x254], 0
mov byte [esp + 0x264], 5
cmp dword [eax + 0x38], edi
jbe 0x4c1a3e
mov eax, dword [eax + 0x34]
mov ecx, dword [eax + ebx]
xor ecx, 3
or ecx, dword [eax + ebx + 4]
je 0x4c1a3e
add eax, ebx
cmp dword [eax + 0xd4], esi
jne 0x4c1a3e
mov ecx, dword [esp + 8]
lea edi, [ecx + 0x10]
movzx ecx, byte [eax + 0x20]
add cl, 0xfa
movzx edx, cl
cmp cl, 6
mov ecx, 6
cmovb ecx, edx
cmp cl, 3
je 0x4c1836
movzx ecx, cl
cmp ecx, 5
jne 0x4c183c
cmp byte [eax + 0x21], 1
jne 0x4c183c
lea ebx, [esp + 0x28]
mov ecx, ebx
call sym.__LT_h2..proto..streams..store..Ptr_u20_as_u20_core..ops..deref..DerefMut_GT_::deref_mut::ha1d0171d8963a26b
add eax, 0x20
mov ecx, eax
call sym.h2::proto::streams::state::State::send_close::hee07520511137b06
mov eax, dword [esp + 8]
lea esi, [eax + 0xf8]
push 0xb0
lea eax, [esp + 0x1bc]
push eax
lea eax, [esp + 0x98]
push eax
call sym._memcpy
add esp, 0xc
mov byte [esp + 0x88], 1
lea edx, [esp + 0x88]
mov ecx, esi
push dword [esp + 0x38]
push ebx
push dword [esp + 0x1c]
call sym.h2::proto::streams::prioritize::Prioritize::queue_frame::h3dff4789982fe7e7
add esp, 0xc
xor edx, edx
mov ecx, esi
push edi
push ebx
call sym.h2::proto::streams::prioritize::Prioritize::reserve_capacity::he26439a4c73130e9
add esp, 8
mov al, 1
mov byte [esp + 0x14], 0xc
mov dword [esp + 0x18], eax
jmp 0x4c1863
cmp byte [eax + 0x21], 0
jne 0x4c17bd
lea esi, [esp + 0x1f8]
lea ecx, [esp + 0x1b8]
call sym.core::ptr::drop_in_place_LT_http..header..map..HeaderMap_GT_::h96cc22211213828f
mov ecx, esi
call sym.core::ptr::drop_in_place_LT_h2..frame..headers..Pseudo_GT_::h71a6d6a10ed3b534
mov byte [esp + 0x14], 1
mov dword [esp + 0x18], 0
xor eax, eax
cmp dword [esp + 0x3c], 0x3b9aca00
setne al
lea edx, [esp + 0x28]
mov ecx, edi
push eax
call sym.h2::proto::streams::counts::Counts::transition_after::h5d94c023710edf8b
add esp, 4
cmp byte [esp + 0xc], 0
mov esi, dword [esp + 8]
jne 0x4c18a9
mov eax, dword [0x5e1180]
test eax, 0x7fffffff
je 0x4c18a9
xor ebx, ebx
call sym.std::panicking::panic_count::is_zero_slow_path::h8d6729d981530f26
test al, al
jne 0x4c18a9
mov eax, dword [esp + 0x34]
mov byte [eax + 9], 1
mov ecx, dword [esp + 4]
xor eax, eax
xchg byte [ecx], al
cmp al, 2
jne 0x4c18bc
push ecx
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle]
cmp byte [esp + 0x1c], 0
jne 0x4c18cf
mov eax, dword [0x5e1180]
test eax, 0x7fffffff
jne 0x4c1916
mov ecx, dword [esp + 0x10]
xor eax, eax
xor esi, esi
xchg byte [ecx], al
cmp al, 2
jne 0x4c18e4
push ecx
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle]
cmp byte [esp + 0x18], 0
jne 0x4c1378
movzx eax, byte [esp + 0x14]
mov byte [esp + 0x88], 3
mov byte [esp + 0x89], al
jmp 0x4c136a
mov ecx, dword [esp + 4]
call sym.std::sys::sync::mutex::futex::Mutex::lock_contended::h7bd09c01afe60157
jmp 0x4c1535
call sym.std::panicking::panic_count::is_zero_slow_path::h8d6729d981530f26
test al, al
jne 0x4c18cf
mov byte [esi + 9], 1
jmp 0x4c18cf
lea eax, [esp + 0x16c]
lea esi, [esp + 0x1b8]
mov dword [esp + 0x88], 0x585184
mov dword [esp + 0x8c], 1
mov dword [esp + 0x98], 0
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x90], esi
mov dword [esp + 0x1bc], sym.__LT_h2..frame..stream_id..StreamId_u20_as_u20_core..fmt..Debug_GT_::fmt::hfb12b609121d3b2f
mov dword [esp + 0x94], 1
lea ecx, [esp + 0x88]
mov edx, 0x58518c
call sym.core::panicking::panic_fmt::hced28cb7137b21e1
jmp 0x4c1b09
mov eax, dword [esp + 8]
mov dword [esp + 0x88], eax
mov byte [esp + 0x8c], cl
mov edx, 0x2b
mov ecx, str.called__Result::unwrap____on_an__Err__value
push 0x5a79d4
push 0x5a816c
lea eax, [esp + 0x90]
push eax
call sym.core::result::unwrap_failed::h534a40e08cfe968a
add esp, 0xc
jmp 0x4c1b09
mov ecx, 4
mov edx, 0xc
call sym.alloc::alloc::handle_alloc_error::h3ca6a9ac69c8e3db
lea eax, [esp + 0x24]
lea esi, [esp + 0x1b8]
mov dword [esp + 0x88], 0x585184
mov dword [esp + 0x8c], 1
mov dword [esp + 0x98], 0
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x90], esi
mov dword [esp + 0x1bc], sym.__LT_h2..frame..stream_id..StreamId_u20_as_u20_core..fmt..Debug_GT_::fmt::hfb12b609121d3b2f
mov dword [esp + 0x94], 1
lea ecx, [esp + 0x88]
mov edx, 0x58518c
call sym.core::panicking::panic_fmt::hced28cb7137b21e1
jmp 0x4c1b09
lea eax, [esp + 0x84]
lea esi, [esp + 0x20]
mov dword [esp + 0x88], 0x585184
mov dword [esp + 0x8c], 1
mov dword [esp + 0x98], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x90], esi
mov dword [esp + 0x24], sym.__LT_h2..frame..stream_id..StreamId_u20_as_u20_core..fmt..Debug_GT_::fmt::hfb12b609121d3b2f
mov dword [esp + 0x94], 1
lea ecx, [esp + 0x88]
mov edx, 0x58518c
call sym.core::panicking::panic_fmt::hced28cb7137b21e1
jmp 0x4c1b09
mov dword [esp + 0x88], edi
mov byte [esp + 0x8c], bl
mov edx, 0x2b
mov ecx, str.called__Result::unwrap____on_an__Err__value
push 0x5a7994
push 0x5a816c
lea eax, [esp + 0x90]
push eax
call sym.core::result::unwrap_failed::h534a40e08cfe968a
add esp, 0xc
jmp 0x4c1b09
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xc]
mov byte [esp + 0x8c], al
mov edx, 0x2b
mov ecx, str.called__Result::unwrap____on_an__Err__value
push 0x5a79a4
push 0x5a814c
lea eax, [esp + 0x90]
push eax
call sym.core::result::unwrap_failed::h534a40e08cfe968a
add esp, 0xc
ud2