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

Disassembly:
mov ecx, dword [0x8ef630]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xa8]
cmp eax, dword [ecx + 8]
jbe 0x665817
sub esp, 0x128
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
mov edx, dword [0x8c8058]
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 0x664d13
mov eax, dword [esp + 0x130]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x664d09
call sym.runtime.makemap_small
mov eax, dword [0x8ef900]
mov ecx, dword [esp]
test eax, eax
jne 0x664cee
mov eax, dword [esp + 0x130]
jmp 0x664d02
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 0x664d2c
xor ecx, ecx
jmp 0x664d9d
mov eax, dword [esp + 0x130]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x1c]
mov dword [esp], ecx
lea ecx, [0x6d84a3]
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 0x664d65
mov eax, dword [esp + 0x12c]
xor ecx, ecx
jmp 0x664d9d
mov eax, dword [esp + 0x130]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x1c]
mov dword [esp], ecx
lea ecx, [0x6d5986]
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 0x664ed3
mov ecx, dword [esp + 0x130]
mov edx, dword [ecx]
cmp dword [edx + 4], 4
jne 0x664dc2
mov edx, dword [edx]
cmp dword [edx], 0x44414548
je 0x664ecf
mov edx, dword [ecx + 4]
nop
test edx, edx
jne 0x664dfe
call sym.runtime.makemap_small
mov eax, dword [0x8ef900]
mov ecx, dword [esp]
test eax, eax
jne 0x664de5
mov eax, dword [esp + 0x130]
jmp 0x664df9
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, [0x6d84a3]
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, [0x6917e0]
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, [0x6d57d2]
mov dword [eax], ecx
lea ecx, [0x6beea0]
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 [0x8ef900]
test ecx, ecx
jne 0x664ea5
mov ecx, dword [esp + 0x11c]
jmp 0x664eb8
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 0x664edc
xor edx, edx
jmp 0x664edc
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 0x664ef3
jne 0x664f5b
mov ebp, dword [ebx + 0x18]
test ebp, ebp
jle 0x664f57
mov ebp, dword [ebx + 0x20]
test ebp, ebp
jne 0x664efe
xor ebx, ebx
jmp 0x664f5d
mov dword [esp], ebx
call sym.net_http._Request_.expectsContinue
movzx eax, byte [esp + 4]
test al, al
jne 0x664f26
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x130]
movzx edx, byte [esp + 0x23]
xor ebx, ebx
jmp 0x664f5d
lea eax, [0x68e900]
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 0x664f5d
xor ebx, ebx
jmp 0x664f5d
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 0x664f78
xor ebp, ebp
jmp 0x664fe1
mov eax, dword [ecx]
mov dword [esp], eax
call sym.net_http._Request_.wantsClose
movzx eax, byte [esp + 4]
test al, al
je 0x664fa9
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x130]
movzx edx, byte [esp + 0x23]
mov ebx, dword [esp + 0x8c]
xor ebp, ebp
jmp 0x664fe1
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 0x6650e4
mov ebp, dword [ecx + 4]
nop
test ebp, ebp
jne 0x665027
call sym.runtime.makemap_small
mov eax, dword [0x8ef900]
mov ecx, dword [esp]
test eax, eax
jne 0x66500e
mov eax, dword [esp + 0x130]
jmp 0x665022
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, [0x6d68cb]
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, [0x6917e0]
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, [0x6d5995]
mov dword [eax], ecx
lea ecx, [0x6beea0]
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 [0x8ef900]
test ecx, ecx
jne 0x6650cf
mov ecx, dword [esp + 0x11c]
jmp 0x6650e2
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, [0x68e900]
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 0x66529f
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, [0x68eb80]
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, [0x68eec0]
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.00471cfb
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 0x6652ab
call sym.runtime.deferreturn
add esp, 0x128
ret
mov dword [esp + 0x70], ebx
mov edx, dword [0x8c805c]
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.00471cf6
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 0x665475
cmp eax, 1
je 0x66575d
cmp eax, 2
je 0x665709
cmp eax, 3
je 0x665600
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0xf8]
test eax, eax
jne 0x66550e
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 0x665407
mov ebx, dword [esp + 0x70]
jmp 0x6652ab
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, [0x69fa00]
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 [0x8ef900]
test edx, edx
jne 0x665445
mov edx, dword [esp + 0x6c]
jmp 0x665450
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 0x665502
mov eax, dword [esp + 0x6c]
mov ebx, dword [eax]
mov eax, dword [esp + 0x12c]
jmp 0x6652ab
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 0x6657ba
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 0x6652ab
call sym.runtime.deferreturn
add esp, 0x128
ret
mov dword [esp + 0x40], eax
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
je 0x66552f
mov edx, dword [eax + 4]
jmp 0x665531
mov edx, eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0xe0], edx
mov dword [esp + 0xe4], ecx
lea eax, [0x6d8539]
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 0x66569e
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 [0x8c8490]
mov ecx, dword [0x8c8494]
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 [0x8c8490]
mov ecx, dword [0x8c8494]
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