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

Disassembly:
mov ecx, dword [0x8ef630]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x65756a
sub esp, 0x84
mov eax, 0
mov dword [esp + 0x80], eax
mov byte [esp + 0x27], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov byte [esp + 0x26], 0
lea eax, [sym.net_http._transferWriter_.writeBody.func1]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x26]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0x94]
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x80], ecx
mov byte [esp + 0x27], 1
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x656ec0
xor ebx, ebx
xor edx, edx
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
jmp 0x6572b5
mov dword [esp], eax
call sym.net_http._transferWriter_.unwrapBody
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp + 4]
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 8]
mov dword [esp + 0x50], ebx
test ecx, ecx
je 0x657084
mov ecx, dword [eax + 0x28]
cmp dword [ecx + 4], 7
jne 0x657084
mov ecx, dword [ecx]
cmp dword [ecx], 0x6e756863
jne 0x657084
cmp word [ecx + 4], 0x656b
jne 0x657084
cmp byte [ecx + 6], 0x64
jne 0x657084
mov ecx, dword [esp + 0x8c]
lea ebp, [0x742450]
cmp ecx, ebp
jne 0x656f35
mov ebp, dword [esp + 0x90]
jmp 0x656f3a
mov ebp, 0
jne 0x656f8c
movzx esi, byte [eax + 0x3c]
xchg esi, eax
test al, al
xchg esi, eax
je 0x656f4f
mov ebp, dword [esp + 0x90]
jmp 0x656f93
mov dword [esp + 0x4c], ebp
lea eax, [0x6c64c0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [0x8ef900]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x656f75
mov eax, dword [esp + 0x4c]
jmp 0x656f80
call sym.runtime.gcWriteBarrier1
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
mov dword [ecx], eax
mov ebp, ecx
lea ecx, [0x7424d0]
jmp 0x656f93
mov ebp, dword [esp + 0x90]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x48], ebp
lea eax, [0x6a1580]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
mov edx, dword [0x8ef900]
test edx, edx
jne 0x656fc3
mov edx, dword [esp + 0x48]
jmp 0x656fce
call sym.runtime.gcWriteBarrier1
mov edx, dword [esp + 0x48]
mov dword [edi], edx
mov dword [esp + 0x7c], eax
mov dword [eax + 4], edx
mov ecx, dword [0x742e98]
lea ebx, [0x8c8f48]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call sym.runtime.typeAssert
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x10], edx
call sym.net_http._transferWriter_.doBodyCopy
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
test eax, eax
jne 0x657073
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x6d55db]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
call sym.io.WriteString
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
xor ebx, ebx
xor edx, edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x48]
jmp 0x6572a6
mov ecx, dword [eax + 0x1c]
mov ebp, dword [eax + 0x20]
cmp ecx, 0xffffffff
xchg esi, ebx
sete bl
xchg esi, ebx
cmp ebp, 0xffffffff
xchg edi, ebx
sete bl
xchg edi, ebx
and edi, esi
xchg edi, eax
test al, al
xchg edi, eax
je 0x65718e
cmp dword [eax + 4], 7
jne 0x657145
mov ecx, dword [eax]
cmp dword [ecx], 0x4e4e4f43
jne 0x657135
cmp word [ecx + 4], 0x4345
jne 0x657125
cmp byte [ecx + 6], 0x54
je 0x6570dc
mov ecx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x90]
jmp 0x657153
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x78], ecx
lea edx, [0x6aa4c0]
mov dword [esp], edx
lea edx, [esp + 0x74]
mov dword [esp + 4], edx
call sym.runtime.convT
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x50]
lea ecx, [0x7424e0]
mov ebp, eax
mov eax, dword [esp + 0x88]
jmp 0x657153
mov ecx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x90]
jmp 0x657153
mov ecx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x90]
jmp 0x657153
mov ecx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call sym.net_http._transferWriter_.doBodyCopy
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
jmp 0x657298
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], ebp
lea eax, [0x6a7200]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x38]
mov dword [eax], ecx
mov edx, dword [0x8ef900]
test edx, edx
jne 0x6571be
mov edx, dword [esp + 0x50]
jmp 0x6571c9
call sym.runtime.gcWriteBarrier1
mov edx, dword [esp + 0x50]
mov dword [edi], edx
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x90]
mov dword [esp + 8], ebp
lea esi, [0x742400]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
call sym.net_http._transferWriter_.doBodyCopy
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
test eax, eax
jne 0x657547
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], edx
mov eax, dword [0x8c82f0]
mov ecx, dword [0x8c82f4]
mov edx, dword [esp + 0x88]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x10], eax
call sym.net_http._transferWriter_.doBodyCopy
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov eax, dword [esp + 0x30]
add edx, eax
mov eax, dword [esp + 0x34]
adc ebx, eax
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov ebp, dword [esp + 0x94]
test ebp, ebp
jne 0x657530
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ebx
mov ebp, dword [esp + 0x88]
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x657309
mov byte [esp + 0x26], 1
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
test eax, eax
jne 0x657507
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x88]
movzx esi, byte [ebp + 0x18]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x65741d
mov esi, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x20]
cmp esi, 0xffffffff
setne cl
cmp edi, 0xffffffff
setne al
or ecx, eax
test cl, cl
je 0x657415
cmp edx, esi
setne al
cmp ebx, edi
setne cl
or ecx, eax
test cl, cl
jne 0x657350
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
jmp 0x65741d
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.convT64
mov eax, dword [esp + 8]
lea ecx, [0x6955e0]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call sym.runtime.convT64
mov eax, dword [esp + 8]
lea ecx, [0x6955e0]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
lea eax, [0x6e46a5]
mov dword [esp], eax
mov dword [esp + 4], 0x2a
lea eax, [esp + 0x64]
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 + 0x94], eax
mov dword [esp + 0x98], ecx
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x80]
mov eax, dword [edx]
call eax
add esp, 0x84
ret
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
mov ebx, dword [ebp + 0x2c]
test ebx, ebx
je 0x6574f0
mov ebx, dword [ebp + 0x28]
cmp dword [ebx + 4], 7
jne 0x6574f0
mov ebx, dword [ebx]
cmp dword [ebx], 0x6e756863
jne 0x6574f0
cmp word [ebx + 4], 0x656b
jne 0x6574f0
cmp byte [ebx + 6], 0x64
jne 0x6574f0
mov edx, dword [ebp + 0x38]
test edx, edx
je 0x657491
nop
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call sym.net_http.Header.writeSubset
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x6574c7
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x6d5537]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
call sym.io.WriteString
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
jmp 0x6574f0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x80]
mov eax, dword [edx]
call eax
add esp, 0x84
ret
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x80]
mov eax, dword [edx]
call eax
add esp, 0x84
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x80]
mov eax, dword [edx]
call eax
add esp, 0x84
ret
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x80]
mov eax, dword [edx]
call eax
add esp, 0x84
ret
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x80]
mov eax, dword [edx]
call eax
add esp, 0x84
ret
call sym.runtime.morestack_noctxt
jmp sym.net_http._transferWriter_.writeBody