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

Disassembly:
mov ecx, dword [0x92707c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x66c18a
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 0x66bae0
xor ebx, ebx
xor edx, edx
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
jmp 0x66bed5
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 0x66bca4
mov ecx, dword [eax + 0x28]
cmp dword [ecx + 4], 7
jne 0x66bca4
mov ecx, dword [ecx]
cmp dword [ecx], 0x6e756863
jne 0x66bca4
cmp word [ecx + 4], 0x656b
jne 0x66bca4
cmp byte [ecx + 6], 0x64
jne 0x66bca4
mov ecx, dword [esp + 0x8c]
lea ebp, [0x7651a4]
cmp ecx, ebp
jne 0x66bb55
mov ebp, dword [esp + 0x90]
jmp 0x66bb5a
mov ebp, 0
jne 0x66bbac
movzx esi, byte [eax + 0x3c]
xchg esi, eax
test al, al
xchg esi, eax
je 0x66bb6f
mov ebp, dword [esp + 0x90]
jmp 0x66bbb3
mov dword [esp + 0x4c], ebp
lea eax, [0x6e4e20]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [0x927358]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x66bb95
mov eax, dword [esp + 0x4c]
jmp 0x66bba0
call sym.runtime.gcWriteBarrier1
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
mov dword [ecx], eax
mov ebp, ecx
lea ecx, [0x765350]
jmp 0x66bbb3
mov ebp, dword [esp + 0x90]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x48], ebp
lea eax, [0x6bed80]
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 [0x927358]
test edx, edx
jne 0x66bbe3
mov edx, dword [esp + 0x48]
jmp 0x66bbee
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 [0x765dcc]
lea ebx, [0x8fcab0]
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 0x66bc93
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, [0x6f42ae]
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 0x66bec6
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 0x66bdae
cmp dword [eax + 4], 7
jne 0x66bd65
mov ecx, dword [eax]
cmp dword [ecx], 0x4e4e4f43
jne 0x66bd55
cmp word [ecx + 4], 0x4345
jne 0x66bd45
cmp byte [ecx + 6], 0x54
je 0x66bcfc
mov ecx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x90]
jmp 0x66bd73
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x78], ecx
lea edx, [0x6c8320]
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, [0x765360]
mov ebp, eax
mov eax, dword [esp + 0x88]
jmp 0x66bd73
mov ecx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x90]
jmp 0x66bd73
mov ecx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x90]
jmp 0x66bd73
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 0x66beb8
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], ebp
lea eax, [0x6c4d60]
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 [0x927358]
test edx, edx
jne 0x66bdde
mov edx, dword [esp + 0x50]
jmp 0x66bde9
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, [0x7652c0]
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 0x66c167
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], edx
mov eax, dword [0x8fbe38]
mov ecx, dword [0x8fbe3c]
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 0x66c150
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 0x66bf29
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 0x66c127
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 0x66c03d
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 0x66c035
cmp edx, esi
setne al
cmp ebx, edi
setne cl
or ecx, eax
test cl, cl
jne 0x66bf70
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
jmp 0x66c03d
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, [0x6b2260]
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, [0x6b2260]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
lea eax, [0x704f6f]
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 0x66c110
mov ebx, dword [ebp + 0x28]
cmp dword [ebx + 4], 7
jne 0x66c110
mov ebx, dword [ebx]
cmp dword [ebx], 0x6e756863
jne 0x66c110
cmp word [ebx + 4], 0x656b
jne 0x66c110
cmp byte [ebx + 6], 0x64
jne 0x66c110
mov edx, dword [ebp + 0x38]
test edx, edx
je 0x66c0b1
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 0x66c0e7
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x6f4201]
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 0x66c110
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