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

Disassembly:
mov ecx, dword [0x92707c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x88]
cmp eax, dword [ecx + 8]
jbe 0x65bd8e
sub esp, 0x108
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov eax, dword [esp + 0x10c]
mov ecx, dword [eax]
mov dword [esp + 0xb8], ecx
test byte [ecx], al
mov edx, dword [eax + 0xbc]
mov dword [esp + 0x34], edx
mov ebx, dword [eax + 0xc0]
mov dword [esp + 0x38], ebx
lea ebp, [ecx + 0x34]
mov dword [esp + 0x100], ebp
mov esi, dword [eax + 0xb8]
mov dword [esp + 0xc0], esi
mov edi, dword [eax + 0xb4]
mov dword [esp + 0x4c], edi
mov esi, dword [esp + 0x110]
mov esi, dword [esi + 0x58]
mov dword [esp + 0xfc], esi
mov dword [esp], ebp
call sym.sync._Mutex_.Lock
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0xa4]
mov dword [esp + 0xa8], ecx
mov edx, dword [esp + 0x100]
mov dword [esp], edx
call sym.sync._Mutex_.Unlock
mov eax, dword [esp + 0xa8]
mov ecx, eax
sar eax, 0x1f
mov edx, dword [esp + 0x38]
cmp edx, 0xffffffff
setne bl
mov ebp, dword [esp + 0x34]
cmp ebp, 0xffffffff
xchg esi, ebx
setne bl
xchg esi, ebx
or ebx, esi
mov byte [esp + 0x2f], bl
test eax, eax
xchg esi, ebx
sete bl
xchg esi, ebx
xchg edi, ebx
setg bl
xchg edi, ebx
cmp ecx, 0x80000
seta bl
and ebx, esi
or edi, ebx
xchg edi, eax
test al, al
xchg edi, eax
je 0x65b420
xor eax, eax
mov ebx, 0x80000
jmp 0x65b422
mov ebx, ecx
mov esi, dword [esp + 0x10c]
mov edi, dword [esi + 0xbc]
mov ecx, dword [esi + 0xc0]
cmp edi, 0xffffffff
xchg esi, ebx
setne bl
xchg esi, ebx
cmp ecx, 0xffffffff
setne dl
or esi, edx
xchg esi, eax
test al, al
xchg esi, eax
je 0x65b480
add edi, 1
adc ecx, 0
cmp eax, ecx
setg dl
xchg esi, ebx
sete bl
xchg esi, ebx
cmp edi, ebx
xchg ebp, ebx
setb bl
xchg ebp, ebx
and ebp, esi
or ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x65b47c
mov ebp, dword [esp + 0x34]
mov ebx, edi
mov eax, ecx
jmp 0x65b480
mov ebp, dword [esp + 0x34]
test eax, eax
setl al
sete cl
test ebx, ebx
sete dl
and ecx, edx
or eax, ecx
test al, al
je 0x65b49a
mov ebx, 1
mov dword [esp + 0x30], ebx
lea eax, [0x6a8ac0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax], 0
mov ecx, dword [esp + 0x30]
cmp ecx, 0x4000
jg 0x65b4c6
xor edx, edx
jmp 0x65b512
lea edx, [ecx - 1]
nop
nop
cmp edx, 0x10000
jb 0x65b4dd
shr edx, 0x10
mov ebx, 0x10
jmp 0x65b4df
xor ebx, ebx
cmp edx, 0x100
jb 0x65b4ed
shr edx, 8
add ebx, 8
cmp edx, 0x100
jae 0x65bd81
lea ebp, [0x70c22b]
movzx edx, byte [ebp + edx]
lea edx, [edx + ebx - 0xe]
cmp edx, 7
jl 0x65b512
mov edx, 6
cmp edx, 7
jae 0x65bd75
mov dword [esp + 0x104], eax
lea eax, [edx + edx*4]
lea ecx, [0x907900]
lea eax, [ecx + eax*4]
mov dword [esp + 0xf8], eax
mov dword [esp], eax
call sym.sync._Pool_.Get
lea eax, [0x6a6b80]
cmp dword [esp + 4], eax
jne 0x65b54f
mov ecx, dword [esp + 8]
jmp 0x65b554
mov ecx, 0
jne 0x65b5fd
mov edx, dword [esp + 0x30]
cmp dword [ecx + 4], edx
jl 0x65b601
mov dword [esp + 0xbc], ecx
lea edx, [sym.net_http._http2clientStream_.writeRequestBody.deferwrap1]
mov dword [esp + 0xdc], edx
mov edx, dword [esp + 0xf8]
mov dword [esp + 0xe0], edx
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], ecx
lea eax, [esp + 0xdc]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x84]
mov dword [esp], eax
call sym.runtime.deferprocStack
test eax, eax
jne 0x65b5f1
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [eax]
mov ebx, dword [esp + 0x104]
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edx
mov ecx, dword [0x927358]
test ecx, ecx
je 0x65b5ea
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ecx, dword [ebx]
mov dword [edi + 4], ecx
mov dword [ebx], eax
jmp 0x65b695
call sym.runtime.deferreturn
add esp, 0x108
ret
mov edx, dword [esp + 0x30]
lea eax, [0x6b2120]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x104]
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov ecx, dword [0x927358]
test ecx, ecx
je 0x65b642
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ecx, dword [edx]
mov dword [edi + 4], ecx
mov dword [edx], eax
lea eax, [sym.net_http._http2clientStream_.writeRequestBody.deferwrap2]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 0xd0], eax
lea eax, [0x6a6b80]
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], edx
lea eax, [esp + 0xcc]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x6c]
mov dword [esp], eax
call sym.runtime.deferprocStack
test eax, eax
jne 0x65b6b3
mov ebx, dword [esp + 0x104]
mov eax, dword [esp + 0xfc]
test eax, eax
setne al
mov byte [esp + 0x2e], al
xor ecx, ecx
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
xor esi, esi
jmp 0x65b6d9
call sym.runtime.deferreturn
add esp, 0x108
ret
movzx eax, byte [esp + 0x2e]
mov ebx, dword [esp + 0x104]
movzx ecx, byte [esp + 0x2d]
mov edx, edi
mov ebp, esi
movzx esi, byte [esp + 0x2c]
test cl, cl
jne 0x65b90f
mov byte [esp + 0x2d], cl
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], edx
xchg esi, eax
mov byte [esp + 0x2c], al
xchg esi, eax
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ebp, dword [esp + 0x4c]
mov esi, dword [ebp + 0x10]
mov edi, dword [esp + 0xc0]
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call esi
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
movzx ebx, byte [esp + 0x2f]
test bl, bl
je 0x65b7be
mov ebp, ecx
sar ebp, 0x1f
mov esi, dword [esp + 0x34]
sub esi, ecx
mov edi, dword [esp + 0x38]
sbb edi, ebp
test esi, esi
xchg ebp, ebx
sete bl
xchg ebp, ebx
test edi, edi
sete bl
and ebx, ebp
test bl, bl
je 0x65b7b5
test eax, eax
jne 0x65b7b5
lea eax, [0x6adb20]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0xc0]
mov dword [esp], edx
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call ecx
mov eax, dword [esp + 0x10]
mov ecx, eax
sar eax, 0x1f
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
xor esi, esi
sub esi, ecx
mov edi, 0
sbb edi, eax
mov ecx, dword [esp + 0x44]
mov eax, edx
mov edx, ebx
test edi, edi
jge 0x65b7c6
jmp 0x65b89e
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
test eax, eax
jne 0x65b7dc
movzx ebx, byte [esp + 0x2d]
jmp 0x65b873
mov dword [esp + 0xb4], edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x100]
mov dword [esp], eax
call sym.sync._Mutex_.Lock
mov eax, dword [esp + 0x10c]
mov ecx, dword [eax + 0xc4]
mov dword [esp + 0xf4], ecx
mov edx, dword [esp + 0x100]
mov dword [esp], edx
call sym.sync._Mutex_.Unlock
mov eax, dword [esp + 0xf4]
test eax, eax
jne 0x65b8e9
mov eax, dword [esp + 0x48]
cmp dword [0x8fbe20], eax
jne 0x65b8c8
mov ecx, dword [0x8fbe24]
mov dword [esp], eax
mov edx, dword [esp + 0xb4]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x65b8c4
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
xor eax, eax
xor edx, edx
mov ebx, 1
mov byte [esp + 0x2d], bl
mov ebp, dword [esp + 0x104]
mov ebx, dword [ebp + 8]
cmp ebx, ecx
jb 0x65bd6e
mov ebp, dword [ebp]
jmp 0x65bbce
test eax, eax
je 0x65b6bf
jmp 0x65bd46
mov eax, dword [0x8fbf30]
mov ecx, dword [0x8fbf34]
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], ecx
call sym.runtime.deferreturn
add esp, 0x108
ret
mov eax, dword [esp + 0x48]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x118], eax
call sym.runtime.deferreturn
add esp, 0x108
ret
mov eax, dword [0x8fbf28]
mov ecx, dword [0x8fbf2c]
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], ecx
call sym.runtime.deferreturn
add esp, 0x108
ret
xchg esi, eax
test al, al
xchg esi, eax
jne 0x65bb4f
mov eax, dword [esp + 0x100]
mov dword [esp], eax
call sym.sync._Mutex_.Lock
mov eax, dword [esp + 0x10c]
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
mov ebx, dword [esp + 0x110]
mov ebx, dword [ebx + 0x58]
mov dword [esp + 0xac], ebx
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
mov ecx, dword [esp + 0x100]
mov dword [esp], ecx
call sym.sync._Mutex_.Unlock
mov eax, dword [esp + 0x114]
test eax, eax
jne 0x65bb43
mov eax, dword [esp + 0xb8]
lea ecx, [eax + 0xc0]
mov dword [esp + 0x100], ecx
mov dword [esp], ecx
call sym.sync._Mutex_.Lock
lea eax, [sym.net_http._http2clientStream_.writeRequestBody.deferwrap3]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0xc8], eax
lea eax, [esp + 0xc4]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x54]
mov dword [esp], eax
call sym.runtime.deferprocStack
test eax, eax
jne 0x65bb37
mov eax, dword [esp + 0xac]
test eax, eax
je 0x65b9d7
mov ecx, dword [eax]
jmp 0x65b9d9
xor ecx, ecx
test ecx, ecx
jg 0x65b9e5
xor ebx, ebx
xor ebp, ebp
xor edx, edx
jmp 0x65ba22
mov ecx, dword [esp + 0xb8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.net_http._http2ClientConn_.encodeTrailers
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], ecx
test eax, eax
jne 0x65bb2b
test ebx, ebx
je 0x65ba77
mov eax, dword [esp + 0x10c]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0xb8]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
call sym.net_http._http2ClientConn_.writeHeaders
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], ecx
jmp 0x65bae5
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0xcc]
mov edx, dword [esp + 0x10c]
mov edx, dword [edx + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov byte [esp + 8], 1
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call sym.net_http._http2Framer_.WriteDataPadded
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], ecx
mov eax, dword [esp + 0xb8]
mov eax, dword [eax + 0xc8]
mov dword [esp], eax
call sym.bufio._Writer_.Flush
mov eax, dword [esp + 4]
test eax, eax
je 0x65bb1f
mov ecx, dword [esp + 0x114]
test ecx, ecx
jne 0x65bb1f
mov ecx, dword [esp + 8]
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], ecx
call sym.runtime.deferreturn
add esp, 0x108
ret
call sym.runtime.deferreturn
add esp, 0x108
ret
call sym.runtime.deferreturn
add esp, 0x108
ret
call sym.runtime.deferreturn
add esp, 0x108
ret
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
call sym.runtime.deferreturn
add esp, 0x108
ret
mov dword [esp + 0xec], ecx
mov dword [esp + 0xa4], eax
mov edx, dword [esp + 0xf0]
mov dword [esp], edx
call sym.sync._Mutex_.Unlock
mov eax, dword [esp + 0x10c]
movzx ecx, byte [esp + 0x2c]
mov edx, dword [esp + 0xec]
mov ebx, dword [esp + 0xa4]
mov ebp, dword [esp + 0xb0]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0xa4]
test ecx, ecx
je 0x65b891
test eax, eax
jne 0x65b891
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0xb0], ebp
mov eax, dword [esp + 0x10c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.net_http._http2clientStream_.awaitFlowControl
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x65bd28
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xb8]
lea edx, [ecx + 0xc0]
mov dword [esp + 0xf0], edx
mov dword [esp], edx
call sym.sync._Mutex_.Lock
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x50]
cmp edx, ecx
jb 0x65bd69
mov ebx, dword [esp + 0x3c]
cmp ebx, ecx
jb 0x65bd60
mov eax, edx
sub edx, ecx
mov dword [esp + 0x40], edx
mov ebp, edx
neg edx
sar edx, 0x1f
and edx, ecx
sub ebx, ecx
mov dword [esp + 0x3c], ebx
mov esi, dword [esp + 0xb0]
add edx, esi
mov dword [esp + 0xb0], edx
movzx edi, byte [esp + 0x2d]
xchg edi, eax
test al, al
xchg edi, eax
je 0x65bc92
test ebx, ebx
jne 0x65bc92
movzx edi, byte [esp + 0x2e]
xor edi, 1
xchg edi, eax
mov byte [esp + 0x2c], al
xchg edi, eax
jmp 0x65bca6
mov dword [esp + 0x9c], eax
xor eax, eax
mov byte [esp + 0x2c], al
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0xb8]
mov ebx, dword [edx + 0xcc]
mov ebp, dword [esp + 0x10c]
mov edi, dword [ebp + 0x14]
mov dword [esp], ebx
mov dword [esp + 4], edi
movzx ebx, byte [esp + 0x2c]
mov byte [esp + 8], bl
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call sym.net_http._http2Framer_.WriteDataPadded
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
test eax, eax
jne 0x65bb71
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0xc8]
mov dword [esp], ecx
call sym.bufio._Writer_.Flush
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
jmp 0x65bb71
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], ecx
call sym.runtime.deferreturn
add esp, 0x108
ret
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], edx
call sym.runtime.deferreturn
add esp, 0x108
ret
mov eax, ecx
mov ecx, ebx
call sym.runtime.panicSliceB
call sym.runtime.panicSliceAcap
mov edx, ebx
call sym.runtime.panicSliceAcap
mov eax, edx
mov ecx, 7
call sym.runtime.panicIndex
mov eax, edx
mov ecx, 0x100
call sym.runtime.panicIndexU
nop
call sym.runtime.morestack_noctxt
jmp sym.net_http._http2clientStream_.writeRequestBody