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

Disassembly:
mov ecx, dword [0x911770]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x669ddd
sub esp, 0x90
mov eax, 0
mov dword [esp + 0x8c], eax
mov byte [esp + 0x23], 0
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x60]
lea edx, [sym.net_http._persistConn_.writeLoop.deferwrap1]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x8c], ecx
mov byte [esp + 0x23], 1
jmp 0x669b50
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x48]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov edx, dword [eax + 0x4c]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0x80]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x58], edx
lea ecx, [esp + 0x58]
mov dword [esp], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 2
mov byte [esp + 0x14], 1
call sym.runtime.selectgo
mov eax, dword [esp + 0x18]
test eax, eax
je 0x669dba
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x48], edx
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx + 0x3c]
mov dword [esp + 0x2c], ebp
mov esi, dword [ebx + 0x40]
mov dword [esp + 0x30], esi
test eax, eax
je 0x669c31
lea edi, [sym.net_http._persistConn_.writeLoop._persistConn_.waitForContinue.func1]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], eax
lea eax, [esp + 0x4c]
jmp 0x669c33
xor eax, eax
mov dword [esp + 0x44], ecx
mov edx, dword [ecx]
mov ebp, dword [ebx + 0x38]
movzx esi, byte [ebx + 0x50]
mov edi, dword [ecx + 4]
mov dword [esp], edx
lea edx, [0x75766c]
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
xchg esi, eax
mov byte [esp + 0xc], al
xchg esi, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
call sym.net_http._Request_.write
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea edx, [0x7578cc]
cmp eax, edx
jne 0x669ca8
mov eax, dword [ecx]
mov dword [esp + 0x38], eax
mov ecx, dword [ecx + 4]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x44]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.net_http._transportRequest_.setError
lea edx, [0x7578cc]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
test eax, eax
jne 0x669ccc
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x38]
mov dword [esp], ecx
call sym.bufio._Writer_.Flush
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
lea edx, [0x7578cc]
test eax, eax
je 0x669d2e
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x94]
cmp dword [ebp + 0x3c], ebx
sete bl
mov esi, dword [esp + 0x30]
cmp dword [ebp + 0x40], esi
xchg esi, ebx
sete bl
xchg esi, ebx
and esi, ebx
xchg esi, eax
test al, al
xchg esi, eax
je 0x669d35
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
lea eax, [0x6c4f00]
mov dword [esp], eax
lea ecx, [esp + 0x78]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x7578cc]
mov ebp, dword [esp + 0x94]
lea eax, [0x75789c]
jmp 0x669d35
mov ebp, dword [esp + 0x94]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov edx, dword [ebp + 0x5c]
mov dword [esp], edx
lea edx, [esp + 0x70]
mov dword [esp + 4], edx
call sym.runtime.chansend1
mov eax, dword [esp + 0x34]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x48]
mov dword [esp], edx
lea edx, [esp + 0x70]
mov dword [esp + 4], edx
call sym.runtime.chansend1
mov eax, dword [esp + 0x34]
test eax, eax
je 0x669b49
mov ecx, dword [esp + 0x94]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
call sym.net_http._persistConn_.close
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x8c]
mov eax, dword [edx]
call eax
add esp, 0x90
ret
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x8c]
mov eax, dword [edx]
call eax
add esp, 0x90
ret
call sym.runtime.morestack_noctxt
jmp sym.net_http._persistConn_.writeLoop