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

Disassembly:
mov ecx, dword [0x9364f0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x662b08
sub esp, 0x48
lea eax, [0x6e8020]
mov dword [esp], eax
call sym.runtime.newobject
mov edi, dword [esp + 4]
mov dword [esp + 0x1c], edi
lea esi, [esp + 0x50]
call fcn.00472772
mov eax, dword [esp + 0x58]
test eax, eax
je 0x662a8f
movzx eax, byte [esp + 0x52]
test al, 8
je 0x662874
mov ebx, dword [esp + 0x64]
test ebx, ebx
jne 0x6627fe
mov ebx, dword [0x90f028]
mov ebp, dword [0x90f02c]
xor ecx, ecx
xor edi, edi
xor edx, edx
xor esi, esi
jmp 0x66282b
mov esi, dword [esp + 0x68]
dec esi
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 1
mov ecx, eax
mov eax, dword [esp + 0x60]
add esi, eax
lea edx, [ebx - 1]
movzx eax, byte [eax]
xor ebx, ebx
xor ebp, ebp
mov ebx, eax
mov eax, ecx
mov ecx, ebx
xor ebx, ebx
test ebx, ebx
je 0x662882
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], ebp
mov edx, dword [esp + 0x5c]
mov eax, dword [edx]
lea ecx, [0x707830]
mov dword [esp], ecx
mov dword [esp + 4], 0x17
call eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x78], eax
add esp, 0x48
ret
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x68]
xor ecx, ecx
test al, 0x20
je 0x6629bf
cmp edx, 4
jge 0x6628a6
mov eax, dword [0x90f028]
mov ebx, dword [0x90f02c]
xor esi, esi
xor edx, edx
xor ebp, ebp
xor edi, edi
jmp 0x6628c6
lea ebp, [edi - 4]
mov edi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 4
mov eax, dword [esi]
add ebp, esi
lea esi, [edx - 4]
bswap eax
mov edx, eax
xor ebx, ebx
xor eax, eax
test eax, eax
jne 0x66297a
mov eax, edx
and edx, 0x7fffffff
mov ebx, dword [esp + 0x1c]
mov dword [ebx + 0xc], edx
cmp eax, edx
setne al
mov byte [ebx + 0x10], al
test esi, esi
jne 0x662905
mov eax, dword [0x90f028]
mov ebp, dword [0x90f02c]
xor edx, edx
xor esi, esi
xor edi, edi
xor edx, edx
mov dword [esp + 0x18], edx
xor edx, edx
jmp 0x662925
dec edi
mov eax, edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, 1
add edi, ebp
dec esi
movzx edx, byte [ebp]
mov dword [esp + 0x18], edi
xor ebp, ebp
mov edi, eax
xor eax, eax
mov byte [ebx + 0x11], dl
test eax, eax
jne 0x662935
mov eax, dword [esp + 0x18]
jmp 0x6629c7
mov dword [esp + 0xc], eax
mov dword [esp + 0x20], ebp
mov edx, dword [esp + 0x5c]
mov eax, dword [edx]
lea ecx, [0x70b8f9]
mov dword [esp], ecx
mov dword [esp + 4], 0x1f
call eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x78], eax
add esp, 0x48
ret
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], ebx
mov edx, dword [esp + 0x5c]
mov eax, dword [edx]
lea ecx, [0x708049]
mov dword [esp], ecx
mov dword [esp + 4], 0x18
call eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x78], eax
add esp, 0x48
ret
mov ebx, dword [esp + 0x1c]
mov eax, esi
mov esi, edx
movzx ebp, cl
sub esi, ebp
test esi, esi
jl 0x662a1a
cmp edi, esi
jb 0x662afe
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x1c], edi
mov ecx, dword [0x9367c0]
test ecx, ecx
je 0x6629f5
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ecx, dword [ebx + 0x14]
mov dword [edi + 4], ecx
mov dword [ebx + 0x14], eax
lea eax, [0x772d18]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x48
ret
mov edx, dword [esp + 0x5c]
mov eax, dword [edx]
lea ecx, [0x70881f]
mov dword [esp], ecx
mov dword [esp + 4], 0x19
call eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
lea eax, [0x6ea980]
mov dword [esp], eax
lea eax, [esp + 0x2c]
mov dword [esp + 4], eax
call sym.runtime.convT
mov eax, dword [esp + 8]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x772340]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x48
ret
mov edx, dword [esp + 0x5c]
mov eax, dword [edx]
lea ecx, [0x708806]
mov dword [esp], ecx
mov dword [esp + 4], 0x19
call eax
mov dword [esp + 0x3c], 1
lea eax, [0x70b244]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0x1e
lea eax, [0x6dc5c0]
mov dword [esp], eax
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
call sym.runtime.convT
mov eax, dword [esp + 8]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x7723e0]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x48
ret
mov ecx, esi
mov edx, edi
call sym.runtime.panicSliceAcap
nop
call sym.runtime.morestack_noctxt
jmp sym.net_http.http2parseHeadersFrame