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

Disassembly:
mov ecx, dword [0x911770]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x65cbba
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 0x65c510
xor ebx, ebx
xor edx, edx
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
jmp 0x65c905
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 0x65c6d4
mov ecx, dword [eax + 0x28]
cmp dword [ecx + 4], 7
jne 0x65c6d4
mov ecx, dword [ecx]
cmp dword [ecx], 0x6e756863
jne 0x65c6d4
cmp word [ecx + 4], 0x656b
jne 0x65c6d4
cmp byte [ecx + 6], 0x64
jne 0x65c6d4
mov ecx, dword [esp + 0x8c]
lea ebp, [0x75766c]
cmp ecx, ebp
jne 0x65c585
mov ebp, dword [esp + 0x90]
jmp 0x65c58a
mov ebp, 0
jne 0x65c5dc
movzx esi, byte [eax + 0x3c]
xchg esi, eax
test al, al
xchg esi, eax
je 0x65c59f
mov ebp, dword [esp + 0x90]
jmp 0x65c5e3
mov dword [esp + 0x4c], ebp
lea eax, [0x6d8fa0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [0x911a40]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x65c5c5
mov eax, dword [esp + 0x4c]
jmp 0x65c5d0
call sym.runtime.gcWriteBarrier1
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
mov dword [ecx], eax
mov ebp, ecx
lea ecx, [0x7576fc]
jmp 0x65c5e3
mov ebp, dword [esp + 0x90]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x48], ebp
lea eax, [0x6b2f60]
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 [0x911a40]
test edx, edx
jne 0x65c613
mov edx, dword [esp + 0x48]
jmp 0x65c61e
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 [0x7581d8]
lea ebx, [0x8eab98]
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 0x65c6c3
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, [0x6e88e5]
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 0x65c8f6
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 0x65c7de
cmp dword [eax + 4], 7
jne 0x65c795
mov ecx, dword [eax]
cmp dword [ecx], 0x4e4e4f43
jne 0x65c785
cmp word [ecx + 4], 0x4345
jne 0x65c775
cmp byte [ecx + 6], 0x54
je 0x65c72c
mov ecx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x90]
jmp 0x65c7a3
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x78], ecx
lea edx, [0x6bc660]
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, [0x75770c]
mov ebp, eax
mov eax, dword [esp + 0x88]
jmp 0x65c7a3
mov ecx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x90]
jmp 0x65c7a3
mov ecx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x90]
jmp 0x65c7a3
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 0x65c8e8
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], ebp
lea eax, [0x6ba180]
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 [0x911a40]
test edx, edx
jne 0x65c80e
mov edx, dword [esp + 0x50]
jmp 0x65c819
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, [0x7576bc]
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 0x65cb97
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], edx
mov eax, dword [0x8ea3d0]
mov ecx, dword [0x8ea3d4]
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 0x65cb80
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 0x65c959
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 0x65cb57
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 0x65ca6d
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 0x65ca65
cmp edx, esi
setne al
cmp ebx, edi
setne cl
or ecx, eax
test cl, cl
jne 0x65c9a0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
jmp 0x65ca6d
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, [0x6a6440]
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, [0x6a6440]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
lea eax, [0x6f7f49]
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 0x65cb40
mov ebx, dword [ebp + 0x28]
cmp dword [ebx + 4], 7
jne 0x65cb40
mov ebx, dword [ebx]
cmp dword [ebx], 0x6e756863
jne 0x65cb40
cmp word [ebx + 4], 0x656b
jne 0x65cb40
cmp byte [ebx + 6], 0x64
jne 0x65cb40
mov edx, dword [ebp + 0x38]
test edx, edx
je 0x65cae1
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 0x65cb17
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x6e8836]
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 0x65cb40
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