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

Disassembly:
mov ecx, dword [0x911770]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xa8]
cmp eax, dword [ecx + 8]
jbe 0x66ae67
sub esp, 0x128
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
mov edx, dword [0x8e9cb8]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x12c]
test byte [eax], al
lea ecx, [eax + 0x7c]
mov dword [esp + 0x124], ecx
mov dword [esp], ecx
call sym.sync._Mutex_.Lock
mov eax, dword [esp + 0x12c]
inc dword [eax + 0x84]
mov ecx, dword [eax + 0x9c]
mov dword [esp + 0x7c], ecx
mov ebx, dword [esp + 0x124]
mov dword [esp], ebx
call sym.sync._Mutex_.Unlock
mov edx, dword [esp + 0x7c]
test edx, edx
je 0x66a363
mov eax, dword [esp + 0x130]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x66a359
call sym.runtime.makemap_small
mov eax, dword [0x911a40]
mov ecx, dword [esp]
test eax, eax
jne 0x66a33e
mov eax, dword [esp + 0x130]
jmp 0x66a352
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [esp + 0x130]
mov ebx, dword [eax + 4]
mov dword [edi + 4], ebx
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x7c]
mov ecx, dword [edx]
mov ebx, dword [eax + 4]
mov dword [esp], ebx
call ecx
mov eax, dword [esp + 0x12c]
mov ecx, dword [eax + 8]
movzx ecx, byte [ecx + 0x89]
test cl, cl
je 0x66a37c
xor ecx, ecx
jmp 0x66a3ed
mov eax, dword [esp + 0x130]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x1c]
mov dword [esp], ecx
lea ecx, [0x6eb7ed]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xf
call sym.net_textproto.MIMEHeader.Get
mov eax, dword [esp + 0x10]
test eax, eax
je 0x66a3b5
mov eax, dword [esp + 0x12c]
xor ecx, ecx
jmp 0x66a3ed
mov eax, dword [esp + 0x130]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x1c]
mov dword [esp], ecx
lea ecx, [0x6e8c8b]
mov dword [esp + 4], ecx
mov dword [esp + 8], 5
call sym.net_textproto.MIMEHeader.Get
mov eax, dword [esp + 0x10]
test eax, eax
sete al
mov ecx, eax
mov eax, dword [esp + 0x12c]
test cl, cl
je 0x66a523
mov ecx, dword [esp + 0x130]
mov edx, dword [ecx]
cmp dword [edx + 4], 4
jne 0x66a412
mov edx, dword [edx]
cmp dword [edx], 0x44414548
je 0x66a51f
mov edx, dword [ecx + 4]
nop
test edx, edx
jne 0x66a44e
call sym.runtime.makemap_small
mov eax, dword [0x911a40]
mov ecx, dword [esp]
test eax, eax
jne 0x66a435
mov eax, dword [esp + 0x130]
jmp 0x66a449
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [esp + 0x130]
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov dword [eax + 4], ecx
mov ecx, eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x64], eax
nop
lea edx, [0x6eb7ed]
mov dword [esp], edx
mov dword [esp + 4], 0xf
call sym.net_textproto.CanonicalMIMEHeaderKey
mov eax, dword [esp + 8]
mov dword [esp + 0x120], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], ecx
lea edx, [0x6a2380]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x11c], eax
mov dword [eax + 4], 4
lea ecx, [0x6e8ade]
mov dword [eax], ecx
lea ecx, [0x6d1860]
mov dword [esp], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x120]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0xc], edx
call sym.runtime.mapassign_faststr
mov eax, dword [esp + 0x10]
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov ecx, dword [0x911a40]
test ecx, ecx
jne 0x66a4f5
mov ecx, dword [esp + 0x11c]
jmp 0x66a508
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x11c]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ecx
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x130]
mov edx, 1
jmp 0x66a52c
xor edx, edx
jmp 0x66a52c
mov ecx, dword [esp + 0x130]
xor edx, edx
mov byte [esp + 0x23], dl
mov ebx, dword [ecx]
mov ebp, dword [ebx + 0x14]
cmp ebp, 1
jg 0x66a543
jne 0x66a5ab
mov ebp, dword [ebx + 0x18]
test ebp, ebp
jle 0x66a5a7
mov ebp, dword [ebx + 0x20]
test ebp, ebp
jne 0x66a54e
xor ebx, ebx
jmp 0x66a5ad
mov dword [esp], ebx
call sym.net_http._Request_.expectsContinue
movzx eax, byte [esp + 4]
test al, al
jne 0x66a576
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x130]
movzx edx, byte [esp + 0x23]
xor ebx, ebx
jmp 0x66a5ad
lea eax, [0x69f3c0]
mov dword [esp], eax
mov dword [esp + 4], 1
call sym.runtime.makechan
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x130]
movzx edx, byte [esp + 0x23]
mov ebx, eax
mov eax, dword [esp + 0x12c]
jmp 0x66a5ad
xor ebx, ebx
jmp 0x66a5ad
xor ebx, ebx
mov dword [esp + 0x8c], ebx
mov ebp, dword [eax + 8]
movzx ebp, byte [ebp + 0x88]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x66a5c8
xor ebp, ebp
jmp 0x66a631
mov eax, dword [ecx]
mov dword [esp], eax
call sym.net_http._Request_.wantsClose
movzx eax, byte [esp + 4]
test al, al
je 0x66a5f9
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x130]
movzx edx, byte [esp + 0x23]
mov ebx, dword [esp + 0x8c]
xor ebp, ebp
jmp 0x66a631
mov eax, dword [esp + 0x130]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x1c]
mov dword [esp], ecx
call sym.net_http.isProtocolSwitchHeader
movzx eax, byte [esp + 4]
xor eax, 1
mov ecx, dword [esp + 0x130]
movzx edx, byte [esp + 0x23]
mov ebx, dword [esp + 0x8c]
mov ebp, eax
mov eax, dword [esp + 0x12c]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x66a734
mov ebp, dword [ecx + 4]
nop
test ebp, ebp
jne 0x66a677
call sym.runtime.makemap_small
mov eax, dword [0x911a40]
mov ecx, dword [esp]
test eax, eax
jne 0x66a65e
mov eax, dword [esp + 0x130]
jmp 0x66a672
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [esp + 0x130]
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov dword [eax + 4], ecx
mov ecx, eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x60], eax
nop
nop
lea edx, [0x6e9bc9]
mov dword [esp], edx
mov dword [esp + 4], 0xa
call sym.net_textproto.CanonicalMIMEHeaderKey
mov eax, dword [esp + 8]
mov dword [esp + 0x120], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], ecx
lea edx, [0x6a2380]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x11c], eax
mov dword [eax + 4], 5
lea ecx, [0x6e8c9f]
mov dword [eax], ecx
lea ecx, [0x6d1860]
mov dword [esp], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x120]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xc], ecx
call sym.runtime.mapassign_faststr
mov eax, dword [esp + 0x10]
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov ecx, dword [0x911a40]
test ecx, ecx
jne 0x66a71f
mov ecx, dword [esp + 0x11c]
jmp 0x66a732
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x11c]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ecx
lea eax, [0x69f3c0]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.makechan
mov eax, dword [esp + 8]
mov dword [esp + 0x80], eax
lea ecx, [sym.net_http._persistConn_.roundTrip.deferwrap1]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], eax
lea ecx, [esp + 0xcc]
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x48]
mov dword [esp], ecx
call sym.runtime.deferprocStack
test eax, eax
jne 0x66a8ef
mov eax, dword [esp + 0x12c]
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 0x40]
mov dword [esp + 0x3c], edx
lea ebx, [0x69f840]
mov dword [esp], ebx
mov dword [esp + 4], 1
call sym.runtime.makechan
mov eax, dword [esp + 8]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x130]
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], eax
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x118], edx
mov ebx, dword [esp + 0x12c]
mov ebp, dword [ebx + 0x48]
mov dword [esp], ebp
lea ebp, [esp + 0x110]
mov dword [esp + 4], ebp
call sym.runtime.chansend1
lea eax, [0x69fbc0]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.makechan
mov eax, dword [esp + 8]
mov dword [esp + 0x74], eax
lea edi, [esp + 0xfc]
xor eax, eax
call fcn.00471f1b
mov ecx, dword [esp + 0x130]
mov dword [esp + 0xfc], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x100], edx
movzx ebx, byte [esp + 0x23]
mov byte [esp + 0x104], bl
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x108], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x10c], ebx
mov ebx, dword [esp + 0x12c]
mov ebp, dword [ebx + 0x44]
mov dword [esp], ebp
lea ebp, [esp + 0xfc]
mov dword [esp + 4], ebp
call sym.runtime.chansend1
lea eax, [sym.net_http._persistConn_.roundTrip.func1]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 0xbc], eax
mov ecx, dword [esp + 0x130]
mov dword [esp + 0xc0], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc4], edx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xc8], ebx
mov ebp, dword [ecx + 0xc]
mov esi, dword [ecx + 0x10]
mov ebp, dword [ebp + 0x10]
mov dword [esp], esi
call ebp
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x12c]
mov edx, dword [ecx + 0x4c]
mov dword [esp + 0x78], edx
xor ebx, ebx
jmp 0x66a8fb
call sym.runtime.deferreturn
add esp, 0x128
ret
mov dword [esp + 0x70], ebx
mov edx, dword [0x8e9cbc]
mov eax, dword [edx]
call eax
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
lea edi, [esp + 0x90]
xor eax, eax
call fcn.00471f16
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xb0], ecx
lea ebx, [esp + 0xf4]
mov dword [esp + 0xb4], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0xa8], ebx
mov ebp, dword [esp + 0x70]
mov dword [esp + 0xa0], ebp
mov esi, dword [esp + 0x74]
mov dword [esp + 0x98], esi
lea edi, [esp + 0xe8]
mov dword [esp + 0x9c], edi
mov edi, dword [esp + 0x88]
mov dword [esp + 0x90], edi
lea edi, [esp + 0x90]
mov dword [esp], edi
lea edi, [esp + 0x24]
mov dword [esp + 4], edi
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 5
mov byte [esp + 0x14], 1
call sym.runtime.selectgo
mov eax, dword [esp + 0x18]
test eax, eax
je 0x66aac5
cmp eax, 1
je 0x66adad
cmp eax, 2
je 0x66ad59
cmp eax, 3
je 0x66ac50
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0xf8]
test eax, eax
jne 0x66ab5e
mov eax, dword [esp + 0x12c]
mov ecx, dword [eax + 8]
mov ebx, dword [ecx + 0xa0]
mov ecx, dword [ecx + 0xa4]
test ecx, ecx
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg esi, ebx
setg bl
xchg esi, ebx
test ebx, ebx
xchg edi, ebx
seta bl
xchg edi, ebx
and ebp, edi
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
jne 0x66aa57
mov ebx, dword [esp + 0x70]
jmp 0x66a8fb
mov dword [esp], ebx
mov dword [esp + 4], ecx
call sym.time.NewTimer
mov eax, dword [esp + 8]
mov dword [esp + 0x6c], eax
lea ecx, [0x6b1280]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [sym.net_http._persistConn_.roundTrip.deferwrap2]
mov dword [eax], ecx
mov edx, dword [0x911a40]
test edx, edx
jne 0x66aa95
mov edx, dword [esp + 0x6c]
jmp 0x66aaa0
call sym.runtime.gcWriteBarrier1
mov edx, dword [esp + 0x6c]
mov dword [edi], edx
mov dword [eax + 4], edx
mov dword [esp], eax
call sym.runtime.deferproc
test eax, eax
jne 0x66ab52
mov eax, dword [esp + 0x6c]
mov ebx, dword [eax]
mov eax, dword [esp + 0x12c]
jmp 0x66a8fb
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
lea eax, [esp + 0xd4]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call sym.runtime.selectnbrecv
movzx eax, byte [esp + 8]
test al, al
jne 0x66ae0a
mov eax, dword [esp + 0x130]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], edx
call sym.context.Cause
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x12c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.net_http._persistConn_.cancelRequest
mov eax, dword [esp + 0x12c]
mov ebx, dword [esp + 0x70]
jmp 0x66a8fb
call sym.runtime.deferreturn
add esp, 0x128
ret
mov dword [esp + 0x40], eax
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
je 0x66ab7f
mov edx, dword [eax + 4]
jmp 0x66ab81
mov edx, eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0xe0], edx
mov dword [esp + 0xe4], ecx
lea eax, [0x6eb883]
mov dword [esp], eax
mov dword [esp + 4], 0xf
lea eax, [esp + 0xe0]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x12c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.net_http._persistConn_.close
mov eax, dword [esp + 0x12c]
mov dword [esp], eax
mov eax, dword [esp + 0x130]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x14], eax
call sym.net_http._persistConn_.mapRoundTripError
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], ecx
call sym.runtime.deferreturn
add esp, 0x128
ret
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
lea eax, [esp + 0xd4]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call sym.runtime.selectnbrecv
movzx eax, byte [esp + 8]
test al, al
je 0x66acee
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0xd8]
mov ebx, dword [esp + 0xdc]
mov ebp, dword [esp + 0xb8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
lea edx, [esp + 0xb8]
call ebp
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
mov dword [esp + 0x13c], ebx
call sym.runtime.deferreturn
add esp, 0x128
ret
mov eax, dword [esp + 0x12c]
mov ecx, dword [eax + 0x88]
mov edx, dword [eax + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0x130]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call sym.net_http._persistConn_.mapRoundTripError
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], ecx
call sym.runtime.deferreturn
add esp, 0x128
ret
mov eax, dword [0x8ea098]
mov ecx, dword [0x8ea09c]
mov edx, dword [esp + 0x12c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.net_http._persistConn_.close
mov eax, dword [0x8ea098]
mov ecx, dword [0x8ea09c]
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], ecx
call sym.runtime.deferreturn
add esp, 0x128
ret
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
mov ebx, dword [esp + 0xf0]
mov ebp, dword [esp + 0xb8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
lea edx, [esp + 0xb8]
call ebp
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
mov dword [esp + 0x13c], ebx
call sym.runtime.deferreturn
add esp, 0x128
ret
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0xd8]
mov ebx, dword [esp + 0xdc]
mov ebp, dword [esp + 0xb8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
lea edx, [esp + 0xb8]
call ebp
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
mov dword [esp + 0x13c], ebx
call sym.runtime.deferreturn
add esp, 0x128
ret
call sym.runtime.morestack_noctxt
jmp sym.net_http._persistConn_.roundTrip