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

Disassembly:
mov ecx, dword [0x911770]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x24]
cmp eax, dword [ecx + 8]
jbe 0x646cb6
sub esp, 0xa4
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx]
cmp edx, 5
jne 0x6466a0
cmp dword [ebx], 0x70747468
jne 0x6466a0
cmp byte [ebx + 4], 0x73
je 0x6466be
cmp edx, 4
jne 0x6466f3
cmp dword [ebx], 0x70747468
jne 0x6466f3
mov ebp, dword [esp + 0xa8]
movzx esi, byte [ebp + 0x15]
xchg esi, eax
test al, al
xchg esi, eax
je 0x6466f3
mov eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x14]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call sym.net_http.http2authorityAddr
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0xac]
xor ebx, ebx
jmp 0x64673f
lea eax, [0x6b2a20]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x19
lea ecx, [0x6f0407]
mov dword [eax], ecx
mov dword [esp + 0xb4], 0
lea ecx, [0x75790c]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
add esp, 0xa4
ret
lea ebx, [edx + 1]
mov edx, eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x4c], edx
lea eax, [sym.net_http._http2Transport_.initConnPool_fm]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x9c], ecx
test byte [ecx], al
lea ebp, [ecx + 0x54]
mov dword [esp], ebp
lea ebp, [esp + 0x98]
mov dword [esp + 4], ebp
call sym.sync._Once_.Do
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x60]
mov ecx, dword [ecx + 0xc]
mov edx, dword [eax + 0x64]
mov dword [esp], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0xc], ebp
call ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
jne 0x646bc6
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], eax
test byte [eax], al
lea ecx, [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 1
call sym.sync_atomic.CompareAndSwapUint32
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
xor eax, 1
mov byte [esp + 8], al
call sym.net_http.http2traceGotConn
nop
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call sym.net_http._http2ClientConn_.roundTrip
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
test eax, eax
je 0x646b05
mov ebx, dword [esp + 0x2c]
cmp ebx, 6
jg 0x646b05
mov dword [esp + 0x54], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call sym.net_http.http2shouldRetryRequest
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
jne 0x646aff
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x2c]
test edx, edx
jne 0x646909
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x64689f
mov ecx, dword [ecx + 4]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x84], ecx
movzx ecx, byte [0x911626]
test cl, cl
je 0x64673a
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
lea ecx, [0x6f5910]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x24
lea edx, [esp + 0x80]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call sym.net_http._http2Transport_.logf
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
jmp 0x64673a
lea ecx, [edx - 1]
mov eax, 1
shl eax, cl
cmp ecx, 0x20
sbb ebx, ebx
and eax, ebx
mov dword [esp], eax
call sym.runtime.uint32tofloat64
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x34], xmm0
call sym.math_rand.Float64
movsd xmm0, qword [esp]
movsd xmm1, qword [0x756a5c]
mulsd xmm0, xmm1
movsd xmm2, qword [esp + 0x34]
mulsd xmm0, xmm2
addsd xmm2, xmm0
movsd qword [esp], xmm2
call sym.runtime.float64toint64
mov eax, dword [esp + 8]
mov ecx, eax
mov eax, 0x3b9aca00
mul ecx
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0xa8]
mov dword [esp], ebp
mov dword [esp + 4], eax
imul eax, ebx, 0x3b9aca00
add eax, edx
mov dword [esp + 8], eax
call sym.net_http._http2Transport_.newTimer
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x10]
mov dword [esp + 0x44], edx
mov ebx, dword [eax + 0xc]
mov dword [esp], edx
call ebx
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 0x80]
test edx, edx
je 0x6469ba
mov ecx, dword [eax + 0x84]
jmp 0x6469c6
lea edx, [0x7589d8]
lea ecx, [0x911620]
mov eax, dword [esp + 4]
mov dword [esp + 0xa0], eax
mov edx, dword [edx + 0x10]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x70], eax
lea eax, [esp + 0x70]
mov dword [esp], eax
lea eax, [esp + 0x20]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 2
mov byte [esp + 0x14], 1
call sym.runtime.selectgo
mov eax, dword [esp + 0x18]
test eax, eax
je 0x646abd
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x646a60
mov eax, dword [eax + 4]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x6c], eax
movzx eax, byte [0x911626]
test al, al
je 0x646ab0
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
lea ecx, [0x6f5910]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x24
lea edx, [esp + 0x68]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call sym.net_http._http2Transport_.logf
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
jmp 0x64673a
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x80]
test ecx, ecx
je 0x646ae3
mov eax, dword [eax + 0x84]
jmp 0x646aef
lea ecx, [0x7589d8]
lea eax, [0x911620]
mov ecx, dword [ecx + 0x14]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, ecx
mov ecx, dword [esp + 0x48]
test eax, eax
je 0x646ba2
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
je 0x646b24
mov ecx, dword [eax + 4]
jmp 0x646b26
mov ecx, eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
movzx ecx, byte [0x911626]
test cl, cl
je 0x646b82
mov dword [esp + 0x54], edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
lea eax, [0x6ee1b4]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x15
lea eax, [esp + 0x60]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call sym.net_http._http2Transport_.logf
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x54]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], edx
add esp, 0xa4
ret
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
add esp, 0xa4
ret
mov dword [esp + 0x54], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x6a6280]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x646c33
mov ecx, dword [eax + 4]
jmp 0x646c35
mov ecx, eax
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x94], ecx
movzx edx, byte [0x911626]
test dl, dl
je 0x646c96
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
lea eax, [0x6fb38f]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x35
lea eax, [esp + 0x88]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call sym.net_http._http2Transport_.logf
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
add esp, 0xa4
ret
call sym.runtime.morestack_noctxt
jmp sym.net_http._http2Transport_.RoundTripOpt