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

Disassembly:
mov ecx, dword [0x911770]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xb0]
cmp eax, dword [ecx + 8]
jbe 0x64b1dd
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 0x64aa25
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0xbc]
test ecx, ecx
je 0x64b1b8
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.00471f1a
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 0x64a7d4
cmp eax, 1
jne 0x64a7b3
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 [0x8e9fe0]
mov ecx, dword [0x8e9fe4]
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 0x64a80d
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 0x64a819
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 0x64a9ca
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 0x64a86a
mov dword [edx + 0x94], ebp
mov ecx, dword [0x911a40]
lea ebx, [eax + 0x40]
test ecx, ecx
je 0x64a887
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, [0x6a8f00]
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 [0x911a40]
test ecx, ecx
jne 0x64a8d7
mov ecx, dword [esp + 0x134]
jmp 0x64a8ea
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 0x64b1a0
mov eax, dword [esp + 0x138]
mov dword [esp], eax
call sym.net_http.http2isConnectionCloseRequest
movzx eax, byte [esp + 4]
test al, al
je 0x64a91a
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 0x64a942
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 0x64a960
mov edx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xac]
jmp 0x64a964
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 0x64aae4
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], edx
mov eax, dword [esp + 0x138]
mov ecx, dword [eax + 0x1c]
lea edx, [0x6da460]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [0x6e8ebf]
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 0x64aa4d
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 0x64aadc
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, [0x6ea6da]
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 0x64aa3e
lea eax, [0x69f3c0]
mov dword [esp], eax
mov dword [esp + 4], 1
call sym.runtime.makechan
mov eax, dword [0x911a40]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x64aab5
mov eax, dword [esp + 0x134]
jmp 0x64aacc
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 0x64aae0
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 0x64af3d
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 0x64ae4c
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 0x64adaa
mov ebx, dword [eax + 0x10]
test ebx, ebx
je 0x64abab
mov edx, dword [ebx + 0x38]
test edx, edx
je 0x64abab
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.00471f16
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 0x64acb4
mov eax, dword [0x8e9fe0]
mov ecx, dword [0x8e9fe4]
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], ecx
mov eax, dword [esp + 0x134]
jmp 0x64ad4e
cmp eax, 1
je 0x64ad1e
cmp eax, 2
jne 0x64acdb
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 0x64ad4e
cmp eax, 3
jne 0x64acff
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov eax, dword [esp + 0x134]
jmp 0x64ad4e
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov eax, dword [esp + 0x134]
jmp 0x64ad4e
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 0x64b188
mov dword [esp], ecx
call sym.time.stopTimer
mov eax, dword [esp + 0x140]
test eax, eax
je 0x64ada3
mov ecx, dword [esp + 0x134]
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x64ad9c
mov edx, dword [ecx + 0x3c]
test edx, edx
je 0x64ad9c
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 0x64ae3c
cmp dword [0x8e9fe8], eax
jne 0x64ae07
mov edx, dword [0x8e9fec]
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 0x64ae07
mov eax, dword [esp + 0x134]
jmp 0x64ae53
mov eax, dword [esp + 0x134]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x64ae35
mov edx, dword [eax + 0x3c]
test edx, edx
je 0x64ae35
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 0x64ae53
mov byte [eax + 0xc8], 1
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x64ae81
mov edx, dword [ecx + 0x3c]
test edx, edx
je 0x64ae81
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 0x64ae9f
mov ebx, dword [edx + 0xa0]
mov edx, dword [edx + 0xa4]
jmp 0x64aea3
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 0x64aecc
xor ecx, ecx
xor edx, edx
jmp 0x64af4f
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 0x64af4f
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.00471f14
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 0x64b14b
cmp eax, 1
je 0x64b0ff
cmp eax, 2
je 0x64b0c1
cmp eax, 3
je 0x64af44
cmp eax, 4
jne 0x64b088
mov eax, dword [0x8e9fa8]
mov ecx, dword [0x8e9fac]
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], ecx
movzx eax, byte [esp + 0x23]
test al, 1
je 0x64b081
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 0x64b0ba
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 0x64b0f8
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 0x64b144
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 [0x8e9fe0]
mov ecx, dword [0x8e9fe4]
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], ecx
movzx eax, byte [esp + 0x23]
test al, 1
je 0x64b181
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, [0x6a6280]
mov dword [esp], eax
lea eax, [0x756a64]
mov dword [esp + 4], eax
call sym.runtime.gopanic
lea eax, [0x6a6280]
mov dword [esp], eax
lea eax, [0x756ac4]
mov dword [esp + 4], eax
call sym.runtime.gopanic
lea eax, [0x6a6280]
mov dword [esp], eax
lea eax, [0x756abc]
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