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

Disassembly:
mov ecx, dword [0x8ef630]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x651fd7
sub esp, 0x7c
nop
lea edi, [esp + 0x54]
xor eax, eax
call fcn.00471cfb
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x54], ecx
lea edx, [0x6c52c0]
mov dword [esp], edx
call sym.runtime.newobject
mov ecx, dword [0x8ef900]
mov edx, dword [esp + 4]
test ecx, ecx
jne 0x651863
mov eax, dword [esp + 0x84]
jmp 0x651871
call sym.runtime.gcWriteBarrier1
mov eax, dword [esp + 0x84]
mov dword [edi], eax
mov dword [esp + 0x40], edx
mov dword [edx + 0x44], eax
nop
lea eax, [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], 0xffffffff
call sym.net_textproto._Reader_.readLineSlice
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x4c], ebx
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.slicebytetostring
mov eax, dword [esp + 0x30]
test eax, eax
je 0x65192d
cmp dword [0x8c82d8], eax
je 0x6518d7
mov ebx, dword [esp + 0x4c]
jmp 0x651910
mov ecx, dword [0x8c82dc]
mov dword [esp], eax
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x651908
mov eax, dword [0x8c82e0]
mov ebx, dword [0x8c82e4]
jmp 0x651910
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ebx
add esp, 0x7c
ret
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
nop
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x7402b8]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call sym.internal_stringslite.Cut
movzx eax, byte [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test al, al
je 0x651f16
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x40]
mov dword [ebp + 0x10], eax
mov eax, dword [0x8ef900]
test eax, eax
je 0x651997
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], eax
mov dword [ebp + 0xc], ebx
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x7402b8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call sym.strings.TrimLeft
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x40]
mov dword [edx + 4], eax
mov ebx, dword [0x8ef900]
test ebx, ebx
je 0x6519dd
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov ebx, dword [edx]
mov dword [edi + 4], ebx
mov dword [edx], ecx
nop
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x7402b8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call sym.internal_stringslite.Cut
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
cmp eax, 3
jne 0x651e55
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.strconv.Atoi
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x40]
mov dword [edx + 8], eax
test ecx, ecx
jne 0x651a3e
test eax, eax
jge 0x651aff
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea eax, [0x6dd639]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x695420]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x695420]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
lea eax, [0x6d599f]
mov dword [esp], eax
mov dword [esp + 4], 5
lea eax, [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x7c
ret
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.net_http.ParseHTTPVersion
movzx eax, byte [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x40]
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x18], edx
test al, al
je 0x651d86
nop
lea eax, [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], 0x7fffffff
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], 0x7fffffff
call sym.net_textproto.readMIMEHeader
mov eax, dword [esp + 0x18]
test eax, eax
je 0x651bcb
mov ecx, dword [esp + 0x1c]
cmp dword [0x8c82d8], eax
jne 0x651bae
mov dword [esp + 0x48], ecx
mov dword [esp + 0x2c], eax
mov edx, dword [0x8c82dc]
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 0x651ba6
mov eax, dword [0x8c82e0]
mov ecx, dword [0x8c82e4]
jmp 0x651bae
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x7c
ret
mov eax, dword [0x8ef900]
mov ecx, dword [esp + 0x14]
test eax, eax
jne 0x651bdf
mov eax, dword [esp + 0x40]
jmp 0x651bf0
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [esp + 0x40]
mov edx, dword [eax + 0x1c]
mov dword [edi + 4], edx
mov dword [eax + 0x1c], ecx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x44], ecx
lea edx, [0x6c7980]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ebx, [0x6d5bc9]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 6
call sym.runtime.mapaccess2_faststr
movzx eax, byte [esp + 0x14]
test al, al
je 0x651d17
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x651d17
mov eax, dword [eax]
cmp dword [eax + 4], 8
jne 0x651d17
mov eax, dword [eax]
cmp dword [eax], 0x632d6f6e
jne 0x651d17
cmp dword [eax + 4], 0x65686361
jne 0x651d17
lea eax, [0x6c7980]
mov dword [esp], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
lea edx, [0x6d796f]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0xd
call sym.runtime.mapaccess2_faststr
movzx eax, byte [esp + 0x14]
test al, al
jne 0x651d17
lea eax, [0x6917e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x78], eax
mov dword [eax + 4], 8
lea ecx, [0x6d6188]
mov dword [eax], ecx
lea ecx, [0x6c7980]
mov dword [esp], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
lea ecx, [0x6d796f]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0xd
call sym.runtime.mapassign_faststr
mov eax, dword [esp + 0x10]
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov ecx, dword [0x8ef900]
test ecx, ecx
jne 0x651d05
mov ecx, dword [esp + 0x78]
jmp 0x651d15
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ecx
lea eax, [0x6bfac0]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 8], ecx
call sym.net_http.readTransfer
mov eax, dword [esp + 0xc]
test eax, eax
je 0x651d61
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x7c
ret
mov eax, dword [esp + 0x40]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x7c
ret
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x3c], eax
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea edx, [0x6db4cb]
mov dword [esp], edx
mov dword [esp + 4], 0x16
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x695420]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x695420]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
lea eax, [0x6d599f]
mov dword [esp], eax
mov dword [esp + 4], 5
lea eax, [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x7c
ret
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea eax, [0x6dd639]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x695420]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x695420]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
lea eax, [0x6d599f]
mov dword [esp], eax
mov dword [esp + 4], 5
lea eax, [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x7c
ret
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea eax, [0x6dbcfb]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x695420]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x695420]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
lea eax, [0x6d599f]
mov dword [esp], eax
mov dword [esp + 4], 5
lea eax, [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x7c
ret
call sym.runtime.morestack_noctxt
jmp sym.net_http.ReadResponse