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

Disassembly:
mov ecx, dword [0x92707c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xa8]
cmp eax, dword [ecx + 8]
jbe 0x67a437
sub esp, 0x128
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
mov edx, dword [0x8fba58]
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 0x679933
mov eax, dword [esp + 0x130]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x679929
call sym.runtime.makemap_small
mov eax, dword [0x927358]
mov ecx, dword [esp]
test eax, eax
jne 0x67990e
mov eax, dword [esp + 0x130]
jmp 0x679922
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 0x67994c
xor ecx, ecx
jmp 0x6799bd
mov eax, dword [esp + 0x130]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x1c]
mov dword [esp], ecx
lea ecx, [0x6f7616]
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 0x679985
mov eax, dword [esp + 0x12c]
xor ecx, ecx
jmp 0x6799bd
mov eax, dword [esp + 0x130]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x1c]
mov dword [esp], ecx
lea ecx, [0x6f467c]
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 0x679af3
mov ecx, dword [esp + 0x130]
mov edx, dword [ecx]
cmp dword [edx + 4], 4
jne 0x6799e2
mov edx, dword [edx]
cmp dword [edx], 0x44414548
je 0x679aef
mov edx, dword [ecx + 4]
nop
test edx, edx
jne 0x679a1e
call sym.runtime.makemap_small
mov eax, dword [0x927358]
mov ecx, dword [esp]
test eax, eax
jne 0x679a05
mov eax, dword [esp + 0x130]
jmp 0x679a19
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, [0x6f7616]
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, [0x6ae620]
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, [0x6f44bd]
mov dword [eax], ecx
lea ecx, [0x6dd680]
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 [0x927358]
test ecx, ecx
jne 0x679ac5
mov ecx, dword [esp + 0x11c]
jmp 0x679ad8
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 0x679afc
xor edx, edx
jmp 0x679afc
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 0x679b13
jne 0x679b7b
mov ebp, dword [ebx + 0x18]
test ebp, ebp
jle 0x679b77
mov ebp, dword [ebx + 0x20]
test ebp, ebp
jne 0x679b1e
xor ebx, ebx
jmp 0x679b7d
mov dword [esp], ebx
call sym.net_http._Request_.expectsContinue
movzx eax, byte [esp + 4]
test al, al
jne 0x679b46
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x130]
movzx edx, byte [esp + 0x23]
xor ebx, ebx
jmp 0x679b7d
lea eax, [0x6ab4a0]
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 0x679b7d
xor ebx, ebx
jmp 0x679b7d
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 0x679b98
xor ebp, ebp
jmp 0x679c01
mov eax, dword [ecx]
mov dword [esp], eax
call sym.net_http._Request_.wantsClose
movzx eax, byte [esp + 4]
test al, al
je 0x679bc9
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x130]
movzx edx, byte [esp + 0x23]
mov ebx, dword [esp + 0x8c]
xor ebp, ebp
jmp 0x679c01
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 0x679d04
mov ebp, dword [ecx + 4]
nop
test ebp, ebp
jne 0x679c47
call sym.runtime.makemap_small
mov eax, dword [0x927358]
mov ecx, dword [esp]
test eax, eax
jne 0x679c2e
mov eax, dword [esp + 0x130]
jmp 0x679c42
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, [0x6f565d]
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, [0x6ae620]
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, [0x6f468b]
mov dword [eax], ecx
lea ecx, [0x6dd680]
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 [0x927358]
test ecx, ecx
jne 0x679cef
mov ecx, dword [esp + 0x11c]
jmp 0x679d02
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, [0x6ab4a0]
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 0x679ebf
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, [0x6ab620]
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, [0x6ab960]
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.00471fab
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 0x679ecb
call sym.runtime.deferreturn
add esp, 0x128
ret
mov dword [esp + 0x70], ebx
mov edx, dword [0x8fba5c]
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.00471fa6
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 0x67a095
cmp eax, 1
je 0x67a37d
cmp eax, 2
je 0x67a329
cmp eax, 3
je 0x67a220
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0xf8]
test eax, eax
jne 0x67a12e
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 0x67a027
mov ebx, dword [esp + 0x70]
jmp 0x679ecb
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, [0x6bd1a0]
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 [0x927358]
test edx, edx
jne 0x67a065
mov edx, dword [esp + 0x6c]
jmp 0x67a070
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 0x67a122
mov eax, dword [esp + 0x6c]
mov ebx, dword [eax]
mov eax, dword [esp + 0x12c]
jmp 0x679ecb
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 0x67a3da
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 0x679ecb
call sym.runtime.deferreturn
add esp, 0x128
ret
mov dword [esp + 0x40], eax
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
je 0x67a14f
mov edx, dword [eax + 4]
jmp 0x67a151
mov edx, eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0xe0], edx
mov dword [esp + 0xe4], ecx
lea eax, [0x6f76ac]
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 0x67a2be
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 [0x8fbfd8]
mov ecx, dword [0x8fbfdc]
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 [0x8fbfd8]
mov ecx, dword [0x8fbfdc]
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