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

Disassembly:
mov ecx, dword [0x92707c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xb0]
cmp eax, dword [ecx + 8]
jbe 0x65a7ad
sub esp, 0x130
mov eax, 0
mov dword [esp + 0x12c], eax
mov byte [esp + 0x22], 0
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov eax, dword [esp + 0x134]
mov ecx, dword [eax]
mov dword [esp + 0x94], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x90], edx
mov ebx, dword [eax + 4]
mov dword [esp + 0x6c], ebx
mov ebp, dword [esp + 0x138]
mov dword [esp], ebp
call sym.net_http.http2checkConnHeaders
mov eax, dword [esp + 4]
test eax, eax
jne 0x659ff5
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0xbc]
test ecx, ecx
je 0x65a788
mov dword [esp + 0x128], ecx
mov eax, dword [esp + 0x134]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x124], ecx
mov edx, dword [esp + 0x6c]
mov ebx, dword [edx + 0x10]
mov ebp, dword [esp + 0x90]
mov dword [esp], ebp
call ebx
mov eax, dword [esp + 4]
mov dword [esp + 0x120], eax
lea edi, [esp + 0xfc]
xor eax, eax
call fcn.00471faa
mov ecx, dword [esp + 0x128]
mov dword [esp + 0xfc], ecx
lea ecx, [esp + 0x23]
mov dword [esp + 0x100], ecx
mov ecx, dword [esp + 0x124]
mov dword [esp + 0x10c], ecx
mov ecx, dword [esp + 0x120]
mov dword [esp + 0x104], ecx
lea ecx, [esp + 0xfc]
mov dword [esp], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 2
mov byte [esp + 0x14], 1
call sym.runtime.selectgo
mov eax, dword [esp + 0x18]
test eax, eax
je 0x659da4
cmp eax, 1
jne 0x659d83
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], ecx
add esp, 0x130
ret
mov eax, dword [0x8fbf20]
mov ecx, dword [0x8fbf24]
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], ecx
add esp, 0x130
ret
mov eax, dword [esp + 0x94]
lea ecx, [eax + 0x34]
mov dword [esp + 0x11c], ecx
mov dword [esp], ecx
call sym.sync._Mutex_.Lock
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x659ddd
mov edx, dword [eax + 0x30]
mov ecx, dword [ecx + 0x14]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x68]
nop
test ecx, ecx
jle 0x659de9
dec ecx
mov dword [eax + 0x68], ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x134]
mov dword [esp + 4], ecx
call sym.net_http._http2ClientConn_.awaitOpenSlotForStreamLocked
mov eax, dword [esp + 8]
test eax, eax
jne 0x659f9a
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0xb8]
mov edx, dword [esp + 0x134]
mov ebx, dword [edx + 0x94]
lea ebp, [ebx + ecx]
nop
cmp ecx, ebp
setl cl
test ebx, ebx
setg bl
cmp bl, cl
jne 0x659e3a
mov dword [edx + 0x94], ebp
mov ecx, dword [0x927358]
lea ebx, [eax + 0x40]
test ecx, ecx
je 0x659e57
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov ecx, dword [edx + 0x98]
mov dword [edi + 4], ecx
mov dword [edx + 0x98], ebx
nop
mov dword [edx + 0x9c], 0x400000
mov ecx, dword [eax + 0x6c]
mov dword [edx + 0x14], ecx
add dword [eax + 0x6c], 2
mov ecx, dword [eax + 0x64]
mov ebx, dword [edx + 0x14]
lea ebp, [0x6b4c00]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call sym.runtime.mapassign_fast32
mov eax, dword [esp + 0xc]
test byte [eax], al
mov ecx, dword [0x927358]
test ecx, ecx
jne 0x659ea7
mov ecx, dword [esp + 0x134]
jmp 0x659eba
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x134]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ecx
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x65a770
mov eax, dword [esp + 0x138]
mov dword [esp], eax
call sym.net_http.http2isConnectionCloseRequest
movzx eax, byte [esp + 4]
test al, al
je 0x659eea
mov eax, dword [esp + 0x94]
mov byte [eax + 0x50], 1
mov eax, dword [esp + 0x11c]
mov dword [esp], eax
call sym.sync._Mutex_.Unlock
mov edx, dword [esp + 0x13c]
test edx, edx
je 0x659f12
mov eax, dword [edx]
mov ecx, dword [esp + 0x134]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x94]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x50]
test ecx, ecx
je 0x659f30
mov edx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xac]
jmp 0x659f34
xor ecx, ecx
xor edx, edx
test ecx, ecx
setne bl
test edx, edx
xchg ebp, ebx
setne bl
xchg ebp, ebx
or ebx, ebp
test bl, bl
je 0x65a0b4
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], edx
mov eax, dword [esp + 0x138]
mov ecx, dword [eax + 0x1c]
lea edx, [0x6e62e0]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [0x6f48c5]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 6
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [esp + 0x7c], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x64], eax
xor edx, edx
jmp 0x65a01d
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x11c]
mov dword [esp], ecx
call sym.sync._Mutex_.Unlock
mov eax, dword [esp + 0x94]
mov eax, dword [eax + 0xbc]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.chanrecv1
mov eax, dword [esp + 0x68]
mov dword [esp + 0x140], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x144], eax
add esp, 0x130
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], ecx
add esp, 0x130
ret
mov ebx, dword [esp + 0x78]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x7c]
cmp edx, eax
jge 0x65a0ac
mov dword [esp + 0x78], edx
lea eax, [ecx + edx*8]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ebx
mov dword [esp + 4], eax
lea eax, [0x6f6275]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0xc
call sym.vendor_golang.org_x_net_http_httpguts.headerValueContainsToken
movzx eax, byte [esp + 0x10]
test al, al
je 0x65a00e
lea eax, [0x6ab4a0]
mov dword [esp], eax
mov dword [esp + 4], 1
call sym.runtime.makechan
mov eax, dword [0x927358]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x65a085
mov eax, dword [esp + 0x134]
jmp 0x65a09c
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [esp + 0x134]
mov edx, dword [eax + 0x88]
mov dword [edi + 4], edx
mov dword [eax + 0x88], ecx
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
jmp 0x65a0b0
xor eax, eax
xor ecx, ecx
mov edx, ecx
mov ecx, eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0x134]
mov dword [esp], eax
mov ebx, dword [esp + 0x138]
mov dword [esp + 4], ebx
call sym.net_http._http2clientStream_.encodeAndWriteHeaders
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], ecx
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0xbc]
mov dword [esp], ecx
mov dword [esp + 4], 0
call sym.runtime.chanrecv1
mov eax, dword [esp + 0x140]
test eax, eax
jne 0x65a50d
mov eax, dword [esp + 0x134]
mov ecx, dword [eax + 0xbc]
mov ebx, dword [eax + 0xc0]
test ecx, ecx
setne cl
test ebx, ebx
setne bl
or ebx, ecx
test bl, bl
je 0x65a41c
mov ecx, dword [esp + 0x74]
test ecx, ecx
setne bl
mov ebp, dword [esp + 0x70]
test ebp, ebp
xchg esi, ebx
setne bl
xchg esi, ebx
or esi, ebx
xchg esi, eax
test al, al
xchg esi, eax
je 0x65a37a
mov ebx, dword [eax + 0x10]
test ebx, ebx
je 0x65a17b
mov edx, dword [ebx + 0x38]
test edx, edx
je 0x65a17b
mov eax, dword [edx]
call eax
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
mov dword [esp], ebp
mov dword [esp + 4], ecx
call sym.time.NewTimer
mov eax, dword [esp + 8]
mov dword [esp + 0x80], eax
mov ecx, dword [eax]
mov dword [esp + 0x118], ecx
mov edx, dword [esp + 0x134]
mov ebx, dword [edx + 0x88]
mov dword [esp + 0x128], ebx
mov ebp, dword [edx + 0x74]
mov dword [esp + 0x114], ebp
mov esi, dword [esp + 0x6c]
mov edi, dword [esi + 0x10]
mov esi, dword [esp + 0x90]
mov dword [esp], esi
call edi
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x134]
mov edx, dword [ecx + 0xc]
lea edi, [esp + 0xd4]
mov ebx, eax
xor eax, eax
call fcn.00471fa6
mov ecx, dword [esp + 0x118]
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x128]
mov dword [esp + 0xec], ecx
mov ecx, dword [esp + 0x114]
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xd4], edx
lea ecx, [esp + 0xd4]
mov dword [esp], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 5
mov byte [esp + 0x14], 1
call sym.runtime.selectgo
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x65a284
mov eax, dword [0x8fbf20]
mov ecx, dword [0x8fbf24]
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], ecx
mov eax, dword [esp + 0x134]
jmp 0x65a31e
cmp eax, 1
je 0x65a2ee
cmp eax, 2
jne 0x65a2ab
mov eax, dword [esp + 0x134]
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
mov dword [esp + 0x140], ecx
mov dword [esp + 0x144], edx
jmp 0x65a31e
cmp eax, 3
jne 0x65a2cf
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov eax, dword [esp + 0x134]
jmp 0x65a31e
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov eax, dword [esp + 0x134]
jmp 0x65a31e
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x90]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], ecx
mov eax, dword [esp + 0x134]
mov ecx, dword [esp + 0x80]
movzx edx, byte [ecx + 4]
nop
test dl, dl
je 0x65a758
mov dword [esp], ecx
call sym.time.stopTimer
mov eax, dword [esp + 0x140]
test eax, eax
je 0x65a373
mov ecx, dword [esp + 0x134]
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x65a36c
mov edx, dword [ecx + 0x3c]
test edx, edx
je 0x65a36c
mov ecx, dword [esp + 0x144]
mov ebx, dword [edx]
mov dword [esp], eax
mov dword [esp + 4], ecx
call ebx
add esp, 0x130
ret
mov eax, dword [esp + 0x134]
mov dword [esp], eax
mov ecx, dword [esp + 0x138]
mov dword [esp + 4], ecx
call sym.net_http._http2clientStream_.writeRequestBody
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], ecx
test eax, eax
je 0x65a40c
cmp dword [0x8fbf28], eax
jne 0x65a3d7
mov edx, dword [0x8fbf2c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x65a3d7
mov eax, dword [esp + 0x134]
jmp 0x65a423
mov eax, dword [esp + 0x134]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x65a405
mov edx, dword [eax + 0x3c]
test edx, edx
je 0x65a405
mov eax, dword [esp + 0x140]
mov ecx, dword [esp + 0x144]
mov ebx, dword [edx]
mov dword [esp], eax
mov dword [esp + 4], ecx
call ebx
add esp, 0x130
ret
mov eax, dword [esp + 0x134]
mov byte [eax + 0xc8], 1
jmp 0x65a423
mov byte [eax + 0xc8], 1
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x65a451
mov edx, dword [ecx + 0x3c]
test edx, edx
je 0x65a451
mov eax, dword [esp + 0x140]
mov ecx, dword [esp + 0x144]
mov ebx, dword [edx]
mov dword [esp], eax
mov dword [esp + 4], ecx
call ebx
mov eax, dword [esp + 0x134]
mov ecx, dword [esp + 0x94]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x50]
test edx, edx
je 0x65a46f
mov ebx, dword [edx + 0xa0]
mov edx, dword [edx + 0xa4]
jmp 0x65a473
xor edx, edx
xor ebx, ebx
test ebx, ebx
xchg ebp, ebx
setne bl
xchg ebp, ebx
test edx, edx
xchg esi, ebx
setne bl
xchg esi, ebx
or esi, ebp
xchg esi, eax
mov byte [esp + 0x23], al
xchg esi, eax
xchg esi, eax
test al, al
xchg esi, eax
jne 0x65a49c
xor ecx, ecx
xor edx, edx
jmp 0x65a51f
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call sym.net_http._http2Transport_.newTimer
mov eax, dword [esp + 0xc]
test byte [eax], al
mov ecx, dword [esp + 0x10]
lea edx, [sym.net_http._http2clientStream_.writeRequest.deferwrap1]
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
lea edx, [esp + 0xc8]
mov dword [esp + 0x12c], edx
mov byte [esp + 0x22], 1
mov eax, dword [eax + 0xc]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x134]
mov edx, dword [ecx + 0x8c]
movzx esi, byte [esp + 0x23]
mov ecx, eax
mov eax, dword [esp + 0x134]
jmp 0x65a51f
add esp, 0x130
ret
mov eax, dword [esp + 0x134]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x88], edx
mov dword [esp + 0x84], ecx
mov ebx, dword [eax + 0x80]
mov dword [esp + 0x128], ebx
mov ebp, dword [eax + 0x74]
mov dword [esp + 0x114], ebp
mov esi, dword [esp + 0x6c]
mov edi, dword [esi + 0x10]
mov esi, dword [esp + 0x90]
mov dword [esp], esi
call edi
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x134]
mov edx, dword [ecx + 0xc]
lea edi, [esp + 0x98]
mov ebx, eax
xor eax, eax
call fcn.00471fa4
mov ecx, dword [esp + 0x128]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x114]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x98], edx
lea ecx, [esp + 0x98]
mov dword [esp], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 6
mov byte [esp + 0x14], 1
call sym.runtime.selectgo
mov eax, dword [esp + 0x18]
test eax, eax
je 0x65a71b
cmp eax, 1
je 0x65a6cf
cmp eax, 2
je 0x65a691
cmp eax, 3
je 0x65a514
cmp eax, 4
jne 0x65a658
mov eax, dword [0x8fbee8]
mov ecx, dword [0x8fbeec]
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], ecx
movzx eax, byte [esp + 0x23]
test al, 1
je 0x65a651
and eax, 0xfffffffe
mov byte [esp + 0x22], al
mov edx, dword [esp + 0x12c]
mov eax, dword [edx]
call eax
add esp, 0x130
ret
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
movzx eax, byte [esp + 0x23]
test al, 1
je 0x65a68a
and eax, 0xfffffffe
mov byte [esp + 0x22], al
mov edx, dword [esp + 0x12c]
mov eax, dword [edx]
call eax
add esp, 0x130
ret
mov eax, dword [esp + 0x134]
mov ecx, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
mov dword [esp + 0x140], ecx
mov dword [esp + 0x144], eax
movzx eax, byte [esp + 0x23]
test al, 1
je 0x65a6c8
and eax, 0xfffffffe
mov byte [esp + 0x22], al
mov edx, dword [esp + 0x12c]
mov eax, dword [edx]
call eax
add esp, 0x130
ret
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], ecx
movzx eax, byte [esp + 0x23]
test al, 1
je 0x65a714
and eax, 0xfffffffe
mov byte [esp + 0x22], al
mov edx, dword [esp + 0x12c]
mov eax, dword [edx]
call eax
add esp, 0x130
ret
mov eax, dword [0x8fbf20]
mov ecx, dword [0x8fbf24]
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], ecx
movzx eax, byte [esp + 0x23]
test al, 1
je 0x65a751
and eax, 0xfffffffe
mov byte [esp + 0x22], al
mov edx, dword [esp + 0x12c]
mov eax, dword [edx]
call eax
add esp, 0x130
ret
lea eax, [0x6b20a0]
mov dword [esp], eax
lea eax, [0x764628]
mov dword [esp + 4], eax
call sym.runtime.gopanic
lea eax, [0x6b20a0]
mov dword [esp], eax
lea eax, [0x764678]
mov dword [esp + 4], eax
call sym.runtime.gopanic
lea eax, [0x6b20a0]
mov dword [esp], eax
lea eax, [0x764670]
mov dword [esp + 4], eax
call sym.runtime.gopanic
nop
call sym.runtime.deferreturn
add esp, 0x130
ret
call sym.runtime.morestack_noctxt
jmp sym.net_http._http2clientStream_.writeRequest