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

Disassembly:
mov ecx, dword [0x911770]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x65d67d
sub esp, 0x70
lea edi, [esp + 0x40]
xor eax, eax
call fcn.00471f14
mov dword [esp + 0x4c], 3
lea ecx, [0x6e88ca]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x65d664
mov eax, dword [ecx + 8]
mov dword [esp + 0x34], eax
cmp eax, 0xa28aa5f0
jne 0x65cfa9
lea edx, [0x6e1fc0]
cmp ecx, edx
jne 0x65d664
mov ebx, dword [esp + 0x78]
mov ebp, dword [ebx + 0x1c]
mov dword [esp + 0x40], ebp
mov ebp, dword [ebx]
mov esi, dword [ebx + 4]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebp
mov ebp, dword [ebx + 0x14]
mov dword [esp + 0x50], ebp
mov ebp, dword [ebx + 0x18]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x44], 0xc8
movzx ebp, byte [ebx + 0x40]
xchg ebp, eax
mov byte [esp + 0x69], al
xchg ebp, eax
jmp 0x65d02a
cmp eax, 0xebf45122
jne 0x65d664
lea edx, [0x6d23e0]
cmp ecx, edx
jne 0x65d664
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x50], edx
mov ebx, dword [eax + 0x18]
mov dword [esp + 0x54], ebx
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov byte [esp + 0xc], 1
call sym.net_http.shouldClose
movzx eax, byte [esp + 0x10]
mov byte [esp + 0x69], al
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x65d018
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], edx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x74]
lea edx, [0x6e1fc0]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x50]
test ebp, ebp
jne 0x65d04a
mov ebp, dword [esp + 0x54]
test ebp, ebp
jne 0x65d04a
mov dword [esp + 0x50], 1
mov dword [esp + 0x54], 1
lea eax, [esp + 0x40]
mov dword [esp], eax
call sym.net_http._transferReader_.parseTransferEncoding
mov eax, dword [esp + 4]
test eax, eax
jne 0x65d64e
mov eax, dword [esp + 0x34]
cmp eax, 0xa28aa5f0
setne cl
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x40]
movzx edi, byte [esp + 0x68]
mov byte [esp], cl
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
xchg edi, eax
mov byte [esp + 0x14], al
xchg edi, eax
call sym.net_http.fixLength
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x65d638
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x34]
cmp edx, 0xa28aa5f0
je 0x65d158
cmp dword [esp + 0x4c], 4
jne 0x65d158
mov ebx, dword [esp + 0x48]
cmp dword [ebx], 0x44414548
jne 0x65d158
mov eax, dword [esp + 0x40]
lea ecx, [0x6da460]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x6eb21d]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0xe
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym.net_http.parseContentLength
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x65d142
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
jmp 0x65d160
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x70
ret
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x40]
movzx ecx, byte [esp + 0x68]
mov dword [esp], eax
mov byte [esp + 4], cl
call sym.net_http.fixTrailer
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x6c], ecx
test eax, eax
jne 0x65d626
mov eax, dword [esp + 0x74]
cmp dword [eax + 8], 0xebf45122
jne 0x65d1f0
lea ecx, [0x6d23e0]
cmp eax, ecx
jne 0x65d1f6
mov edx, dword [esp + 0x28]
cmp edx, 0xffffffff
sete bl
mov ebp, dword [esp + 0x2c]
cmp ebp, 0xffffffff
xchg esi, ebx
sete bl
xchg esi, ebx
and esi, ebx
xchg esi, eax
test al, al
xchg esi, eax
je 0x65d1fe
movzx ebx, byte [esp + 0x68]
test bl, bl
jne 0x65d1fe
mov ebx, dword [esp + 0x44]
lea esi, [ebx - 0x64]
cmp esi, 0x63
jbe 0x65d1fe
cmp ebx, 0xcc
je 0x65d1fe
cmp ebx, 0x130
je 0x65d1fe
mov byte [esp + 0x69], 1
jmp 0x65d1fe
lea ecx, [0x6d23e0]
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
movzx ebx, byte [esp + 0x68]
test bl, bl
je 0x65d2ff
mov edx, dword [esp + 0x34]
cmp edx, 0xa28aa5f0
je 0x65d265
cmp dword [esp + 0x4c], 4
jne 0x65d22a
mov edx, dword [esp + 0x48]
cmp dword [edx], 0x44414548
je 0x65d246
mov edx, dword [esp + 0x44]
lea ebx, [edx - 0x64]
cmp ebx, 0x63
jbe 0x65d246
cmp edx, 0xcc
je 0x65d246
cmp edx, 0x130
jne 0x65d265
lea edx, [0x757fb8]
mov dword [esp + 0x58], edx
lea edx, [0x911620]
mov dword [esp + 0x5c], edx
mov ecx, eax
mov edx, dword [esp + 0x78]
jmp 0x65d470
lea eax, [0x7576ec]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call sym.net_http_internal.NewChunkedReader
mov eax, dword [esp + 8]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3c], ecx
lea edx, [0x6d4ae0]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov ecx, dword [0x911a40]
test ecx, ecx
jne 0x65d2bb
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
jmp 0x65d2d4
call sym.runtime.gcWriteBarrier3
mov ecx, dword [esp + 0x3c]
mov dword [edi], ecx
mov edx, dword [esp + 0x78]
mov dword [edi + 4], edx
mov ebx, dword [esp + 0x7c]
mov dword [edi + 8], ebx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
movzx ebx, byte [esp + 0x69]
mov byte [eax + 0x14], bl
lea ebx, [0x757fe0]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], eax
jmp 0x65d470
test edx, edx
sete bl
test ebp, ebp
xchg esi, ebx
sete bl
xchg esi, ebx
and ebx, esi
test bl, bl
je 0x65d332
lea edx, [0x757fb8]
mov dword [esp + 0x58], edx
lea edx, [0x911620]
mov dword [esp + 0x5c], edx
mov ecx, eax
mov edx, dword [esp + 0x78]
jmp 0x65d470
test edx, edx
seta bl
test ebp, ebp
xchg edi, ebx
setg bl
xchg edi, ebx
and ebx, esi
or edi, ebx
xchg edi, eax
test al, al
xchg edi, eax
jne 0x65d3d0
movzx edx, byte [esp + 0x69]
test dl, dl
jne 0x65d36d
lea edx, [0x757fb8]
mov dword [esp + 0x58], edx
lea edx, [0x911620]
mov dword [esp + 0x5c], edx
jmp 0x65d3c5
lea eax, [0x6d4ae0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [0x7576ec]
mov dword [eax], ecx
mov ecx, dword [0x911a40]
test ecx, ecx
jne 0x65d397
mov ecx, dword [esp + 0x7c]
jmp 0x65d3a2
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x7c]
mov dword [edi], ecx
mov dword [eax + 4], ecx
movzx ecx, byte [esp + 0x69]
mov byte [eax + 0x14], cl
lea ecx, [0x757fe0]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x74]
lea ecx, [0x6d23e0]
mov ecx, eax
mov edx, dword [esp + 0x78]
jmp 0x65d470
lea eax, [0x6ba180]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [0x7576ec]
mov dword [eax], ecx
mov ecx, dword [0x911a40]
test ecx, ecx
jne 0x65d3fa
mov ecx, dword [esp + 0x7c]
jmp 0x65d405
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x7c]
mov dword [edi], ecx
mov dword [esp + 0x38], eax
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
lea ecx, [0x6d4ae0]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [0x7576bc]
mov dword [eax], ecx
mov ecx, dword [0x911a40]
test ecx, ecx
jne 0x65d444
mov ecx, dword [esp + 0x38]
jmp 0x65d44f
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x38]
mov dword [edi], ecx
mov dword [eax + 4], ecx
movzx ecx, byte [esp + 0x69]
mov byte [eax + 0x14], cl
lea ecx, [0x757fe0]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov eax, dword [ecx + 8]
cmp eax, 0xa28aa5f0
jne 0x65d542
lea eax, [0x6e1fc0]
cmp ecx, eax
jne 0x65d60c
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [edx + 0x20], eax
mov eax, dword [0x911a40]
test eax, eax
je 0x65d4ae
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx + 0x24]
mov dword [edi + 4], eax
mov dword [edx + 0x24], ecx
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], ecx
movzx eax, byte [esp + 0x68]
test al, al
je 0x65d517
lea eax, [0x6a2380]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 7
lea ecx, [0x6e9167]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [ecx + 0x38], 1
mov dword [ecx + 0x3c], 1
mov edx, dword [0x911a40]
test edx, edx
je 0x65d512
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov edx, dword [ecx + 0x34]
mov dword [edi + 4], edx
mov dword [ecx + 0x34], eax
mov edx, ecx
movzx eax, byte [esp + 0x69]
mov byte [edx + 0x40], al
mov eax, dword [0x911a40]
mov ecx, dword [esp + 0x6c]
test eax, eax
je 0x65d53a
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx + 0x58]
mov dword [edi + 4], eax
mov dword [edx + 0x58], ecx
jmp 0x65d60c
cmp eax, 0xebf45122
jne 0x65d60c
lea eax, [0x6d23e0]
cmp ecx, eax
jne 0x65d60c
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [edx + 0x20], eax
mov eax, dword [0x911a40]
test eax, eax
je 0x65d57d
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx + 0x24]
mov dword [edi + 4], eax
mov dword [edx + 0x24], ecx
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [edx + 0x28], eax
mov dword [edx + 0x2c], ecx
movzx eax, byte [esp + 0x68]
test al, al
je 0x65d5e6
lea eax, [0x6a2380]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 7
lea ecx, [0x6e9167]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [ecx + 0x34], 1
mov dword [ecx + 0x38], 1
mov edx, dword [0x911a40]
test edx, edx
je 0x65d5e1
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov edx, dword [ecx + 0x30]
mov dword [edi + 4], edx
mov dword [ecx + 0x30], eax
mov edx, ecx
movzx eax, byte [esp + 0x69]
mov byte [edx + 0x3c], al
mov eax, dword [0x911a40]
mov ecx, dword [esp + 0x6c]
test eax, eax
je 0x65d609
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx + 0x40]
mov dword [edi + 4], eax
mov dword [edx + 0x40], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x70
ret
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x70
ret
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x70
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x70
ret
lea eax, [0x6a6280]
mov dword [esp], eax
lea eax, [0x756ae4]
mov dword [esp + 4], eax
call sym.runtime.gopanic
nop
call sym.runtime.morestack_noctxt
jmp sym.net_http.readTransfer